monotone-devel
[Top][All Lists]
Advanced

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

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


From: Matthew Welland
Subject: Re: [Monotone-devel] Re: monotone on n800 - mtn: error: sqlite error: file is encrypted or is not a database
Date: Wed, 19 Dec 2007 08:03:46 -0700
User-agent: KMail/1.9.6 (enterprise 0.20070907.709405)

I tested a little more. Monotone works great on the device but gives the 
error listed when run inside scratchbox. Any suggestions as to how to find 
the root cause of the problem in scratchbox? No problems with writing 
to /tmp or the dir where the .db was.

On Wednesday 19 December 2007 01:15:06 am Koen Kooi wrote:
> 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
>
>
>
>
> _______________________________________________
> Monotone-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/monotone-devel



-- 
http://www.kiatoa.com, fight for a better world.




reply via email to

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