NotBranchError on startup

Bug #179347 reported by Robert Collins
4
Affects Status Importance Assigned to Milestone
loggerhead
Invalid
Undecided
Unassigned

Bug Description

  File "/home/robertc/loggerhead/start-loggerhead.py", line 111, in main
    Root = Root(config)
  File "/home/robertc/loggerhead/loggerhead/controllers/__init__.py", line 102, in __init__
    project = Project(c_project_name, self._config[project_name])
  File "/home/robertc/loggerhead/loggerhead/controllers/__init__.py", line 56, in __init__
    self._add_view(view_name, config[view_name], config[view_name].get('folder'))
  File "/home/robertc/loggerhead/loggerhead/controllers/__init__.py", line 89, in _add_view
    view = BranchView(self.name, c_view_name, view_name, folder, view_config, self._config)
  File "/home/robertc/loggerhead/loggerhead/branchview.py", line 71, in __init__
    self.get_history()
  File "/home/robertc/loggerhead/loggerhead/util.py", line 375, in locked
    return unbound(self, *args, **kw)
  File "/home/robertc/loggerhead/loggerhead/branchview.py", line 145, in get_history
    self._absfolder, self._name)
  File "/home/robertc/loggerhead/loggerhead/history.py", line 246, in from_folder
    b = bzrlib.branch.Branch.open(path)
  File "/usr/local/lib/python2.5/site-packages/bzrlib/branch.py", line 128, in open
    possible_transports=possible_transports)
  File "/usr/local/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 572, in open
    return BzrDir.open_from_transport(t, _unsupported=_unsupported)
  File "/usr/local/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 609, in open_from_transport
    redirected)
  File "/usr/local/lib/python2.5/site-packages/bzrlib/transport/__init__.py", line 1661, in do_catching_redirections
    return action(transport)
  File "/usr/local/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 586, in find_format
    transport, _server_formats=_server_formats)
  File "/usr/local/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 1311, in find_format
    raise errors.NotBranchError(path=transport.base)
bzrlib.errors.NotBranchError: Not a branch: "/".

Based on logger.conf / shouldn't be a branch it uses, I have a project and branch configured.

I'm using apache with proxypass.

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

I can't reproduce this.

Revision history for this message
Martin Albisetti (beuno) wrote :

Could you provide more information on how to reproduce this?

Changed in loggerhead:
status: New → Incomplete
Martin Albisetti (beuno)
Changed in loggerhead:
status: Incomplete → Invalid
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.