[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

UTF-8 problem when trying to load dumps

From: Benjamin Hiller <hiller_at_zib.de>
Date: 2005-01-14 15:29:01 CET

Hi,

I wanted to convert my existing repos to the new "fsfs" format available
with subversion 1.1. So I just dumped the repo to a file, created a new
repo using the other database backend and tried to load the dump file into
the new repo. I got some mysterious error message.

$> export LANG=de_DE.UTF-8
$> svnadmin create /home/svnadmin/svn1.1_test/buggy --fs-type fsfs
$> svnadmin load /home/svnadmin/svn1.1_test/buggy < /home/svnadmin/dumps/rev_317.dump
<<< Started new transaction, based on original revision 1
     * adding path : work ... done.
svn: Valid UTF-8 data
(hex: 40)
followed by invalid UTF-8 sequence
(hex: a4 05 08 38)

Doing a Google-search I found out there was once a similar problem which
was related to "libapr0" or so. Another person reported that such an error
could be resolved by setting a different "LANG" value. The only thing that
changed were the error messages:

$> export LANG=C
$> svnadmin create /home/svnadmin/svn1.1_test/buggy --fs-type fsfs
$> svnadmin load /home/svnadmin/svn1.1_test/buggy < /home/svnadmin/dumps/rev_317.dump
<<< Started new transaction, based on original revision 1
     * adding path : work ... done.
svn: Can't recode string

$> export LANG=en_US
$> svnadmin create /home/svnadmin/svn1.1_test/buggy --fs-type fsfs
$> svnadmin load /home/svnadmin/svn1.1_test/buggy < /home/svnadmin/dumps/rev_317.dump
<<< Started new transaction, based on original revision 1
     * adding path : work ... done.
svn: Can't open directory '/home/svnadmin/svn1.1_test/buggy/db/transactions/0-1.txn/%G�%@
                                                                                   X`p
                                                                                   ': No such file or directory

I'm using subversion 1.1.2 (R12471) compiled on Jan 7 2005. It
is interesting that there was no error if I switched to BDB as
backend. I just use svn via "file:" and "svn+ssh".

Are there any explanations what went wrong? Please feel free to
request further details if necessary.

Thanks.

Benjamin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 14 18:14:36 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.