← Back to team overview

bzr-explorer-dev team mailing list archive

[Bug 402032] [NEW] AttributeError: 'NoneType' object has no attribute 'startswith'

 

Public bug reported:

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'

** Affects: bzr-explorer
     Importance: Undecided
         Status: New

-- 
AttributeError: 'NoneType' object has no attribute 'startswith'
https://bugs.launchpad.net/bugs/402032
You received this bug notification because you are a member of Bazaar
Explorer Developers, which is the registrant for Bazaar Explorer.

Status in Bazaar Explorer: New

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'



Follow ups

References