[WebSVN] svn export failed

View: New views
4 Messages — Rating Filter:   Alert me  

[WebSVN] svn export failed

by webpost :: Rate this Message:

| View Threaded | Show Only this Message

Hello,

I installed Websvn on a Linux (SLES) server. On some repositories when I use the 'Download' function I get an error "svn export failed ...". Looking at the apache error log, it seems that the name of some files in the part to export contain extended characters (french one).

What could be the solution for this issue ?

Best regards

------------------------------------------------------
http://websvn.tigris.org/ds/viewMessage.do?dsForumId=1547&dsMessageId=2706512

To unsubscribe from this discussion, e-mail: [dev-unsubscribe@...].

Re: [WebSVN] svn export failed

by Dirk Thomas-2 :: Rate this Message:

| View Threaded | Show Only this Message

Hi,

> I installed Websvn on a Linux (SLES) server. On some repositories when I use the 'Download' function I get an error "svn export failed ...". Looking at the apache error log, it seems that the name of some files in the part to export contain extended characters (french one).
>
> What could be the solution for this issue ?

Could you try to execute the same svn export command using a the shell?
If this fails, please post the exact error message.
Depending on what the problem it might be possible to suggest a workaround.

Dirk

------------------------------------------------------
http://websvn.tigris.org/ds/viewMessage.do?dsForumId=1547&dsMessageId=2707178

To unsubscribe from this discussion, e-mail: [dev-unsubscribe@...].

RE: Re: [WebSVN] svn export failed

by webpost :: Rate this Message:

| View Threaded | Show Only this Message

> Hi,
>
> > I installed Websvn on a Linux (SLES) server. On some repositories when I use the 'Download' function I get an error "svn export failed ...". Looking at the apache error log, it seems that the name of some files in the part to export contain extended characters (french one).
> >
> > What could be the solution for this issue ?
>
> Could you try to execute the same svn export command using a the shell?
> If this fails, please post the exact error message.
> Depending on what the problem it might be possible to suggest a workaround.
>
> Dirk

Hello,

This is the error I got in the apache error log file :

svn: Can't convert string from 'UTF-8' to native encoding:
svn: /tmp/websvnqkj1ou/trunk.r56/02_studies/2_EBE-2010/Workshops/Infra - R?\195?\169seau, NSIE

I tried to do an svn export from the shell (modifying the LANG parameter) but did not get the same error. The only issue I have, when doing it manually, is a weird file name if the right LANG parameter is not selected.

Best regards

------------------------------------------------------
http://websvn.tigris.org/ds/viewMessage.do?dsForumId=1547&dsMessageId=2707388

To unsubscribe from this discussion, e-mail: [dev-unsubscribe@...].

Re: [WebSVN] svn export failed

by Dirk Thomas-2 :: Rate this Message:

| View Threaded | Show Only this Message

Hi,

>>> I installed Websvn on a Linux (SLES) server. On some repositories when I use the 'Download' function I get an error "svn export failed ...". Looking at the apache error log, it seems that the name of some files in the part to export contain extended characters (french one).
>>>
>>> What could be the solution for this issue ?
>>
>> Could you try to execute the same svn export command using a the shell?
>> If this fails, please post the exact error message.
>> Depending on what the problem it might be possible to suggest a workaround.
>>
>> Dirk
>
> Hello,
>
> This is the error I got in the apache error log file :
>
> svn: Can't convert string from 'UTF-8' to native encoding:
> svn: /tmp/websvnqkj1ou/trunk.r56/02_studies/2_EBE-2010/Workshops/Infra - R?\195?\169seau, NSIE
>
> I tried to do an svn export from the shell (modifying the LANG parameter) but did not get the same error. The only issue I have, when doing it manually, is a weird file name if the right LANG parameter is not selected.

you need to set the locale to a reasonable value, so that the french characters can be converted (http://svnbook.red-bean.com/nightly/en/svn.advanced.l10n.html).
Please try to set the locale appropriately by adding a line in setup.php below the existing line 328 (containing setlocate(...)):
setlocale(LC_CTYPE, 'en_US.UTF-8');

Does this modification solve your problem?

Dirk

------------------------------------------------------
http://websvn.tigris.org/ds/viewMessage.do?dsForumId=1547&dsMessageId=2709761

To unsubscribe from this discussion, e-mail: [dev-unsubscribe@...].