AttributeError: 'NoneType' object has no attribute 'startswith'

Bug #402032 reported by Mitsuhiro Koga
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Explorer
Fix Released
Medium
Ian Clatworthy

Bug Description

bzr: 1.16.1
bzr-explorer: rev 192

I opened the shared repository including the standalone branch(no parent url).
I've got error:

Traceback (most recent call last):
  File "C:/Documents and Settings/username/Application Data/bazaar/2.0/plugins\explorer\lib\explorer.py", line 964, in callable_with_cleanup
    task_callable()
  File "C:/Documents and Settings/username/Application Data/bazaar/2.0/plugins\explorer\lib\explorer.py", line 1010, in _open_location_task
    self.location_views.add_location(location, model)
  File "C:/Documents and Settings/username/Application Data/bazaar/2.0/plugins\explorer\lib\location.py", line 379, in add_location
    view = model.view()
  File "C:/Documents and Settings/username/Application Data/bazaar/2.0/plugins\explorer\lib\location.py", line 328, in view
    return view.ui()
  File "C:/Documents and Settings/username/Application Data/bazaar/2.0/plugins\explorer\lib\view_repository.py", line 235, in ui
    self.refresh_view()
  File "C:/Documents and Settings/username/Application Data/bazaar/2.0/plugins\explorer\lib\view_repository.py", line 239, in refresh_view
    self._collect_data()
  File "C:/Documents and Settings/username/Application Data/bazaar/2.0/plugins\explorer\lib\view_repository.py", line 298, in _collect_data
    if parent.startswith(repo_url):
AttributeError: 'NoneType' object has no attribute 'startswith'

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

Fixed in rev 197.

Changed in bzr-explorer:
assignee: nobody → Ian Clatworthy (ian-clatworthy)
importance: Undecided → Medium
milestone: none → 0.6
status: New → Fix Released
Revision history for this message
Alexander Belchenko (bialix) wrote :

test.

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.