Crash in bzr-svn
Paul Moore
p.f.moore at gmail.com
Thu Feb 28 19:42:15 GMT 2008
On 28/02/2008, Brian de Alwis <bsd at cs.ubc.ca> wrote:
> Did you try that in a fresh directory?
No, I was doing all of this in a precreated shared repository:
md bzr-test
cd bzr-test
bzr init-repo
bzr branch http://...python/trunk python
When it fails, delete the "python" directory and retry.
> I wonder if that error arose
> because of inconsistencies in the local bzr repository. What does a
> 'bzr check' report?
"Not a branch"
>cd bzr-test
>bzr check
bzr: ERROR: Not a branch: "C:/Data/bzr-test/.bzr/branch/".
Same if I try on the "python" subdirectory.
> You might also try doing a lightweight checkout first and see if that
> succeeds.
Within the shared repo, I get (same resolts in my shared repo or in a
normal directory):
>bzr checkout --lightweight http://svn.python.org/projects/python/trunk python
/ [========================
] generating file id map
8989/38376C
:\Apps\Bazaar\lib\library.zip\urllib.py:1205: UnicodeWarning: Unicode
equal comparison failed to convert both arguments to Unicode -
interpreti
ng them as being unequal
bzr: ERROR: exceptions.KeyError: u'\x8a'
Traceback (most recent call last):
File "bzrlib\commands.pyc", line 806, in run_bzr_catch_errors
File "bzrlib\commands.pyc", line 762, in run_bzr
File "bzrlib\commands.pyc", line 492, in run_argv_aliases
File "bzrlib\builtins.pyc", line 989, in run
File "C:/Documents and Settings/Gustav/Application
Data/bazaar/2.0/plugins\svn\branch.py", line 190, in create_checkout
File "C:/Documents and Settings/Gustav/Application
Data/bazaar/2.0/plugins\svn\branch.py", line 184, in
_create_lightweight_checkout
File "bzrlib\workingtree.pyc", line 333, in open
File "C:/Documents and Settings/Gustav/Application
Data/bazaar/2.0/plugins\svn\workingtree.py", line 744, in
open_workingtree
File "C:/Documents and Settings/Gustav/Application
Data/bazaar/2.0/plugins\svn\workingtree.py", line 90, in __init__
File "C:/Documents and Settings/Gustav/Application
Data/bazaar/2.0/plugins\svn\tree.py", line 227, in __init__
File "C:/Documents and Settings/Gustav/Application
Data/bazaar/2.0/plugins\svn\repository.py", line 415, in
get_fileid_map
File "C:/Documents and Settings/Gustav/Application
Data/bazaar/2.0/plugins\svn\fileids.py", line 212, in get_map
File "C:/Documents and Settings/Gustav/Application
Data/bazaar/2.0/plugins\svn\fileids.py", line 93, in save
File "urllib.pyc", line 1205, in quote
KeyError: u'\x8a'
bzr 1.1.0 on python 2.5.1.final.0 (win32)
arguments: ['bzr', 'checkout', '--lightweight',
'http://svn.python.org/projects/python/trunk', 'python']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
launchpad
C:\Apps\Bazaar\lib\library.zip\bzrlib\plugins\launchpad [unknown]
multiparent
C:\Apps\Bazaar\lib\library.zip\bzrlib\plugins\multiparent.pyc
[unknown]
svn C:\Documents and Settings\Gustav\Application
Data\bazaar\2.0\plugins\svn [0.4.7]
*** 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.
> (I'm looking forward to the shallow SVN checkouts myself!)
I'm more or less coming to the conclusion that they are essential for
the type of interaction with svn I'm interested in. 2-3 hours to get a
failure, probably in an old revision I have no practical interest in,
is simply unusable. And the error message doesn't give me any help
(not that there's really much I could do, as it's an interaction
between bzr-svn and the Python svn repo, neither of which I can do
anything about...)
Thanks for the help,
Paul.
More information about the bazaar
mailing list