gcommit crashes: ERROR: dbus.exceptions.DBusException

Bug #199513 reported by Remco Blumink
2
Affects Status Importance Assigned to Milestone
Bazaar GTK+ Frontends
Fix Released
Low
Szilveszter Farkas
bzr-dbus
Invalid
Undecided
Unassigned

Bug Description

Here's the full notice i get when running " bzr gcommit"
Same error on olive (it only shows: "ERROR: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files", without the traceback

My Ubuntu Gutsy has NO NetworkManager installed, I use Wicd instead. Would be stupid if bzr-gtk depends on it, though. Using bzr-gtk 0.93.0

"Ordinary (non-gtk) commits work fine"

bzr: ERROR: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 834, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 790, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 492, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/gtk/__init__.py", line 367, in run
    dlg = CommitDialog(wt)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/gtk/commit.py", line 119, in __init__
    self.fill_in_data()
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/gtk/commit.py", line 134, in fill_in_data
    self._fill_in_checkout()
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/gtk/commit.py", line 231, in _fill_in_checkout
    '/org/freedesktop/NetworkManager')
  File "/var/lib/python-support/python2.5/dbus/bus.py", line 240, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/var/lib/python-support/python2.5/dbus/proxies.py", line 236, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/var/lib/python-support/python2.5/dbus/bus.py", line 179, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/var/lib/python-support/python2.5/dbus/bus.py", line 277, in start_service_by_name
    'su', (bus_name, flags)))
  File "/var/lib/python-support/python2.5/dbus/connection.py", line 603, in call_blocking
    message, timeout)
DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files

bzr 1.2.0 on python 2.5.1.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'gcommit']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
  gtk /usr/lib/python2.5/site-packages/bzrlib/plugins/gtk [0.93.0]
  launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
  svn /home/remco/.bazaar/plugins/svn [0.4.8dev0]

description: updated
Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 199513] [NEW] gcommit crashes: ERROR: dbus.exceptions.DBusException

Am Freitag, den 07.03.2008, 16:31 +0000 schrieb Remco Blumink:
> Public bug reported:
>
> Here's the full notice i get when running " bzr gcommit"
> Same error on olive (it only shows: "ERROR: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.NetworkManager was not provided by any .service files", without the traceback
>
> My Ubuntu Gutsy has NO NetworkManager installed, I use Wicd instead.
> Would be stupid if bzr-gtk depends on it, though. Using bzr-gtk 0.93.0
It doesn't depend on network-manager or dbus but will use it to determine the default value of the "Commit Locally" checkbox if they're both there.

> "Ordinary (non-gtk) commits work fine"
This bug has already been fixed in bzr-gtk's trunk.

  status fixcommitted

Cheers,

Jelmer
--
Jelmer Vernooij <email address hidden> - http://samba.org/~jelmer/
Jabber: <email address hidden>

Changed in bzr-dbus:
status: New → Fix Committed
Revision history for this message
Szilveszter Farkas (phanatic) wrote :

Fix committed to trunk (revision 445).

Changed in bzr-gtk:
assignee: nobody → phanatic
importance: Undecided → Low
milestone: none → 0.94.0
status: New → Fix Committed
Revision history for this message
Szilveszter Farkas (phanatic) wrote :

I just don't feel like tracking this bug separately for Olive :)

Changed in olive:
status: New → Incomplete
status: Incomplete → Invalid
Revision history for this message
Remco Blumink (remcoblumink) wrote :

eum... dunno if this is fixed:
Perhaps I'm missing some libraries? (yep, I'm a novice in posting bugs..)

Now doing bzr gcommit on bzr-gtk trunk revno445

bzr: ERROR: exceptions.NameError: global name 'DBusException' is not defined

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 834, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 790, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 492, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/home/remco/.bazaar/plugins/gtk/__init__.py", line 359, in run
    dlg = CommitDialog(wt)
  File "/home/remco/.bazaar/plugins/gtk/commit.py", line 119, in __init__
    self.fill_in_data()
  File "/home/remco/.bazaar/plugins/gtk/commit.py", line 134, in fill_in_data
    self._fill_in_checkout()
  File "/home/remco/.bazaar/plugins/gtk/commit.py", line 233, in _fill_in_checkout
    except DBusException:
NameError: global name 'DBusException' is not defined

bzr 1.2.0 on python 2.5.1.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'gcommit']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
  gtk /home/remco/.bazaar/plugins/gtk [0.94.0dev0]
  launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
  svn /home/remco/.bazaar/plugins/svn [0.4.8dev0]
*** Bazaar has encountered an internal error.

Revision history for this message
Szilveszter Farkas (phanatic) wrote :

Sorry, it should be really fixed now (revision 446). Could you check, please?

Revision history for this message
Remco Blumink (remcoblumink) wrote :

I think it is fixed, but I am not sure.

Now the commit window shows, but after entering a commit message and pressing the commit button it shows a dialog box with:

an unknown error:
unsupported operand type(s) for /: 'float' and 'NoneType'

The terminal shows no errors, but (great!) the things which are changed etc.
Committing to: sftp://<email address hidden>/path/to/branch/
modified <modified file>

It seems similar as #187037 as i am committing to a sftp location, but not sure.
Local commit works flawless.

Revision history for this message
James Henstridge (jamesh) wrote :

This doesn't appear to be related to bzr-dbus at all.

Changed in bzr-dbus:
status: Fix Committed → Invalid
Jelmer Vernooij (jelmer)
Changed in bzr-gtk:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.