viewing file gets AttributeError re: ProgressBarStack

Bug #474784 reported by andersonic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
loggerhead
New
Undecided
Unassigned

Bug Description

We're running Loggerhead 1.10 and can browse directories, revisions, and changes.

Browsing into an individual file gets an error. "AttributeError: 'module' object has no attribute 'ProgressBarStack'"

A stack trace follows.

ERROR:loggerhead./Bookshare/branches/bookshare-3.1.16: exceptions.AttributeError: 'module' object has no attribute 'ProgressBarStack'
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/site-packages/loggerhead/apps/error.py", line 31, in __call__
    return self.application(environ, start_response)
  File "/usr/local/lib/python2.6/site-packages/Paste-1.7.2-py2.6.egg/paste/httpexceptions.py", line 636, in __call__
    return self.application(environ, start_response)
  File "/usr/local/lib/python2.6/site-packages/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/config.py", line 285, in __call__
    return self.app(environ, start_response)
  File "/usr/local/lib/python2.6/site-packages/loggerhead/apps/transport.py", line 158, in __call__
    transport, self)(environ, start_response)
  File "/usr/local/lib/python2.6/site-packages/loggerhead/apps/transport.py", line 118, in __call__
    return self.app_for_non_branch(environ)(environ, start_response)
  File "/usr/local/lib/python2.6/site-packages/loggerhead/apps/transport.py", line 118, in __call__
    return self.app_for_non_branch(environ)(environ, start_response)
  File "/usr/local/lib/python2.6/site-packages/loggerhead/apps/transport.py", line 118, in __call__
    return self.app_for_non_branch(environ)(environ, start_response)
  File "/usr/local/lib/python2.6/site-packages/loggerhead/apps/transport.py", line 124, in __call__
    return self.app_for_branch(b)(environ, start_response)
  File "/usr/local/lib/python2.6/site-packages/loggerhead/apps/branch.py", line 165, in app
    return c(environ, start_response)
  File "/usr/local/lib/python2.6/site-packages/loggerhead/controllers/__init__.py", line 93, in __call__
    vals.update(self.get_values(path, kwargs, headers))
  File "/usr/local/lib/python2.6/site-packages/loggerhead/controllers/annotate_ui.py", line 149, in get_values
    'contents': list(self.annotate_file(file_id, revid)),
  File "/usr/local/lib/python2.6/site-packages/loggerhead/controllers/annotate_ui.py", line 79, in annotate_file
    for line_revid, text in tree.annotate_iter(file_id):
  File "/usr/local/lib/python2.6/site-packages/bzrlib/revisiontree.py", line 91, in annotate_iter
    annotations = annotator.annotate_flat(text_key)
  File "_annotator_pyx.pyx", line 268, in _annotator_pyx.Annotator.annotate_flat
  File "/usr/local/lib/python2.6/site-packages/bzrlib/_annotator_py.py", line 256, in annotate
    pb = ui.ui_factory.nested_progress_bar()
  File "/usr/local/lib/python2.6/site-packages/loggerhead/history.py", line 62, in nested_progress_bar
    pbs = bzrlib.progress.ProgressBarStack(
AttributeError: 'module' object has no attribute 'ProgressBarStack'
INFO:loggerhead./Bookshare/branches/bookshare-3.1.16:Getting information for ErrorUI: 0.00016307830810546875 secs
INFO:loggerhead:66.201.46.82 - - [04/Nov/2009:15:46:27 -0500] "GET /Bookshare/branches/bookshare-3.1.16/annotate/head%3A/bookshare-db-meta/src/main/resources/sql/bksdb-modify.sql HTTP/1.1" 200 - "-" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4"
INFO:loggerhead./Bookshare/branches/bookshare-3.1.16:Rendering ErrorUI: 0.013252973556518555 secs, 2936 bytes

Revision history for this message
Brian Parma (bj0) wrote :

I just got this problem with loggerhead 1.10.

I upgraded to loggerhead 1.17 (in Karmic Repos) and the error went away.

Revision history for this message
Matt Nordhoff (mnordhoff) wrote : Re: [Bug 474784] Re: viewing file gets AttributeError re: ProgressBarStack

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Right. This was fixed in 1.17.

  duplicate 382765
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFK8j8H0c08Sf+lK30RAud6AJ9fvNeTIAycGa6gMfUyx1B1lW2eKQCeJqCz
ivr97cjZ1yBrBGRIgrJXEjY=
=kKSI
-----END PGP SIGNATURE-----

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.