fast-import get internal error on lookup error: unkown encoding: cp65001
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Fast Import |
New
|
Undecided
|
Unassigned |
Bug Description
(Update):"Fixed" it (badly, but made it complete the task at hand) by copying the utf_8.pyo file in lib/library.zip and renaming it cp65001.pyo
Problem appears to be related to pythons lack of aliasing cp65001 to utf_8.
-------
Attempting conversion of a CVS repository. Successfully created a dumpfile.fi.
Ran >bzr fast-import dumpfile.fi new_bzr.bzr
received error message bzr: ERROR: exceptions.
and ultimately crashed.
Below is the trace of the second attempt using a smaller subset of the CVS repository hence the
14:44:14 Found 4556 commits already loaded - skipping over these ...
but the the first attempt had the same result.
Following trace resulted:
C:\Users\
bzr: warning: unknown terminal encoding cp65001.
Using encoding cp1252 instead.
bzr: warning: unknown terminal encoding cp65001.
Using encoding cp1252 instead.
14:44:13 Starting import of 2758 commits ...
14:44:14 Found 4556 commits already loaded - skipping over these ...
14:44:50 Updating branch information ...
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "C:/Bazaar/
File "C:/Bazaar/
File "C:/Bazaar/
in process
File "fastimport\
File "C:/Bazaar/
in post_process
File "C:/Bazaar/
File "C:/Bazaar/
ing_branches
File "C:/Bazaar/
h
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
LookupError: unknown encoding: cp65001
bzr 2.5.1 on python 2.6.6 (Windows-
arguments: ['bzr', 'fast-import', 'dumpfile.fi', 'vega_bzr.bzr']
plugins: bzrtools[2.5.0], changelog_
cvsps_
launchpad[
news_
svn[1.2.2], upload[1.2.0dev], xmloutput[0.8.8]
encoding: 'cp1252', fsenc: 'mbcs', lang: None
*** Bazaar has encountered an internal error. This probably indicates a
bug in Bazaar. You can help us fix it by filing a bug report at
https:/
including this traceback and a description of the problem.
description: | updated |
affects: | bzr → bzr-fastimport |
description: | updated |
summary: |
- fast-import crashes on lookup error cp65001 + fast-import get internal error on lookup error: unkown encoding: + cp65001 |
information type: | Public → Private |
description: | updated |
information type: | Private → Public |