monotone-devel
[Top][All Lists]
Advanced

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

[Monotone-devel] Re: monotone on n800 - mtn: error: sqlite error: file i


From: Koen Kooi
Subject: [Monotone-devel] Re: monotone on n800 - mtn: error: sqlite error: file is encrypted or is not a database
Date: Wed, 19 Dec 2007 09:15:06 +0100
User-agent: Thunderbird 2.0.0.9 (Macintosh/20071031)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Matthew Welland schreef:
> Monotone compiles without complaint (that I noticed) but I can't seem to 
> access any databases:
> 
> [sbox-CHINOOK_ARMEL: ~/src/ftfplan] > mtn --db=my.db ls branches
> mtn: error: sqlite error: file is encrypted or is not a database
> mtn: error: (if this is a database last used by monotone 0.16 or older,
> mtn: error: you must follow a special procedure to make it usable again.
> mtn: error: see the file UPGRADE, in the distribution, for instructions.)
> 
> Using sqlite3 directly I can inspect and dump the db (I created the db by 
> using:
> 
> mtn --db=my.db db load < blah.sql
> 
> Which appeared to work fine. This is all in scratchbox:
> 
> [sbox-CHINOOK_ARMEL: ~/src/ftfplan] > uname -a
> Linux xena 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 arm 
> GNU/Linux
> 
> [sbox-CHINOOK_ARMEL: ~/src/monotone-0.38] > file mtn
> mtn: ELF 32-bit LSB executable, ARM, version 1 (SYSV), for GNU/Linux 2.6.8, 
> dynamically linked (uses shared libs), stripped
> 
> Has monotone been used on ARM before?

Yes, I have used it on arm and armeb succesfully before. Your error
sounds like either:

* no locking support in your FS (e.g. mtn doesn't work on nfs)
* no write access to the current dir (e.g. mtn can't write out the journal)
* no write access to /tmp (happened to me before, dunno the reason)

hopes this helps,

Koen

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFHaNMKMkyGM64RGpERAomFAKC8w9g4sZOJn4FskcyOEvJWd3XeOgCbBYrr
kOQbI8hnlC6+jdHfrvNNAIs=
=X2AR
-----END PGP SIGNATURE-----





reply via email to

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