'open_browser' is not defined

Bug #485193 reported by Max Bowsher
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QBzr
Fix Released
High
Alexander Belchenko

Bug Description

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

Traceback (most recent call last):
  File "/home/maxb/.bazaar/plugins/qbzr/lib/revisionmessagebrowser.py", line 336, in link_clicked
    open_browser(str(url.toEncoded()))
NameError: global name 'open_browser' is not defined

bzr 2.0.0 on python 2.6.4 (linux2)
arguments: ['/usr/bin/bzr', 'qlog', 'trunk/', 'hardy/']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_GB.UTF-8'
plugins:
...
  qbzr /home/maxb/.bazaar/plugins/qbzr [0.17.0dev]
...

Related branches

Revision history for this message
Alexander Belchenko (bialix) wrote :

Thanks for the report. The fix is very simple:

=== modified file 'lib/revisionmessagebrowser.py'
--- lib/revisionmessagebrowser.py 2009-11-17 21:37:55 +0000
+++ lib/revisionmessagebrowser.py 2009-11-19 08:46:04 +0000
@@ -39,6 +39,7 @@
     format_timestamp,
     get_message,
     get_summary,
+ open_browser,
     )

 from bzrlib.lazy_import import lazy_import

Right now codehosting is under h/w upgrade. Once it will back, I'll push the fix to trunk.

Changed in qbzr:
status: New → Fix Committed
importance: Undecided → High
milestone: none → 0.17
Changed in qbzr:
assignee: nobody → Alexander Belchenko (bialix)
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.