open_display not correctly imported

Bug #733841 reported by Fabio Zanini
202
This bug affects 29 people
Affects Status Importance Assigned to Milestone
Bazaar GTK+ Frontends
Fix Released
Critical
Unassigned
bzr-gtk (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When I run bzr-notify, I get an error:

Traceback (most recent call last):
  File "/usr/bin/bzr-notify", line 12, in <module>
    from bzrlib.plugins.gtk import open_display, icon_path
ImportError: cannot import name open_display

I checked the file bzr-notify, and it seems that the function open_display is in commands.py. I guess that the import should look like the following:

from bzrlib.plugins.gtk.commands import open_display
from bzrlib.plugins.gtk import icon_path

The same happens in bzr-handle-patch.

Revision history for this message
Fabio Zanini (iosonofabio) wrote :
Revision history for this message
Fabio Zanini (iosonofabio) wrote :
Changed in bzr-gtk (Ubuntu):
status: New → Confirmed
tags: added: patch
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

The bzr-notify bug was already fixed upstream, applying the bzr-handle-patch one now.

Changed in bzr-gtk:
status: New → Fix Committed
importance: Undecided → High
importance: High → Critical
tags: added: bugpattern-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bzr-gtk - 0.100.0-2ubuntu2

---------------
bzr-gtk (0.100.0-2ubuntu2) natty; urgency=low

  * Backport fix for LP: #733841, open_display not
    correctly imported. Thanks to Fabio Zanini.
 -- Andrew Starr-Bochicchio <email address hidden> Mon, 04 Apr 2011 21:46:47 -0400

Changed in bzr-gtk (Ubuntu):
status: Confirmed → Fix Released
Jelmer Vernooij (jelmer)
Changed in bzr-gtk:
milestone: none → 0.103.0
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.