Bug#374726: [Pkg-utopia-maintainers] Bug#374726: [python2.4-dbus] Missing dependency on dbus

2006-06-21 Thread Sjoerd Simons
On Tue, Jun 20, 2006 at 06:35:23PM -0400, Jason Spiro wrote:
 Package: python2.4-dbus
 Version: 0.61-6
 Severity: important
 
 I believe python2.4-dbus should depend on dbus. It currently only
 depends on libdbus-1-2, the client component, but not on dbus.
 python2.3-dbus, which seems to only be in sarge, is better in this
 regard; it depends on dbus (actually, the old package dbus-1).
 
 I found this out when I tried to install smart-notifier, which depends
 on python2.4-dbus. It did not pull in dbus. Instead, smart-notifier
 bombed on me when I tried to start it:

Actually it's on purpose that libdbus-1-2 doesn't depend on dbus, as you should
be able to use the library without the daemon (One just needs to handle the
error).. Unfortunately nobody actually does ;(

For the next upload i've let libdbus-1-2 recommend dbus, which should fix this
issue. And the people that really don't want dbus can still choose not to
install it (Although they have to fight a little with their package maintainer)

  Sjoerd
-- 
Great acts are made up of small deeds.
-- Lao Tsu


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#374726: [python2.4-dbus] Missing dependency on dbus

2006-06-20 Thread Jason Spiro

Package: python2.4-dbus
Version: 0.61-6
Severity: important

I believe python2.4-dbus should depend on dbus. It currently only
depends on libdbus-1-2, the client component, but not on dbus.
python2.3-dbus, which seems to only be in sarge, is better in this
regard; it depends on dbus (actually, the old package dbus-1).

I found this out when I tried to install smart-notifier, which depends
on python2.4-dbus. It did not pull in dbus. Instead, smart-notifier
bombed on me when I tried to start it:

[EMAIL PROTECTED]:~/r$ Traceback (most recent call last):
 File /usr/bin/smart-notifier, line 11, in ?
   import smart_notifier.gui
 File /usr/share/smart-notifier/smart_notifier/__init__.py, line 28, in ?
   BUS = dbus.SystemBus()
 File /usr/lib/python2.4/site-packages/dbus/_dbus.py, line 260, in __new__
   return Bus.__new__(cls, Bus.TYPE_SYSTEM, use_default_mainloop, private)
 File /usr/lib/python2.4/site-packages/dbus/_dbus.py, line 99, in __new__
   bus._connection = dbus_bindings.bus_get(bus_type, private)
 File dbus_bindings.pyx, line 1695, in dbus_bindings.bus_get
dbus_bindings.DBusException: Failed to connect to socket
/var/run/dbus/system_bus_socket: No such file or directory
[1]+  Exit 1  smart-notifier

I am on etch, but I checked and the issue seems to affect sid as well.
My last dist-upgrade was about a month ago. Apart from this minor
niggle, thank you for all the work you put into Debian.

Kind regards,
Jason


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]