You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Stephan Hermann <sh...@sourcecode.de> on 2003/08/01 07:41:53 UTC
Re: failure during string recode ;)
Hi,
On Thursday 31 July 2003 22:27, Philip Martin wrote:
> Stephan Hermann <sh...@sourcecode.de> writes:
> > subversion/libsvn_client/commit.c:292: (apr_err=22)
> > svn: Invalid argument
> > svn: error during import of
> > `testrepos/content/mediaways/webguides/entertainment/filmreporter/trailer
> >' subversion/libsvn_subr/utf.c:173: (apr_err=22)
> > svn: failure during string recoding
> > subversion/clients/cmdline/util.c:364: (apr_err=22)
> > svn: Your commit message was left in a temporary file:
> > subversion/clients/cmdline/util.c:364: (apr_err=22)
> > svn: 'svn-commit.14.tmp'
>
> This is most likely to be caused by a file or directory in the
> directory
>
> testrepos/content/mediaways/webguides/entertainment/filmreporter/trailer
>
> that has a name that contains characters that cannot be converted from
> your current locale into UTF-8.
>
> Yes, it's a crap error message :-(
well, but it can't be, that this filename is different from another.
This error occurs at different locations, and no, i didn't remove the files
where this error occured in the past.
btw, the filenames are all us-ascii based, the current locale on each system i
tried is C, no de, no ru etc :)
And, this error occured in the interval of 300 to 350MB.
regards,
\sh
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: failure during string recode ;)
Posted by Stephan Hermann <sh...@sourcecode.de>.
hi,
On Friday 01 August 2003 13:39, Philip Martin wrote:
> > well, but it can't be, that this filename is different from another.
>
> Feel free to debug it yourself
>
> $ gdb svn
> (gdb) b main
> (gdb) r import path URL
> Breakpoint 1, main
> (gdb) b utf.c:173
> (gdb) c
> Breakpoint 2, convert_to_stringbuf
> (gdb) p src_data
> (gdb) bt
i got it, you were right, with the special chars.
I have POSIX as locale setting, and some of the filenames are with iso-8859-15
charset.
but now i'm running really into a problem.
I have several trees, which were managed by some people from diff. countries.
I checked now the trees, and they're using also sometimes their special chars
of their native language :(
well, is there a workaround to do those converting actions without using the
system locale setting ?
I can't set all the time a different locale on this machine, just because in
the future those people will have to access the repository online via webdav.
so, there have to be another solution.
regarsd,
\sh
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: failure during string recode ;)
Posted by Philip Martin <ph...@codematters.co.uk>.
Stephan Hermann <sh...@sourcecode.de> writes:
> On Thursday 31 July 2003 22:27, Philip Martin wrote:
>> Stephan Hermann <sh...@sourcecode.de> writes:
>> > subversion/libsvn_client/commit.c:292: (apr_err=22)
>> > svn: Invalid argument
>> > svn: error during import of
>> > `testrepos/content/mediaways/webguides/entertainment/filmreporter/trailer
>> >' subversion/libsvn_subr/utf.c:173: (apr_err=22)
>> > svn: failure during string recoding
>> > subversion/clients/cmdline/util.c:364: (apr_err=22)
>> > svn: Your commit message was left in a temporary file:
>> > subversion/clients/cmdline/util.c:364: (apr_err=22)
>> > svn: 'svn-commit.14.tmp'
>>
>> This is most likely to be caused by a file or directory in the
>> directory
>>
>> testrepos/content/mediaways/webguides/entertainment/filmreporter/trailer
>>
>> that has a name that contains characters that cannot be converted from
>> your current locale into UTF-8.
>>
>> Yes, it's a crap error message :-(
>
> well, but it can't be, that this filename is different from another.
Feel free to debug it yourself
$ gdb svn
(gdb) b main
(gdb) r import path URL
Breakpoint 1, main
(gdb) b utf.c:173
(gdb) c
Breakpoint 2, convert_to_stringbuf
(gdb) p src_data
(gdb) bt
--
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org