baz-import fails with AttributeError

Bug #36108 reported by Stuart Bishop
4
Affects Status Importance Assigned to Milestone
bzrtools (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Using current dapper packages of bzr and bzrtools, I get an AttributeError running 'bzr baz-import':

12:58:48~/archives $ bzr baz-import ~/<email address hidden> <email address hidden>
importing <email address hidden>/airtunes--devel--0 into /<email address hidden>/airtunes/devel
bzr: ERROR: exceptions.AttributeError: 'TextUIFactory' object has no attribute 'nested_progress_bar'
  at /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/baz_import.py line 405
  in import_version
12:59:09~/archives $ bzr --version
bzr (bazaar-ng) 0.8pre
Copyright 2005,06 Canonical Development Ltd.
http://bazaar-ng.org/

bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.
12:59:43~/archives $ dpkg --list bzr
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii bzr 0.8~2006032008 bazaar-ng, the next-generation distributed v
13:00:14~/archives $ dpkg --list bzrtools
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii bzrtools 0.8~2006032018 Collection of tools for bzr

Exception from .bzr.log:

bzr 0.8pre invoked on python 2.4.2.final.0 (linux2)
  arguments: ['/usr/bin/bzr', 'baz-import', '/<email address hidden>', '<email address hidden>']
  working dir: u'/home/stub/archives'
looking for plugins in /usr/lib/python2.4/site-packages/bzrlib/plugins
Plugin name __init__ already loaded
Plugin name __init__ already loaded
Plugin name __init__ already loaded
add plugin name bzrtools
load plugin (None, '/usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools', ('', '', 5))
registered plugin command shelve
registered plugin command unshelve
registered plugin command shelf
registered plugin command clean-tree
registered plugin command graph-ancestry
registered plugin command fetch-ghosts
registered plugin command patch
registered plugin command shell
registered plugin command fix
registered plugin command branch-history
registered plugin command baz-import-branch
registered plugin command baz-import
registered plugin command push
loaded succesfully
looking for plugins in /home/stub/.bazaar/plugins
trying to open '/<email address hidden>' with transport <bzrlib.transport.local.LocalTransport <email address hidden>/>
[22161] Thu 13:06:53.477 ERROR: exceptions.AttributeError: 'TextUIFactory' object has no attribute 'nested_progress_bar'
  at /usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/baz_import.py line 405
  in import_version
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 647, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 609, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 241, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/baz_import.py", line 791, in run
    reuse_history_list, prefixes=prefixes)
  File "/usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/baz_import.py", line 830, in import_archive
    standalone=standalone)
  File "/usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools/baz_import.py", line 405, in import_version
    progress_bar = bzrlib.ui.ui_factory.nested_progress_bar()
AttributeError: 'TextUIFactory' object has no attribute 'nested_progress_bar'

return code 3

Revision history for this message
Stuart Bishop (stub) wrote :

I can no longer reproduce this with the newer versions of bzr and bzrtools in dapper.

Changed in bzrtools:
status: Unconfirmed → 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.