monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] bug report and help


From: Nathaniel Smith
Subject: Re: [Monotone-devel] bug report and help
Date: Mon, 25 Aug 2008 01:55:20 -0700

On Sun, Aug 24, 2008 at 11:13 PM, Chifung Fan <address@hidden> wrote:
> after sync'ing a remove database to my local db, I forgot to do a "mtn
> merge" and did a "mtn update" instead.  Then the error popped up.

That's fine, you never *have* to merge in monotone.

> Is the database corrupted?   How do I recover the db?

The database is fine.

> mtn update
> mtn: updating along branch 'com.capok.lbs'
> mtn: selected update target efdb260f25bd9d208a18410d6d2ba16c2522b052
> mtn: [left]  7cc1a9963084affeafb499ecadfe26346c50e156
> mtn: [right] efdb260f25bd9d208a18410d6d2ba16c2522b052
> mtn: fatal: std::logic_error: paths.cc:411: invariant
> 'I(utf8_validate(utf8(data)) && !has_bad_component_chars(data) && data !=
> "." && data != "..")' violated
> mtn: this is almost certainly a bug in monotone.
> mtn: please send this error message, the output of 'mtn version --full',
> mtn: and a description of what you were doing to address@hidden
> mtn: wrote debugging log to /crypt/home/chifung/work/prj/lbs/_MTN/debug
> mtn: if reporting a bug, please include this file

The problem is that there's a path -- probably the name of a file in
your workspace -- where monotone is encountering some charset
confusion.  (Usually, the pathname is in something besides utf8 but
monotone is expecting only utf8, or something like that.)

If you look at file listed in the output --
/crypt/home/chifung/work/prj/lbs/_MTN/debug -- then somewhere right
near the bottom it should tell you the name of the problematic file.

-- Nathaniel




reply via email to

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