Roger,
I'm a monotone relative newbie too, but a couple things look off to
me. I'll reply now in case the regular monotone guys don't see your
post for a while in case I'm helpful.
First, you have created the database learn.db within the same
directory structure as the working copy. That really seems off to
me, and it gives you the potential of trying to check in a copy of
the database to itself. I'd move the database to another part of
your directory tree altogether.
Second, the "database" line in MT/options is weird because it's using
the shorthand 8 letter filename instead of the full name
"OpenSourceCode". After you fix the first point, this line should
change. Check it again, and if it continues to use a shorthand
filename I'd edit it so it shows the full filename. The debug trace
shows that monotone couldn't find your MT directory, and perhaps
that's because of the shorthand file name.
I'm sure if I'm off that the real gurus will give you the right
answer, but at least this gives you something to try.
Regards,
Howard
At 11:41 AM 10/7/2005, Roger House wrote:
Bug report
I just downloaded monotone onto my Windows XP system and installed it and
began learning it. I did the following:
1. In c:\OpenSourceCode\monotone\learn I created a database learn.db.
2. I used genkey to create a key pair.
3. I created a new project with this command:
monotone --db=learn.db --branch=com.InfoCentricity.rhouse.learn
setup workcopy
4. I looked at the file options in workcopy\MT. It contains
branch "com.InfoCentricity.rhouse.learn"
database "C:/OPENSO~1/Monotone/LEARN/learn.db"
5. I created two files with a text editor, myfile1.txt and myfile2.txt,
each containing a few lines of text.
6. When I tried 'monotone add myfile?.txt' I got this fatal error message:
monotone: fatal: std::logic_error: paths.cc:209: invariant
'I(is_valid_internal(data()))' violated
monotone:
monotone:
monotone: this is almost certainly a bug in monotone.
monotone: please send this error message, the output of 'monotone
--full-version ',
monotone: and a description of what you were doing to
[EMAIL PROTECTED]
monotone: discarding debug log (maybe you want --debug or --dump?)
7. Here is the output from monotone --full-version
monotone 0.23 (base revision: e32d161b8d5cde9f0968998cc332f82f82c27006)
Running on: Windows NT/2000/XP (5.1, build 2600) on ia32 (level 15, rev 521)
Changes since base revision:
new_manifest [68895899b164e1f443f988efef93e8384f1b182a]
old_revision [e32d161b8d5cde9f0968998cc332f82f82c27006]
old_manifest [68895899b164e1f443f988efef93e8384f1b182a]
8. I tried other variations of monotone add, namely
monotone add myfile*
monotone add myfile1.txt myfile2.txt
monotone add myfile1.txt
All of them failed with the same fatal error.
9. I tried moving the text files to another directory and then adding, but
the same error resulting.
10. I tried again with the --debug option and got some more information:
monotone: started up on Windows NT/2000/XP (5.1, build 2600) on ia32
(level 15, rev 521)
monotone: command line: 'MONOTONE', '--debug', 'add', 'myfile1.txt'
monotone: set locale: LC_ALL=English_United States.1252
monotone: initial abs path is: C:/OPENSO~1/Monotone/LEARN/WORKCOPY/MT
monotone: converting 8 bytes from ASCII to UTF-8
monotone: converting 7 bytes from ASCII to UTF-8
monotone: converting 3 bytes from ASCII to UTF-8
monotone: converting 11 bytes from ASCII to UTF-8
monotone: initializing from directory C:/OPENSO~1/Monotone/LEARN/WORKCOPY/MT
monotone: searching for 'MT' directory with root '/'
monotone: 'MT' not found in 'C:/OPENSO~1/Monotone/LEARN/WORKCOPY/MT'
with '' removed
monotone: search for 'MT' ended at
'C:/OPENSO~1/Monotone/LEARN/WORKCOPY' with 'MT' removed
monotone: paths.cc:209: invariant 'I(is_valid_internal(data()))' violated
monotone: saving current work set: 0 items
monotone: finished saving work set
monotone: contents of work set:
monotone: Current work set: 0 items
monotone: statement cache statistics
monotone: prepared 0 statements
monotone: fatal: std::logic_error: paths.cc:209: invariant
'I(is_valid_internal(data()))' violated
monotone:
monotone:
monotone: this is almost certainly a bug in monotone.
monotone: please send this error message, the output of 'monotone
--full-version',
monotone: and a description of what you were doing to
[EMAIL PROTECTED]
monotone: discarding debug log (maybe you want --debug or --dump?)
At the moment it seems that I can't do much with monotone on
Windows. I eagerly await some
resolution of this problem so I can get going. From the
documentation, it looks like monotone
is just the version control system that I am looking for.
Roger House
Software Developer
[EMAIL PROTECTED]
_______________________________________________
Monotone-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monotone-devel
_______________________________________________
Monotone-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monotone-devel