I am playing around with a GUI for the windows version of Monotone.
I was testing code for the "add" and "drop" functions
and everything seemed to be working fine.
I "added" and "dropped" several files in a test
directory. After each operation my application runs the monotone
"automate inventory" command, to rebuild the file tree
display. I eventually received the following error message: Error
message: fatal: std::logic_error: change_set.cc:2860: invariant
'I(src.lookahead == EOF)' violated
CONTENTS of
/MT/debug:-------------------------------------------------------------------------------- started up on Windows NT/2000/XP (5.1, build 2600) on ia32 (level 15,
rev 1032)
command line: 'monotone', 'automate', 'inventory'
set locale: LC_CTYPE=English_Canada.1252, LC_MESSAGES=n/a
initial path is G:/My Documents/DBTest
converting 8 bytes from ASCII to UTF-8
converting 8 bytes from ASCII to UTF-8
converting 9 bytes from ASCII to UTF-8
searching for 'MT' directory with root '/'
search for 'MT' ended at 'G:/My Documents/DBTest' with '' removed
initializing from directory G:/My Documents/DBTest
found working copy directory G:/My Documents/DBTest
options path is MT/options
branch name is ''
local dump path is MT/debug
setting dump path to MT/debug
Searching for home directory
Home directory from USERPROFILE
skipping nonexistent rcfile 'C:/Documents and
Settings/GordL/.monotone/monotonerc'
skipping nonexistent rcfile 'MT/monotonerc'
executing automate command
options path is MT/options
revision path is MT/revision
loading revision id from MT/revision
old manifest has 0 entries
work path is MT/work
checking for un-committed work file MT/work
change_set.cc:2860: invariant 'I(src.lookahead == EOF)' violated
------------------------------------------------------------------------------------------------------------------
Output from "monotone
--full-version"------------------------------------------------------------- monotone 0.19 (base revision:
ac4b3dd3c60eb95aa18e01d0f525a5dcfa85567c)
Running on: Windows NT/2000/XP (5.1, build 2600) on ia32 (level 15, rev
1032)
Changes since base revision:
Generated from data cached in the distribution;
further changes may have been made.
Generated from data cached in the distribution;
further changes may have been made.
-----------------------------------------------------------------------------------------------------------------------
After further digging I determined that the MT/work file was identical to
the MT/options file.
I am not certain but this may have happened when I "dropped"
the last file in my working directory.
Note also that it is the very first revision ie the old manifest is
empty.
If I delete the erroneous "work" file everything works
again
CONTENTS of
/MT/options:-------------------------------------------------------------------------------- branch ""
database ""
key ""
------------------------------------------------------------------------------------------------------------------------- CONTENTS of
/MT/work:-------------------------------------------------------------------------------- branch ""
database ""
key ""
-------------------------------------------------------------------------------------------------------------------------
If you have any questions let me know.
Thanks,
Gord Lee
address@hidden
[Prev in Thread]
Current Thread
[Next in Thread]
[Monotone-devel] Error Message From Monotone,
Gord Lee<=