Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165081 - media-sound/listen broken w/ dev-python/dbus-python-0.80.1
Summary: media-sound/listen broken w/ dev-python/dbus-python-0.80.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: José Alberto Suárez López (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 169932
Blocks:
  Show dependency tree
 
Reported: 2007-02-03 01:03 UTC by William Keaney
Modified: 2007-04-07 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
listen 0.5 ebuild (listen-0.5.ebuild,3.15 KB, text/plain)
2007-03-06 15:52 UTC, Jimmy.Jazz
Details
to make it work with dbus-python 0.80.x (listen-fix-dbus.diff,1017 bytes, patch)
2007-03-06 15:53 UTC, Jimmy.Jazz
Details | Diff
doesn't force the use of python 2.4 (listen.py.patch,187 bytes, text/plain)
2007-03-06 15:56 UTC, Jimmy.Jazz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description William Keaney 2007-02-03 01:03:38 UTC
I have only noticed trouble with media-sound/listen WRT this issue, but it may affect other packages.
With dbus-python-0.80.1 installed, listen fails with:
----
Traceback (most recent call last):
  File "/usr/lib/listen/listen.py", line 209, in ?
    ListenApp()
  File "/usr/lib/listen/listen.py", line 137, in __init__
    self.listen_instance = Listen()
  File "/usr/lib/listen/widget/listen.py", line 120, in __init__
    self.dbus_service = ListenDBus(self,player)
  File "/usr/lib/listen/dbus_manager.py", line 55, in __init__
    dbus.service.Object.__init__(self, bus_name, object_path)
  File "//usr/lib/python2.4/site-packages/dbus/service.py", line 418, in __init__
    self._connection._register_object_path(object_path, self._message_cb, self._unregister_cb)
RuntimeError: To make asynchronous calls, receive signals or export objects, D-Bus connections must be attached to a main loop by passing mainloop=... to the constructor or calling dbus.set_default_main_loop(...)
----
Other users have had this same error: http://forums.gentoo.org/viewtopic-p-3882775.html
listen runs fine after downgrading to dbus-python-0.71.

Reproducible: Always

Steps to Reproduce:
1.emerge dev-python/dbus-python-0.80.1
2.run 'listen'
3.

Actual Results:  
'listen' fails to start, returning the error noted above.

Expected Results:  
'listen' should be able to start and connect to the dbus daemon.
Comment 1 merwan kashouty 2007-02-13 16:00:51 UTC
same result here... downgrading to dev-python/dbus-python-0.71 fixes this here
Comment 2 Jimmy.Jazz 2007-03-06 15:50:58 UTC
Hi,

listen 0.5 is out! 

please, see attachment above.

Jj
Comment 3 Jimmy.Jazz 2007-03-06 15:52:03 UTC
Created attachment 112288 [details]
listen 0.5 ebuild
Comment 4 Jimmy.Jazz 2007-03-06 15:53:17 UTC
Created attachment 112290 [details, diff]
to make it work with dbus-python 0.80.x
Comment 5 Jimmy.Jazz 2007-03-06 15:56:05 UTC
Created attachment 112294 [details]
doesn't force the use of python 2.4
Comment 6 Jimmy.Jazz 2007-03-06 15:58:47 UTC
Last but not least ... it works well with python 2.5 ;)

enjoy!

Jj
Comment 7 Jimmy.Jazz 2007-03-06 16:00:26 UTC
(In reply to comment #6)
> Last but not least ... it works well with python 2.5 ;)
> 
> enjoy!
> 
> Jj
> 

I just changed slightly the patch added by sjh
http://www.listen-project.org/ticket/566
Comment 8 William Keaney 2007-03-08 19:11:01 UTC
(In reply to comment #7)
Checking it out....  BTW, is there any particular reason the libsexy and musicbrainz USE flags are removed in this version?

Comment 9 William Keaney 2007-03-08 19:28:21 UTC
This 0.5 ebuild builds fine against dbus-python-0.80.1-r1 here.  Still some silly bugs (like the 'Close' button on the About dialog doesn't work).  But I think it should be OK.
Comment 10 José Alberto Suárez López (RETIRED) gentoo-dev 2007-04-01 18:43:48 UTC
working on it.

Sorry for the  long wait, my workstation is not working well.
Comment 11 José Alberto Suárez López (RETIRED) gentoo-dev 2007-04-01 20:37:11 UTC
this patchs works for the actual 0.5 src? the ebuild posted here is using a wrong url, must be:

SRC_URI="http://download.listen-project.org/${PV}/${P}.tar.bz2"

you must remove the line:

S="${WORKDIR}/${PN}-0.5b1"
Comment 12 José Alberto Suárez López (RETIRED) gentoo-dev 2007-04-07 19:42:39 UTC
0.5 is on portage now, try it. 
If it faills reopen this bug