Bug 243558 - Demoncracy crash on Startup
Summary: Demoncracy crash on Startup
Keywords:
Status: CLOSED DUPLICATE of bug 241981
Alias: None
Product: Fedora
Classification: Fedora
Component: Democracy
Version: 7
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Thorsten Scherf
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-06-09 18:27 UTC by Daryll
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-06-09 20:38:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Daryll 2007-06-09 18:27:03 UTC
It looks like there's some version mismatch between Democracy and Dbus-python.

When I start democracy player (Democracy-0.9.5.1-8.fc7) I get:

/usr/bin/democracyplayer:81: DeprecationWarning: The dbus_bindings module is
deprecated and will go away soon.

dbus-python 0.80 provides only a partial emulation of the old
dbus_bindings, which was never meant to be public API.

Most uses of dbus_bindings are applications catching the exception
dbus.dbus_bindings.DBusException. You should use dbus.DBusException
instead (this is compatible with all dbus-python versions since 0.40.2).

If you need additional public API, please contact the maintainers via
<dbus.org>.

  import dbus_bindings
/usr/lib/python2.5/site-packages/dbus_bindings.py:5: DeprecationWarning: The
dbus_bindings module is deprecated and will go away soon.

dbus-python 0.80 provides only a partial emulation of the old
dbus_bindings, which was never meant to be public API.

Most uses of dbus_bindings are applications catching the exception
dbus.dbus_bindings.DBusException. You should use dbus.DBusException
instead (this is compatible with all dbus-python versions since 0.40.2).

If you need additional public API, please contact the maintainers via
<dbus.org>.

  from dbus.dbus_bindings import *
Traceback (most recent call last):
  File "/usr/bin/democracyplayer", line 89, in <module>
    onetime.OneTime()
  File "/usr/lib/python2.5/site-packages/democracy/onetime.py", line 105, in
__init__
    bus_name = BusNameFlags('org.participatoryculture.dtv.onetime', bus=bus,
flags=dbus.dbus_bindings.NAME_FLAG_DO_NOT_QUEUE)
  File "/usr/lib/python2.5/site-packages/democracy/onetime.py", line 53, in __new__
    retval = dbus.dbus_bindings.bus_request_name(bus.get_connection(), name,
flags=flags)
TypeError: request_name() takes no keyword arguments

I changed onetiem.py to make flags=flags just be flags, but then it runs in to
another error which was more difficult to trace.

dbus-python is dbus-python-0.80.2-3.fc7.

Comment 1 Thorsten Scherf 2007-06-09 20:38:30 UTC

*** This bug has been marked as a duplicate of 241981 ***


Note You need to log in before you can comment on or make changes to this bug.