traceback with 'NotRepository' while trying to open a Repository directly

Bug #430388 reported by John A Meinel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Explorer
Fix Released
Medium
Ian Clatworthy

Bug Description

I got this exception while trying to open a repository directly. It seems to be just a direct bug in bzr-explorer, looking for an exception class that isn't present in the errors module.

bzr: ERROR: exceptions.AttributeError: 'module' object has no attribute 'NotRepository'

Traceback (most recent call last):
  File "C:/Users/jameinel/dev/bzr/plugins\explorer\lib\explorer.py", line 1091, in callable_with_cleanup
    task_callable()
  File "C:/Users/jameinel/dev/bzr/plugins\explorer\lib\explorer.py", line 1229, in _open_location_task
    self.location_views.add_location(location, model)
  File "C:/Users/jameinel/dev/bzr/plugins\explorer\lib\location.py", line 389, in add_location
    view = model.view()
  File "C:/Users/jameinel/dev/bzr/plugins\explorer\lib\location.py", line 337, in view
    return view.ui()
  File "C:/Users/jameinel/dev/bzr/plugins\explorer\lib\view_repository.py", line 249, in ui
    self.refresh_view()
  File "C:/Users/jameinel/dev/bzr/plugins\explorer\lib\view_repository.py", line 253, in refresh_view
    self._collect_data()
  File "C:/Users/jameinel/dev/bzr/plugins\explorer\lib\view_repository.py", line 297, in _collect_data
    except errors.NotRepository:
AttributeError: 'module' object has no attribute 'NotRepository'

bzr 2.1dev on python 2.6.2 (win32)
arguments: ['C:/Users/jameinel/dev/bzr/bzr.dev/bzr', 'explorer', 'bzr-2a/bzr.dev/']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
  bzrtools C:\Users\jameinel\dev\bzr\plugins\bzrtools [2.0]
  dump C:\Users\jameinel\dev\bzr\plugins\dump [unknown]
  email C:\Users\jameinel\dev\bzr\plugins\email [unknown]
  explorer C:\Users\jameinel\dev\bzr\plugins\explorer [0.8.1dev]
  fastimport C:\Users\jameinel\dev\bzr\plugins\fastimport [0.8dev]
  launchpad C:\Users\jameinel\dev\bzr\bzr.dev\bzrlib\plugins\launchpad [2.1dev]
  netrc_credential_store C:\Users\jameinel\dev\bzr\bzr.dev\bzrlib\plugins\netrc_credential_store [2.1dev]
  pqm C:\Users\jameinel\dev\bzr\plugins\pqm [1.4dev]
  pybloom C:\Users\jameinel\dev\bzr\plugins\pybloom [unknown]
  qbzr C:\Users\jameinel\dev\bzr\plugins\qbzr [0.15dev]
  rebase C:\Users\jameinel\dev\bzr\plugins\rebase [0.4.3dev]
  register C:\Users\jameinel\dev\bzr\plugins\register [unknown]
  repodetails C:\Users\jameinel\dev\bzr\plugins\repodetails [1.9dev]

Revision history for this message
Ian Clatworthy (ian-clatworthy) wrote :

Try rev 274.

Changed in bzr-explorer:
assignee: nobody → Ian Clatworthy (ian-clatworthy)
importance: Undecided → Medium
milestone: none → 0.8.1
status: New → Fix Committed
Changed in bzr-explorer:
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.