Subversion returns invalid XML when log message contains non-UTF8 characters in the repository
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Subversion Plugin |
Invalid
|
Medium
|
Unassigned | ||
subversion |
Confirmed
|
Medium
|
|||
subvertpy |
Invalid
|
Low
|
Jelmer Vernooij |
Bug Description
Trying to import the FreeBASIC svn repository into a bazaar branch results in an exception. Here's the trace...
$ bzr branch https:/
bzr: ERROR: bzrlib.
Traceback (most recent call last):
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
from_location)
File "/usr/lib/
return bzrdir.
File "/usr/lib/
branch = self.open_branch()
File "/usr/lib/
branch = SvnBranch(repos, self.branch_path)
File "/usr/lib/
self.mapping = self.repository
File "/usr/lib/
self.
File "/usr/lib/
(guessed_
File "/usr/lib/
repository.
File "/usr/lib/
for (revpaths, revnum, revprops) in changed_paths:
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
revprops)
SubversionExcep
bzr 1.6.1 on python 2.5.2 (linux2)
arguments: ['/usr/bin/bzr', 'branch', 'https:/
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
avahi /usr/lib/
bzrtools /usr/lib/
dbus /usr/lib/
gtk /usr/lib/
launchpad /usr/lib/
qbzr /usr/lib/
rebase /usr/lib/
svn /usr/lib/
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
Changed in subvertpy: | |
assignee: | nobody → jelmer |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in subversion: | |
importance: | Undecided → Unknown |
status: | New → Unknown |
Changed in subversion: | |
status: | Unknown → Confirmed |
summary: |
- Error when importing SVN repository + Subversion returns invalid XML when log message contains non-UTF8 + characters in the repository |
Changed in subversion: | |
importance: | Unknown → Medium |
I get a similar error when trying to branch another sourceforge repository:
bzr branch https://[...].svn. sourceforge. net/svnroot/ [...] liberato/ .bazaar/ svn-cache/ f09b4d75- de0e-0410- b1fd-fcac8770fd 67 plugins. svn.core. SubversionExcep tion: ("REPORT request failed on '/svnroot/ [...]/! svn/vcc/ default' ", 175002)
Initialising Subversion metadata cache in /Users/
bzr: ERROR: bzrlib.
Traceback (most recent call last): Python/ 2.5/site- packages/ bzrlib/ commands. py", line 893, in run_bzr_ catch_errors Python/ 2.5/site- packages/ bzrlib/ commands. py", line 839, in run_bzr Python/ 2.5/site- packages/ bzrlib/ commands. py", line 539, in run_argv_aliases **all_cmd_ args) Python/ 2.5/site- packages/ bzrlib/ builtins. py", line 981, in run branch= br_from) Python/ 2.5/site- packages/ bzrlib/ plugins/ svn/remote. py", line 64, in sprout Access, self).sprout(*args, **kwargs) Python/ 2.5/site- packages/ bzrlib/ bzrdir. py", line 1117, in sprout repo.fetch( source_ repository, revision_ id=revision_ id) Python/ 2.5/site- packages/ bzrlib/ repository. py", line 1021, in fetch ghosts= find_ghosts) Python/ 2.5/site- packages/ bzrlib/ plugins/ svn/fetch. py", line 833, in fetch _fetch_ switch( self.source. transport. get_svn_ repos_root( ), needed, pb) Python/ 2.5/site- packages/ bzrlib/ plugins/ svn/fetch. py", line 778, in _fetch_switch inventory_ contents( reporter, parent_inv, parent_revnum, start_empty) Python/ 2.5/site- packages/ bzrlib/ plugins/ svn/fetch. py", line 602, in report_ inventory_ contents finish( ) tion: ("REPORT request failed on '/svnroot/ [...]/! svn/vcc/ default' ", 175002)
File "/Library/
return run_bzr(argv)
File "/Library/
ret = run(*run_argv)
File "/Library/
return self.run(
File "/Library/
source_
File "/Library/
return super(SvnRemote
File "/Library/
result_
File "/Library/
find_
File "/Library/
self.
File "/Library/
report_
File "/Library/
reporter.
SubversionExcep
bzr 1.10 on python 2.5.1 (darwin) local/bin/ bzr', 'branch', 'https://[...].svn. sourceforge. net/svnroot/ [...]'] Python/ 2.5/site- packages/ bzrlib/ plugins/ bzrtools [1.10] Python/ 2.5/site- packages/ bzrlib/ plugins/ email [unknown] Python/ 2.5/site- packages/ bzrlib/ plugins/ extmerge [unknown] Python/ 2.5/site- packages/ bzrlib/ plugins/ launchpad [unknown] Python/ 2.5/site- packages/ bzrlib/ plugins/ loom [1.4dev] Python/ 2.5/site- packages/ bzrlib/ plugins/ qbzr [0.9.5] Python/ 2.5/site- packages/ bzrlib/ plugins/ rebase [0.4dev] Python/ 2.5/site- packages/ bzrlib/ plugins/ search [1.7dev] Python/ 2.5/site- packages/ bzrlib/ plugins/ svn [0.4.16] Python/ 2.5/site- packages/ bzrlib/ plugins/ upload [0.1.1] /bugs.launchpad .net/bzr/ +filebug
arguments: ['/usr/
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'
plugins:
bzrtools /Library/
email /Library/
extmerge /Library/
launchpad /Library/
loom /Library/
qbzr /Library/
rebase /Library/
search /Library/
svn /Library/
upload /Library/
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.