Notices


Reply
Thread Tools
Posts: 564 | Thanked: 693 times | Joined on Apr 2010
#881
Originally Posted by rgodinez View Post
I've found the same problem as ukki.

$ /opt/qspot/bin/qspot
> set_stream 'QSpot'
FATAL ERROR: Could not initiate session. Error reason: "Unable to open trace file"
Segmentation fault
~ $

I've deleted (moved away) /home/.config/qspot/qspot.conf and the result is the same, and file is not re-created.

So I've created an strace output file for you to be able to debug better this behaviour.

~ $ strace -o MyDocs/qspot.strace /opt/qspot/bin/qspot

(attached, gzip compressed, qspot.strace.gz)

Thanks for this great app I use almost every day!
Rafa.
Thanks a lot for the trace will, I will check whether it helps to locate the problem. Did you also try to move away /home/user/MyDocs/.qspot directory, as it is used by the application for cache and library settings?
 
Posts: 564 | Thanked: 693 times | Joined on Apr 2010
#882
Originally Posted by solbrit View Post
I have about 20 playlists, but they used to load just fine in a second or two... And yes, I start with an active internet connection.
Do you also have some content (subdirectories) in the application cache directory /home/user/MyDocs/.qspot? The playlists should load quite quickly, as they are always by default loaded from cache.
 
Posts: 564 | Thanked: 693 times | Joined on Apr 2010
#883
A minor update is available from extras-devel (1.0.0-3), which contains some changes to session init (cache / settings directory created manually in case not exist, prior to session initialisation). Also, some logging has been added in case session init fails.

It could be good to first remove the old cache directory /home/user/MyDocs/.qspot and then try with the updated version.
 

The Following 2 Users Say Thank You to aenbacka For This Useful Post:
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#884
Originally Posted by aenbacka View Post
A minor update is available from extras-devel (1.0.0-3), which contains some changes to session init (cache / settings directory created manually in case not exist, prior to session initialisation). Also, some logging has been added in case session init fails.

It could be good to first remove the old cache directory /home/user/MyDocs/.qspot and then try with the updated version.
Now it creates the dir (stays empty), but still segfaults.

$ /opt/qspot/bin/qspot
Unsupported date format character at 1 (%-d.%-m.)
> set_stream 'QSpot'
Error code: 26
FATAL ERROR: Could not initiate session. Error reason: "Unable to open trace file"
Segmentation fault
 
Posts: 564 | Thanked: 693 times | Joined on Apr 2010
#885
Originally Posted by ukki View Post
Now it creates the dir (stays empty), but still segfaults.

$ /opt/qspot/bin/qspot
Unsupported date format character at 1 (%-d.%-m.)
> set_stream 'QSpot'
Error code: 26
FATAL ERROR: Could not initiate session. Error reason: "Unable to open trace file"
Segmentation fault
Error code 26 is corresponding to "unable to open trace file". This is a library related error code, seems to be e.g., permission related. Do you have lot of free space on the EMMC (MyDocs)?
 
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#886
Originally Posted by aenbacka View Post
Error code 26 is corresponding to "unable to open trace file". This is a library related error code, seems to be e.g., permission related. Do you have lot of free space on the EMMC (MyDocs)?
Yes, around 20G free.
 
Posts: 564 | Thanked: 693 times | Joined on Apr 2010
#887
Originally Posted by ukki View Post
Yes, around 20G free.
Ok. I have just pushed another update (1.0.0-4) to extras-devel, which disables logging for the library (as the trace file error seems to be related to this). Hopefully it will have some impact.
 

The Following User Says Thank You to aenbacka For This Useful Post:
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#888
Nope, still the same error
 
Posts: 564 | Thanked: 693 times | Joined on Apr 2010
#889
Originally Posted by ukki View Post
Nope, still the same error
Well the tracefile was still being created. A new version should now be available from extras-devel (1.0.0-5), this time the library tracefile creation should be explicitly disabled.
 

The Following 3 Users Say Thank You to aenbacka For This Useful Post:
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#890
Originally Posted by aenbacka View Post
Well the tracefile was still being created. A new version should now be available from extras-devel (1.0.0-5), this time the library tracefile creation should be explicitly disabled.
Now it starts and seems to work (segfaulted on exit once, but who cares). You sir are my new idol.
 

The Following 2 Users Say Thank You to ukki For This Useful Post:
Reply

Tags
premium account, spotify


 
Forum Jump


All times are GMT. The time now is 07:33.