[Top][All Lists]

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

[Monotone-devel] Re: invariant 'I(converted != NULL)'

From: graydon hoare
Subject: [Monotone-devel] Re: invariant 'I(converted != NULL)' violated
Date: Wed, 02 Feb 2005 14:43:06 -0500
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)

Peter Simons wrote:

I've got another one:

  $ monotone commit --message 'Test: äöüß'
  monotone: fatal: std::logic_error: \
    invariant 'I(converted != NULL)' violated

Apparently Monotone can't deal with the umlauts in the
commit message.

not precisely. it certainly *can* commit such messages (I just did so), but it gets cranky if you try to commit them from an environment in which neither LANG, LC_CTYPE, LC_ALL, or CHARSET are set to the source codeset (such as UTF-8).

I'll admit, it's a terrible error message. but it's a legitimate conversion failure if you're telling it to read umlauts from, say, LANG=C (which implies the input form is ASCII). what does your environment look like?

note also that if you're trying to do this from an autotest script, autotest takes the liberty of resetting LANG, LC_CTYPE, and LC_ALL before running each command, so you're stuck having to use CHARSET for autotest scripts.


reply via email to

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