New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection problem with python 2.7 #66

Closed
ramla opened this Issue Feb 28, 2011 · 3 comments

Comments

2 participants
@ramla

ramla commented Feb 28, 2011

Mopidy starts up without errors with python 2.7

[ramla@alive ~]$ mopidy
INFO     -- Starting Mopidy 0.4.0 --
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
INFO     Mopidy uses SPOTIFY(R) CORE
INFO     Disabled: mopidy.frontends.lastfm.LastfmFrontend (No module named pylast)
INFO     MPD server running at [::]:6600
INFO     MPD client connection from [::1]:57049
INFO     Connected to Spotify

However no mpd client seems to be able to communicate with it. Ncmpcpp's UI stops updating and sonata shows no signs of a working connection even though mopidy informs about a client connection.

A telnet connection can be made and mopidy answers OK if no mpd client is running or has been started after starting mopidy.

Pasting from IRC:

1122   jodal >> as far as I've debugged it so far, it seems to be a 
                problem with the inter-thread communication on python 2.7
1123   jodal >> so the telnet connection works, but request processing 
                blocks forever when som inter-thread communication 
                channel never returns the expected response
1124   jodal >> I'm trying to replace the entire thread/communication 
                stuff with something else that will allow for easier 
                frontend development too
@jodal

This comment has been minimized.

Member

jodal commented Mar 9, 2011

Just wanted to add that some 10-15 tests are not passing on Python 2.7. Fixing them will hopefully fix this issue.

@jodal

This comment has been minimized.

Member

jodal commented Mar 25, 2011

The feature/pykka-actors branch in my repo will fix this when merged into develop some time before the next release.

@jodal

This comment has been minimized.

Member

jodal commented Apr 3, 2011

The feature/pykka-actors branch has now been merged into develop.

@ghost ghost assigned jodal Apr 10, 2011

@jodal jodal closed this Apr 11, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment