maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   [ANNOUNCE] QSpot, a Qt-based Spotify client based on libspotify (https://talk.maemo.org/showthread.php?t=55589)

solbrit 2011-11-25 18:24

Re: [ANNOUNCE] QSpot, a Qt-based Spotify client based on libspotify
 
Strange...

Since I updated to version 1.0.0-2 yesterday QSpot will login ok but then apparently get stuck trying to load the playlists, so I get nowhere... What to do?

Btw, I have the same problem as Theseb, but in my case perseverence is the key. It usually takes several attempts for the app to launch ok. Sometimes just a couple, sometimes up to fifteen-twenty. And always launching from terminal. App icon never works.

ukki 2011-11-25 22:29

Re: [ANNOUNCE] QSpot, a Qt-based Spotify client based on libspotify
 
Quote:

Originally Posted by aenbacka (Post 1127526)
Has someone else experienced the Failed to initiate session error with the latest version?

Yes, started happening all of a sudden and won't start anymore.

(no debugging symbols found)
FATAL ERROR: Could not initiate session. Error reason: "Unable to open trace file"

Program received signal SIGSEGV, Segmentation fault.
0x402da988 in sp_session_set_connection_type () from /opt/qspot/lib/libspotify.so.10
0x402da988 <sp_session_set_connection_type+4024>: ldrb r0, [r9, #558]

aenbacka 2011-11-26 08:45

Re: [ANNOUNCE] QSpot, a Qt-based Spotify client based on libspotify
 
Quote:

Originally Posted by solbrit (Post 1128965)
Strange...

Since I updated to version 1.0.0-2 yesterday QSpot will login ok but then apparently get stuck trying to load the playlists, so I get nowhere... What to do?

Btw, I have the same problem as Theseb, but in my case perseverence is the key. It usually takes several attempts for the app to launch ok. Sometimes just a couple, sometimes up to fifteen-twenty. And always launching from terminal. App icon never works.

Indeed strange. What is the xterm output when it fails. Have you tried clearing the cache directory? In case you use auto-login you could also try to logout and then login manually again.

aenbacka 2011-11-26 08:48

Re: [ANNOUNCE] QSpot, a Qt-based Spotify client based on libspotify
 
Quote:

Originally Posted by ukki (Post 1129024)
Yes, started happening all of a sudden and won't start anymore.

(no debugging symbols found)
FATAL ERROR: Could not initiate session. Error reason: "Unable to open trace file"

Program received signal SIGSEGV, Segmentation fault.
0x402da988 in sp_session_set_connection_type () from /opt/qspot/lib/libspotify.so.10
0x402da988 <sp_session_set_connection_type+4024>: ldrb r0, [r9, #558]

Have you cleared the qspot cache dir? Is the /home/user/MyDocs/.qspot directory being created?

ukki 2011-11-26 08:53

Re: [ANNOUNCE] QSpot, a Qt-based Spotify client based on libspotify
 
Quote:

Originally Posted by aenbacka (Post 1129125)
Have you cleared the qspot cache dir? Is the /home/user/MyDocs/.qspot directory being created?

Deleted /home/user/MyDocs/.qspot, but still doesn't start and directory isn't created again.

aenbacka 2011-11-26 11:58

Re: [ANNOUNCE] QSpot, a Qt-based Spotify client based on libspotify
 
Quote:

Originally Posted by ukki (Post 1129126)
Deleted /home/user/MyDocs/.qspot, but still doesn't start and directory isn't created again.

Thanks for the info, I will look into it.

solbrit 2011-11-26 20:28

Re: [ANNOUNCE] QSpot, a Qt-based Spotify client based on libspotify
 
Quote:

Originally Posted by aenbacka (Post 1129124)
Indeed strange. What is the xterm output when it fails. Have you tried clearing the cache directory? In case you use auto-login you could also try to logout and then login manually again.

Tried clearing cache and logout/login but no luck... Terminal says:

> set_stream 'QSpot'
Connection state: 0
MESSAGE (log): "20:22:18.436 I [ap:1766] Connecting to AP ap.spotify.com:4070"
Registering container callbacks..
Container callbacks registered..
Connection state: 4
MESSAGE (log): "20:22:18.636 I [offline-mgr:2143] Storage has been cleaned"
MESSAGE (log): "20:22:18.670 I [ap:1224] Connected to AP: 78.31.8.51:4070"
Connection state: 1

aenbacka 2011-11-26 20:49

Re: [ANNOUNCE] QSpot, a Qt-based Spotify client based on libspotify
 
Quote:

Originally Posted by solbrit (Post 1129343)
Tried clearing cache and logout/login but no luck... Terminal says:

> set_stream 'QSpot'
Connection state: 0
MESSAGE (log): "20:22:18.436 I [ap:1766] Connecting to AP ap.spotify.com:4070"
Registering container callbacks..
Container callbacks registered..
Connection state: 4
MESSAGE (log): "20:22:18.636 I [offline-mgr:2143] Storage has been cleaned"
MESSAGE (log): "20:22:18.670 I [ap:1224] Connected to AP: 78.31.8.51:4070"
Connection state: 1

Seems that you are logged in ok at least. Do you start QSpot with an active internet connection or in offline mode? Do you have many playlists?

solbrit 2011-11-26 23:33

Re: [ANNOUNCE] QSpot, a Qt-based Spotify client based on libspotify
 
Quote:

Originally Posted by aenbacka (Post 1129346)
Seems that you are logged in ok at least. Do you start QSpot with an active internet connection or in offline mode? Do you have many playlists?

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.

rgodinez 2011-11-27 08:06

Re: [ANNOUNCE] QSpot, a Qt-based Spotify client based on libspotify
 
1 Attachment(s)
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.


All times are GMT. The time now is 06:43.

vBulletin® Version 3.8.8