monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] mtn: fatal: std::logic_error: paths.cc:294: invaria


From: Derek Scherger
Subject: Re: [Monotone-devel] mtn: fatal: std::logic_error: paths.cc:294: invariant 'I(utf8_validate(utf8(path)))' violated
Date: Sun, 08 Apr 2007 21:42:04 -0600
User-agent: Thunderbird 1.5.0.10 (X11/20070304)

Rainer Keller wrote:
> I was doing an update from the database to my local repo. The given file in 
> this error should not be changed by this update. But I seems to be a general 
> problem with handling german umlaute like "öäü" in filenames or directories.
> For example:
> ~/own>touch blä
> ~/own>mtn add blä
> ?: error: failed to convert string from ANSI_X3.4-1968 to UTF-8: 'blä'

My guess is that your locale is not set correctly. What does locale say?

i.e.

$ locale
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
$ mtn add blä
?: error: failed to convert string from ANSI_X3.4-1968 to UTF-8: 'blä'

but...

$ export LANG=en_CA.UTF8
$ locale
LANG=en_CA.UTF-8
LC_CTYPE="en_CA.UTF-8"
LC_NUMERIC="en_CA.UTF-8"
LC_TIME="en_CA.UTF-8"
LC_COLLATE="en_CA.UTF-8"
LC_MONETARY="en_CA.UTF-8"
LC_MESSAGES="en_CA.UTF-8"
LC_PAPER="en_CA.UTF-8"
LC_NAME="en_CA.UTF-8"
LC_ADDRESS="en_CA.UTF-8"
LC_TELEPHONE="en_CA.UTF-8"
LC_MEASUREMENT="en_CA.UTF-8"
LC_IDENTIFICATION="en_CA.UTF-8"
LC_ALL=
$ $ mtn add blä
mtn: adding blä to workspace manifest








reply via email to

[Prev in Thread] Current Thread [Next in Thread]