2008-11-12 23:04:23 |
Bronislav Gabrhelik |
bzr-svn: statusexplanation |
|
I am sorry for late feedback. I found out that this fix doesn't work for me.
Below is output from bzr svn-import. Your fix encoded filename passed to sqlite. The encoding name is taken from osutils._fs_enc, which returns 'mbcs'. I tried hardcoded value "utf8" instead of osutils._fs_enc and it actually works fine. It seems that sqlite expects utf8 encoding.
Here is an error output before I changed encoding to "utf8":
C:\temp\convert\ecos-full>bzr svn-import file:///C:/data/svn/ecos-full
Initialising Subversion metadata cache in C:/Documents and Settings/bgabrhelik/D
ata aplikací/bazaar/2.0\svn-cache\f6d051f5-4fe7-e246-b4cf-f19aecd70f77
bzr: ERROR: sqlite3.OperationalError: unable to open database file
Traceback (most recent call last):
File "bzrlib\commands.pyo", line 893, in run_bzr_catch_errors
File "bzrlib\commands.pyo", line 839, in run_bzr
File "bzrlib\commands.pyo", line 539, in run_argv_aliases
File "bzrlib\commands.pyo", line 853, in ignore_pipe
File "C:/Program Files/Bazaar/plugins\svn\__init__.py", line 244, in run
File "C:/Program Files/Bazaar/plugins\svn\remote.py", line 72, in open_reposit
ory
File "C:/Program Files/Bazaar/plugins\svn\repository.py", line 205, in __init_
_
OperationalError: unable to open database file
bzr 1.9 on python 2.5.2 (win32)
arguments: ['bzr', 'svn-import', 'file:///C:/data/svn/ecos-full']
encoding: 'cp1250', fsenc: 'mbcs', lang: None
plugins:
bzrtools C:\Program Files\Bazaar\plugins\bzrtools [1.9.1]
launchpad C:\Program Files\Bazaar\plugins\launchpad [unknown]
qbzr C:\Program Files\Bazaar\plugins\qbzr [0.9.5]
svn C:\Program Files\Bazaar\plugins\svn [0.4.14]
*** 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.
|
|
2008-11-17 00:27:49 |
Jelmer Vernooij |
bzr-svn: statusexplanation |
I am sorry for late feedback. I found out that this fix doesn't work for me.
Below is output from bzr svn-import. Your fix encoded filename passed to sqlite. The encoding name is taken from osutils._fs_enc, which returns 'mbcs'. I tried hardcoded value "utf8" instead of osutils._fs_enc and it actually works fine. It seems that sqlite expects utf8 encoding.
Here is an error output before I changed encoding to "utf8":
C:\temp\convert\ecos-full>bzr svn-import file:///C:/data/svn/ecos-full
Initialising Subversion metadata cache in C:/Documents and Settings/bgabrhelik/D
ata aplikací/bazaar/2.0\svn-cache\f6d051f5-4fe7-e246-b4cf-f19aecd70f77
bzr: ERROR: sqlite3.OperationalError: unable to open database file
Traceback (most recent call last):
File "bzrlib\commands.pyo", line 893, in run_bzr_catch_errors
File "bzrlib\commands.pyo", line 839, in run_bzr
File "bzrlib\commands.pyo", line 539, in run_argv_aliases
File "bzrlib\commands.pyo", line 853, in ignore_pipe
File "C:/Program Files/Bazaar/plugins\svn\__init__.py", line 244, in run
File "C:/Program Files/Bazaar/plugins\svn\remote.py", line 72, in open_reposit
ory
File "C:/Program Files/Bazaar/plugins\svn\repository.py", line 205, in __init_
_
OperationalError: unable to open database file
bzr 1.9 on python 2.5.2 (win32)
arguments: ['bzr', 'svn-import', 'file:///C:/data/svn/ecos-full']
encoding: 'cp1250', fsenc: 'mbcs', lang: None
plugins:
bzrtools C:\Program Files\Bazaar\plugins\bzrtools [1.9.1]
launchpad C:\Program Files\Bazaar\plugins\launchpad [unknown]
qbzr C:\Program Files\Bazaar\plugins\qbzr [0.9.5]
svn C:\Program Files\Bazaar\plugins\svn [0.4.14]
*** 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.
|
|
|