-->
--> -->
<class 'bzrlib.errors.NotBranchError'> | Python 2.5.2: /usr/bin/python Tue Oct 7 05:12:28 2008 |
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
| /data1/src/bazaar-webserve-dev/webserve-dir.cgi in () |
37 except KeyError:
|
38 pass
|
39
|
40 hgweb.cgi_start_webserve_dir(config)
|
41
|
| hgweb = <module 'bzrlib.plugins.webserve.hgweb' from '/u...site-packages/bzrlib/plugins/webserve/hgweb.pyc'>, hgweb.cgi_start_webserve_dir = <function cgi_start_webserve_dir at 0x85af72c>, config = '/etc/bazaar-webserve.conf' |
| /usr/lib/python2.5/site-packages/bzrlib/plugins/webserve/hgweb.py in cgi_start_webserve_dir(config='/etc/bazaar-webserve.conf') |
1538 cgitb.enable()
|
1539
|
1540 h = hgwebdir(config)
|
1541 h.run()
|
1542
|
| h = <bzrlib.plugins.webserve.hgweb.hgwebdir instance at 0x85b190c>, h.run = <bound method hgwebdir.run of <bzrlib.plugins.webserve.hgweb.hgwebdir instance at 0x85b190c>> |
| /usr/lib/python2.5/site-packages/bzrlib/plugins/webserve/hgweb.py in run(self=<bzrlib.plugins.webserve.hgweb.hgwebdir instance at 0x85b190c>, stream=None) |
1451 os.environ.get('BZR_ENCODING', 'utf_8'))
|
1452
|
1453 h.run()
|
1454 return
|
1455
|
| h = <bzrlib.plugins.webserve.hgweb.hgweb instance at 0x85b9fec>, h.run = <bound method hgweb.run of <bzrlib.plugins.webserve.hgweb.hgweb instance at 0x85b9fec>> |
| /usr/lib/python2.5/site-packages/bzrlib/plugins/webserve/hgweb.py in run(self=<bzrlib.plugins.webserve.hgweb.hgweb instance at 0x85b9fec>, stream=None) |
1200 if(stream):
|
1201 self.stream = stream
|
1202 self.do_cmd(url, args)
|
1203
|
1204
|
| self = <bzrlib.plugins.webserve.hgweb.hgweb instance at 0x85b9fec>, self.do_cmd = <bound method hgweb.do_cmd of <bzrlib.plugins.webserve.hgweb.hgweb instance at 0x85b9fec>>, url = 'http://blackbird.kaarsemaker.net/codebrowse/falcon', args = {} |
| /usr/lib/python2.5/site-packages/bzrlib/plugins/webserve/hgweb.py in do_cmd(self=<bzrlib.plugins.webserve.hgweb.hgweb instance at 0x85b9fec>, url=u'http://blackbird.kaarsemaker.net/codebrowse/falcon', args={}) |
1045 pass
|
1046
|
1047 self.refresh()
|
1048
|
1049 last_revid = self.revision_history.get_last_revid()
|
| self = <bzrlib.plugins.webserve.hgweb.hgweb instance at 0x85b9fec>, self.refresh = <bound method hgweb.refresh of <bzrlib.plugins.webserve.hgweb.hgweb instance at 0x85b9fec>> |
| /usr/lib/python2.5/site-packages/bzrlib/plugins/webserve/hgweb.py in refresh(self=<bzrlib.plugins.webserve.hgweb.hgweb instance at 0x85b9fec>) |
374 self.mtime = s.st_mtime
|
375
|
376 self.branch = bzrlib.branch.Branch.open(self.path)
|
377 self.revision_history = WebserveRevisionList(self.branch)
|
378
|
| self = <bzrlib.plugins.webserve.hgweb.hgweb instance at 0x85b9fec>, self.branch undefined, global bzrlib = <module 'bzrlib' from '/usr/lib/python2.5/site-packages/bzrlib/__init__.py'>, bzrlib.branch = <module 'bzrlib.branch' from '/usr/lib/python2.5/site-packages/bzrlib/branch.py'>, bzrlib.branch.Branch = <class 'bzrlib.branch.Branch'>, bzrlib.branch.Branch.open = <function open at 0x8245a3c>, self.path = '/data1/src/falcon' |
| /usr/lib/python2.5/site-packages/bzrlib/branch.py in open(base='/data1/src/falcon', _unsupported=False, possible_transports=None) |
107 """
|
108 control = bzrdir.BzrDir.open(base, _unsupported,
|
109 possible_transports=possible_transports)
|
110 return control.open_branch(_unsupported)
|
111
|
| possible_transports = None |
| /usr/lib/python2.5/site-packages/bzrlib/bzrdir.py in open(base='/data1/src/falcon', _unsupported=False, possible_transports=None) |
649 """
|
650 t = get_transport(base, possible_transports=possible_transports)
|
651 return BzrDir.open_from_transport(t, _unsupported=_unsupported)
|
652
|
653 @staticmethod
|
| global BzrDir = <class 'bzrlib.bzrdir.BzrDir'>, BzrDir.open_from_transport = <function open_from_transport at 0x874f924>, t = <bzrlib.transport.local.LocalTransport url=file:///data1/src/falcon/>, _unsupported = False |
| /usr/lib/python2.5/site-packages/bzrlib/bzrdir.py in open_from_transport(transport=<bzrlib.transport.local.LocalTransport url=file:///data1/src/falcon/>, _unsupported=False, _server_formats=True) |
686 transport, format = do_catching_redirections(find_format,
|
687 transport,
|
688 redirected)
|
689 except errors.TooManyRedirections:
|
690 raise errors.NotBranchError(base)
|
| redirected = <function redirected at 0x85d1304> |
| /usr/lib/python2.5/site-packages/bzrlib/lazy_import.py in __call__(self=<bzrlib.lazy_import.ImportReplacer object at 0x86ca11c>, *args=(<function find_format at 0x85d12cc>, <bzrlib.transport.local.LocalTransport url=file:///data1/src/falcon/>, <function redirected at 0x85d1304>), **kwargs={}) |
123 _cleanup = object.__getattribute__(self, '_cleanup')
|
124 _cleanup()
|
125 return obj(*args, **kwargs)
|
126
|
127
|
| obj = <function do_catching_redirections at 0x86e580c>, args = (<function find_format at 0x85d12cc>, <bzrlib.transport.local.LocalTransport url=file:///data1/src/falcon/>, <function redirected at 0x85d1304>), kwargs = {} |
| /usr/lib/python2.5/site-packages/bzrlib/transport/__init__.py in do_catching_redirections(action=<function find_format at 0x85d12cc>, transport=<bzrlib.transport.local.LocalTransport url=file:///data1/src/falcon/>, redirected=<function redirected at 0x85d1304>) |
1662 for redirections in range(MAX_REDIRECTIONS):
|
1663 try:
|
1664 return action(transport)
|
1665 except errors.RedirectRequested, e:
|
1666 redirection_notice = '%s is%s redirected to %s' % (
|
| action = <function find_format at 0x85d12cc>, transport = <bzrlib.transport.local.LocalTransport url=file:///data1/src/falcon/> |
| /usr/lib/python2.5/site-packages/bzrlib/bzrdir.py in find_format(transport=<bzrlib.transport.local.LocalTransport url=file:///data1/src/falcon/>) |
663 def find_format(transport):
|
664 return transport, BzrDirFormat.find_format(
|
665 transport, _server_formats=_server_formats)
|
666
|
667 def redirected(transport, e, redirection_notice):
|
| transport = <bzrlib.transport.local.LocalTransport url=file:///data1/src/falcon/>, _server_formats = True |
| /usr/lib/python2.5/site-packages/bzrlib/bzrdir.py in find_format(klass=<class 'bzrlib.bzrdir.BzrDirFormat'>, transport=<bzrlib.transport.local.LocalTransport url=file:///data1/src/falcon/>, _server_formats=True) |
1424 # this format does not find a control dir here.
|
1425 pass
|
1426 raise errors.NotBranchError(path=transport.base)
|
1427
|
1428 @classmethod
|
| global errors = <module 'bzrlib.errors' from '/usr/lib/python2.5/site-packages/bzrlib/errors.py'>, errors.NotBranchError = <class 'bzrlib.errors.NotBranchError'>, path undefined, transport = <bzrlib.transport.local.LocalTransport url=file:///data1/src/falcon/>, transport.base = 'file:///data1/src/falcon/' |
<class 'bzrlib.errors.NotBranchError'>: Not a branch: "/data1/src/falcon/".
args =
()
internal_error =
False
message =
''
path =
u'/data1/src/falcon/'