monotone-devel
[Top][All Lists]
Advanced

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

[Monotone-devel] Re: Another weird one, seems to be 'rename' related...


From: Richard Levitte - VMS Whacker
Subject: [Monotone-devel] Re: Another weird one, seems to be 'rename' related...
Date: Tue, 21 Sep 2004 10:59:50 +0200 (CEST)

Actually, I found out what was up.  The ancestor revision didn't
exist!  I've grepped through a dump, looking for
6a7b9bed51abc89bc6cf69bc0cd0121e4f13fe57, and there was no such thing
at all.  How this happened is beyond me, but simply doing a diff, then
checking out a new copy of the head of that branch and applying the
diff on it worked.

I've no idea how I got in this situation...

Cheers,
Richard

In message <address@hidden> on Mon, 20 Sep 2004 11:47:09 +0200 (CEST), Richard 
Levitte - VMS Whacker <address@hidden> said:

richard> Hi,
richard> 
richard> it seems like I've hit another thing with rename (or so I gather from
richard> the log.
richard> 
richard> Simply put, I'm doing a commit, and in MT/work, there is the
richard> following:
richard> 
richard>   add
richard>    crypto/x509v3/v3_pci.c
richard>   rename
richard>    crypto/x509v3/v3_prca.c
richard>    crypto/x509v3/v3_pcia.c
richard> 
richard> The error I'm getting is this:
richard> 
richard>   monotone: fatal: std::logic_error: database.cc:787: invariant 
'I(delta_exists(ident, delta_table))' violated
richard> 
richard> Here's the log, after I type my pass phrase:
richard> 
richard>   enter passphrase for key ID address@hidden: 
richard>   monotone: running arc4 process on 634 bytes of data
richard>   monotone: building signer from 634-byte decrypted private key
richard>   monotone: base64-decoding 859-byte private key
richard>   monotone: running arc4 process on 634 bytes of data
richard>   monotone: building signer from 634-byte decrypted private key
richard>   monotone: base64-decoding 859-byte private key
richard>   monotone: running arc4 process on 634 bytes of data
richard>   monotone: building signer from 634-byte decrypted private key
richard>   monotone: produced 128-byte signature
richard>   monotone: db.fetch("SELECT id FROM 'manifest_certs' WHERE id = 
'a6990f3411f3eb349dcc03c3380cd72bd0089ab3' AND name = 'ancestor' AND value = 
'NmE3YjliZWQ1MWFiYzg5YmM2Y2Y2OWJjMGNkMDEyMWU0ZjEzZmU1Nw==
richard>   ' AND keypair = 'address@hidden' AND signature = 'EGey63xk5vl
richard>   monotone: db.fetch("SELECT id FROM 'manifest_deltas' WHERE id = 
'a6990f3411f3eb349dcc03c3380cd72bd0089ab3'")
richard>   monotone: db.fetch("SELECT id FROM 'manifests' WHERE id = 
'a6990f3411f3eb349dcc03c3380cd72bd0089ab3'")
richard>   monotone: db.execute("INSERT INTO 'manifest_certs' 
VALUES('3bd98d00a5e8bb6800e8fc19f44ac6f32 ...")
richard>   monotone: lua isfunction() failed in get_fn
richard>   monotone: db.fetch("SELECT id from private_keys")
richard>   monotone: cert: signable text 
address@hidden:c2Uua3RoLnBkYy5yZmMzODIwLm9wZW5zc2wuMF85XzgtZGV2LnJmYzM4MjA=]
richard>   monotone: produced 128-byte signature
richard>   monotone: db.fetch("SELECT id FROM 'manifest_certs' WHERE id = 
'a6990f3411f3eb349dcc03c3380cd72bd0089ab3' AND name = 'branch' AND value = 
'c2Uua3RoLnBkYy5yZmMzODIwLm9wZW5zc2wuMF85XzgtZGV2LnJmYzM4MjA=
richard>   ' AND keypair = 'address@hidden' AND signature = 'MwfrclrHD
richard>   monotone: db.execute("INSERT INTO 'manifest_certs' 
VALUES('b58f4ceb15427fb743a2e2a41394b0af0 ...")
richard>   monotone: lua isfunction() failed in get_fn
richard>   monotone: db.fetch("SELECT id from private_keys")
richard>   monotone: cert: signable text 
address@hidden:MjAwNC0wOS0yMFQwOTozMTo0Mg==]
richard>   monotone: produced 128-byte signature
richard>   monotone: db.fetch("SELECT id FROM 'manifest_certs' WHERE id = 
'a6990f3411f3eb349dcc03c3380cd72bd0089ab3' AND name = 'date' AND value = 
'MjAwNC0wOS0yMFQwOTozMTo0Mg==
richard>   ' AND keypair = 'address@hidden' AND signature = 
'TMEh5KmCxX9cLzGibkaTkkYRNNXJGCBixwvPPEN111a
richard>   monotone: db.execute("INSERT INTO 'manifest_certs' 
VALUES('5ca75a550d6fde1cd682ab6e083e69624 ...")
richard>   monotone: lua isfunction() failed in get_fn
richard>   monotone: lua isfunction() failed in get_fn
richard>   monotone: db.fetch("SELECT id from private_keys")
richard>   monotone: lua isfunction() failed in get_fn
richard>   monotone: db.fetch("SELECT id from private_keys")
richard>   monotone: cert: signable text 
address@hidden:cmljaGFyZEBsZXZpdHRlLm9yZw==]
richard>   monotone: produced 128-byte signature
richard>   monotone: db.fetch("SELECT id FROM 'manifest_certs' WHERE id = 
'a6990f3411f3eb349dcc03c3380cd72bd0089ab3' AND name = 'author' AND value = 
'cmljaGFyZEBsZXZpdHRlLm9yZw==
richard>   ' AND keypair = 'address@hidden' AND signature = 
'MmyBg8DnirOe+v5Bt0/o5bSGva0QRDMGCxxAeNY1N
richard>   monotone: db.execute("INSERT INTO 'manifest_certs' 
VALUES('593a5489c093347e7254697f1e148128a ...")
richard>   monotone: lua isfunction() failed in get_fn
richard>   monotone: db.fetch("SELECT id from private_keys")
richard>   monotone: cert: signable text 
address@hidden:QWRkIHRoZSBQcm94eSBDZXJ0IEluZm8gcGFyc2VyIGFuZCBwcmludGVyLgpBZGQgYW4gZXhhbXBsZSBQcm94eSBDZXJ0IGV4dGVybnNpb24uCm1ha2UgdXBkYXRl]
richard>   monotone: produced 128-byte signature
richard>   monotone: db.fetch("SELECT id FROM 'manifest_certs' WHERE id = 
'a6990f3411f3eb349dcc03c3380cd72bd0089ab3' AND name = 'changelog' AND value = 
'QWRkIHRoZSBQcm94eSBDZXJ0IEluZm8gcGFyc2VyIGFuZCBwcmludGVyLgpBZGQgYW4gZXhh
richard>   bXBsZSBQcm94eSBDZXJ0IGV4dGVybnNpb24uCm1ha2UgdXBkY
richard>   monotone: db.execute("INSERT INTO 'manifest_certs' 
VALUES('fcdb4c0c6b41aa69decf2071d22272386 ...")
richard>   monotone: db.fetch("SELECT id, name, value, keypair, signature FROM 
'manifest_certs' WHERE id = 'a6990f3411f3eb349dcc03c3380cd72bd0089ab3' AND name 
= 'rename'")
richard>   monotone: db.fetch("SELECT id FROM 'manifests' WHERE id = 
'6a7b9bed51abc89bc6cf69bc0cd0121e4f13fe57'")
richard>   monotone: reconstructing 6a7b9bed51abc89bc6cf69bc0cd0121e4f13fe57 in 
manifest_deltas
richard>   monotone: db.fetch("SELECT id FROM 'manifest_deltas' WHERE id = 
'6a7b9bed51abc89bc6cf69bc0cd0121e4f13fe57'")
richard>   monotone: database.cc:787: invariant 'I(delta_exists(ident, 
delta_table))' violated
richard>   monotone: db.execute("ROLLBACK")
richard>   monotone: discarding debug log
richard>   monotone: fatal: std::logic_error: database.cc:787: invariant 
'I(delta_exists(ident, delta_table))' violated
richard> 
richard> Please help me figure this out.

-----
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.

-- 
Richard Levitte                         address@hidden
                                        http://richard.levitte.org/

"When I became a man I put away childish things, including
 the fear of childishness and the desire to be very grown up."
                                                -- C.S. Lewis




reply via email to

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