View Single Post
Old 05-16-2009, 04:20 AM   #64
hanche
Enthusiast
hanche began at the beginning.
 
Posts: 29
Karma: 10
Join Date: Feb 2009
Device: iRex reader 1000S
Quote:
Originally Posted by thomega View Post
The SQLite database complains that a request to delete a record would violate one of its internal constraints. I have checked some more verbose error messages into the svn. Could I ask you to try the reproduce the behaviour with them?

Also, could you send me the metadata.db file, so that I could investigate? Did the file contain annotations?

A temporary workaround should be rm filename.pdf followed by irext update. Does it work?
I got the same result with the new version, no more verbose error messages. irext update seemed to work, and it removed the file, but when I looked in metadata.db with sqlite3, the metadata was still there (but it appears the reader itself removed it after it regained control). Yes, there were annotations in the file. Now I fiddled around trying to reproduce the problem (I had removed the file, remember), and failed to do so. There must have been some odd circumstance that made it fail, and we'll have to wait for the problem to reappear before we can test it again.

Now to a slightly different topic: make opt failed for me because ld on the Mac doesn't like -rpath=…, it wants the pathname argument separately, as in -rpath …. I believe other versions of ld also understand this format, so I think you can just replace -Wld,-rpath=… in Makefile.in by -Wld,-rpath,…. (Or else, it will have to another thing for configure to work out.) This worked on the Mac, at least. Also, there are some occurences of make that really ought to be $(MAKE) (I see you have it right where it counts the most, though.)
hanche is offline   Reply With Quote