Key error when trying to checkout SVN repository
Dietrich Bollmann
diresu at web.de
Fri Jun 5 04:17:22 BST 2009
Hi,
I got an error when trying to check out a SVN repository.
I "fixed" the error using the following hack:
--- /usr/share/pyshared/bzrlib/plugins/svn/transport.orig.dietrich20090603.py 2009-06-03 04:16:25.000000000 +0000
+++ /usr/share/pyshared/bzrlib/plugins/svn/transport.py 2009-06-03
04:18:00.000000000 +0000
@@ -83,7 +83,9 @@
# we try to use bzr svn on this transport
shared_connection = getattr(bzr_transport, "_shared_connection",
None)
if shared_connection is not None:
- creds = shared_connection.credentials[0]
+ # orig: creds = shared_connection.credentials[0]
+ # dietrich:
+ creds = None
else:
creds = None
ra_transport = SvnRaTransport(bzr_transport.base,
credentials=creds)
...and could check out everything without problems (...beyond having to
wait for the checkout to complete for incredibly 15 hours or so...).
Is there some other way to supply the credentials (= is this my fault)
or (is this a real bug and) should I write a bug report as I was asked
to do by the error message?:
> Please report a bug at https://bugs.launchpad.net/bzr/+filebug
Regards, Dietrich
Here the error message and the command which caused it:
---
bzr checkout
https://svn.blender.org/svnroot/bf-blender/branches/blender2.5
> bzr: ERROR: exceptions.KeyError: 0 1KB 1KB/s |
>
> Traceback (most recent call last):
> File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line
727, in exception_to_return_code
> return the_callable(*args, **kwargs)
> File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line
922, in run_bzr
> ret = run(*run_argv)
> File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line
559, in run_argv_aliases
> return self.run(**all_cmd_args)
> File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line
1188, in run
> branch_location)
> File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 922,
in open_tree_or_branch
> bzrdir = klass.open(location)
> File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 807,
in open
> return BzrDir.open_from_transport(t, _unsupported=_unsupported)
> File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 837,
in open_from_transport
> redirected)
> File "/usr/lib/python2.5/site-packages/bzrlib/lazy_import.py", line
125, in __call__
> return obj(*args, **kwargs)
> File
"/usr/lib/python2.5/site-packages/bzrlib/transport/__init__.py", line
1657, in do_catching_redirections
> return action(transport)
> File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 824,
in find_format
> transport, _server_formats=_server_formats)
> File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 1751,
in find_format
> return format.probe_transport(transport)
> File
"/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/format.py", line
109, in probe_transport
> transport = get_svn_ra_transport(transport)
> File
"/usr/lib/python2.5/site-packages/bzrlib/plugins/svn/transport.py", line
86, in get_svn_ra_transport
> creds = shared_connection.credentials[0]
> KeyError: 0
>
> bzr 1.14 on python 2.5.4 (linux2)
> arguments: ['/usr/bin/bzr', 'checkout',
'https://svn.blender.org/svnroot/bf-blender/branches/blender2.5']
> encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_GB.UTF-8'
> plugins:
>
bzrtools /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.14]
>
launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
>
netrc_credential_store /usr/lib/python2.5/site-packages/bzrlib/plugins/netrc_credential_store [unknown]
>
svn /usr/lib/python2.5/site-packages/bzrlib/plugins/svn
[0.5.4]
>
upload /usr/lib/python2.5/site-packages/bzrlib/plugins/upload [1.0dev]
> *** Bazaar has encountered an internal error.
> Please report a bug at https://bugs.launchpad.net/bzr/+filebug
> including this traceback, and a description of what you
> were doing when the error occurred.
More information about the bazaar
mailing list