Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex

Notices

Reply
 
Thread Tools Search this Thread
Old 05-03-2009, 06:16 AM   #61
thomega
Connoisseur
thomega began at the beginning.
 
Posts: 56
Karma: 22
Join Date: Oct 2008
Location: Würzburg, Germany
Device: iRex DR1000S
Quote:
Originally Posted by hanche View Post
I discovered how to make it work: If you cd into the directory where the pdf file resides then ism finds the scribbles and merges them just fine. I am not at all sure why this is so, but now that you know a workaround, maybe you can figure out what is going on.
I had forgotten to strip the directory from the filename before querying the database. It's fixed in the SVN repository.
thomega is offline   Reply With Quote
Old 05-11-2009, 11:41 AM   #62
hanche
Enthusiast
hanche began at the beginning.
 
Posts: 29
Karma: 10
Join Date: Feb 2009
Device: iRex reader 1000S
Thumbs down irext rm won't work

Okay, next bug … If I try to run “irext rm filename.pdf”, I get the response

Code:
Fatal error: exception ThoSQLite3.Unexpected("single_step", "CONSTRAINT")
Any idea what could cause this?
hanche is offline   Reply With Quote
Old 05-11-2009, 06:14 PM   #63
thomega
Connoisseur
thomega began at the beginning.
 
Posts: 56
Karma: 22
Join Date: Oct 2008
Location: Würzburg, Germany
Device: iRex DR1000S
Quote:
Originally Posted by hanche View Post
Any idea what could cause this?
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?
thomega is offline   Reply With Quote
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
Old 07-03-2009, 01:11 PM   #65
rkboyce
Junior Member
rkboyce began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jul 2009
Location: Pittsburgh, USA
Device: iRex 1000S
irextools test suite issues

Thanks a bunch to the author of this tool. It was key to helping me decide to purchase the Irex 1000S. I just wanted to report that the issues that I have had with 'test' target of the Makefile for irextools-0.3.

I successfully installed the suite on my laptop running Debian Lenny after installing the 'ocaml' and 'sqlite3' packages. However, running 'make test' from the base folder of the project produces the errors that I have listed below. I do not have my reader yet (coming next week) so I do not know if these errors indicate a problem with irextools. The commands 'ism' and 'irext' appear to execute with no errors but I did not see a way to manually test the programs since I don't have the reader in my possession.

thanks

-------------------

richnix% pwd
/home/boycerd/Downloads/irextools-0.3
richnix% make test
make -C testing bin
make[1]: Entering directory `/home/boycerd/Downloads/irextools-0.3/testing'
make[1]: Nothing to be done for `bin'.
make[1]: Leaving directory `/home/boycerd/Downloads/irextools-0.3/testing'
make -C testing run
make[1]: Entering directory `/home/boycerd/Downloads/irextools-0.3/testing'
./test_suite
....EEEEEE
================================================== ====================
Error: iRex Tools:2:Metadata_File:1:not empty db

Invalid_argument("database file ./metadata.db exists!")
----------------------------------------------------------------------
================================================== ====================
Error: iRex Tools:2:Metadata_File:0:empty db

ThoSQLite3.Unexpected("get_integer", "NULL")
----------------------------------------------------------------------
================================================== ====================
Error: iRex Tools:1:Cp & Mv:3:mv (no db)

ThoSQLite3.Unexpected("get_integer", "NULL")
----------------------------------------------------------------------
================================================== ====================
Error: iRex Tools:1:Cp & Mv:2:mv

ThoSQLite3.Unexpected("get_integer", "NULL")
----------------------------------------------------------------------
================================================== ====================
Error: iRex Tools:1:Cp & Mv:1:cp (no db)

ThoSQLite3.Unexpected("get_integer", "NULL")
----------------------------------------------------------------------
================================================== ====================
Error: iRex Tools:1:Cp & Mv:0:cp

ThoSQLite3.Unexpected("get_integer", "NULL")
----------------------------------------------------------------------
Ran: 10 tests in: 0.03 seconds.
FAILED: Cases: 10 Tried: 10 Errors: 6 Failures: 0 Skip:0 Todo:0
make[1]: *** [run] Error 1
make[1]: Leaving directory `/home/boycerd/Downloads/irextools-0.3/testing'
make: *** [test] Error 2
rkboyce is offline   Reply With Quote
Old 07-04-2009, 01:08 PM   #66
thomega
Connoisseur
thomega began at the beginning.
 
Posts: 56
Karma: 22
Join Date: Oct 2008
Location: Würzburg, Germany
Device: iRex DR1000S
Quote:
Originally Posted by rkboyce View Post
I just wanted to report that the issues that I have had with 'test' target of the Makefile for irextools-0.3.
Something changed in the SQLite that comes with Debian Lenny. There's a working workaround in the current svn version, but I'm not happy with it because I don't fully understand what's going on. (Note to self: make a new release anyway)
thomega is offline   Reply With Quote
Old 07-05-2009, 04:55 PM   #67
rkboyce
Junior Member
rkboyce began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jul 2009
Location: Pittsburgh, USA
Device: iRex 1000S
Quote:
Originally Posted by thomega View Post
Something changed in the SQLite that comes with Debian Lenny. There's a working workaround in the current svn version, but I'm not happy with it because I don't fully understand what's going on. (Note to self: make a new release anyway)
Thanks for the quick reply. I downloaded and built the svn version and 'make test' runs with no errors on my laptop. I look forwarded to giving the code a work out within a week or so.

-rdb
rkboyce is offline   Reply With Quote
Old 08-05-2009, 04:12 PM   #68
godel10
Connoisseur
godel10 doesn't littergodel10 doesn't littergodel10 doesn't litter
 
Posts: 80
Karma: 204
Join Date: Jun 2007
Device: Sony Librie, Irex DR1000S
Quote:
Originally Posted by rkboyce View Post
Thanks for the quick reply. I downloaded and built the svn version and 'make test' runs with no errors on my laptop. I look forwarded to giving the code a work out within a week or so.

-rdb

I would like to try the svn version (because I have the same "test" problem), but what is the download link for the svn version?
godel10 is offline   Reply With Quote
Old 08-05-2009, 06:01 PM   #69
thomega
Connoisseur
thomega began at the beginning.
 
Posts: 56
Karma: 22
Join Date: Oct 2008
Location: Würzburg, Germany
Device: iRex DR1000S
Quote:
Originally Posted by godel10 View Post
what is the download link for the svn version?
Go to http://forge.ocamlcore.org/scm/?group_id=60 and ye shall find (including a link to download a tarball of the current svn version).
thomega is offline   Reply With Quote
Old 08-06-2009, 06:44 AM   #70
godel10
Connoisseur
godel10 doesn't littergodel10 doesn't littergodel10 doesn't litter
 
Posts: 80
Karma: 204
Join Date: Jun 2007
Device: Sony Librie, Irex DR1000S
Quote:
Originally Posted by thomega View Post
Go to http://forge.ocamlcore.org/scm/?group_id=60 and ye shall find (including a link to download a tarball of the current svn version).
Thanks for the link. I have succeeded to download this last version, but now I do not know how to compile it (I guess the source is in the "trunk" folder); this time there is no "./configure" script to launch.

Could anyone tell me how to compile it?
godel10 is offline   Reply With Quote
Old 08-06-2009, 01:41 PM   #71
thomega
Connoisseur
thomega began at the beginning.
 
Posts: 56
Karma: 22
Join Date: Oct 2008
Location: Würzburg, Germany
Device: iRex DR1000S
Quote:
Originally Posted by godel10 View Post
this time there is no "./configure" script to launch.

Could anyone tell me how to compile it?
  1. (preferred) run the commnd autoconf in the directory (trunk) where the file configure.ac resides, this will create configure
  2. (last resort) the old configure script should work
thomega is offline   Reply With Quote
Old 08-06-2009, 04:30 PM   #72
godel10
Connoisseur
godel10 doesn't littergodel10 doesn't littergodel10 doesn't litter
 
Posts: 80
Karma: 204
Join Date: Jun 2007
Device: Sony Librie, Irex DR1000S
Quote:
Originally Posted by thomega View Post
  1. (preferred) run the commnd autoconf in the directory (trunk) where the file configure.ac resides, this will create configure
  2. (last resort) the old configure script should work
Thanks, this time I succeeded using autoconf.
godel10 is offline   Reply With Quote
Old 08-10-2009, 01:24 AM   #73
Myself
Junior Member
Myself began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2009
Device: none
Thank you! This is a marvelous tool.

One question: is there an easy way to change the color of the scribbles?
Myself is offline   Reply With Quote
Old 08-10-2009, 10:36 AM   #74
thomega
Connoisseur
thomega began at the beginning.
 
Posts: 56
Karma: 22
Join Date: Oct 2008
Location: Würzburg, Germany
Device: iRex DR1000S
Quote:
Originally Posted by Myself View Post
is there an easy way to change the color of the scribbles?
ism's options -color and -opacity come to mind, as relvealed by the option -help . The former accepts all the color names that showrgb produces.
thomega is offline   Reply With Quote
Old 08-14-2009, 06:06 PM   #75
Myself
Junior Member
Myself began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2009
Device: none
Quote:
Originally Posted by thomega View Post
ism's options -color and -opacity come to mind, as relvealed by the option -help . The former accepts all the color names that showrgb produces.
Ah, well. I'm using the Mac binary. I've tried playing around with calling it from the command line with various arguments but that doesn't seem to work. Let me poke around and see if I can figure out how it works.
Myself is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Portable Linux version of Sigil readx Sigil 9 09-03-2010 02:59 AM
Portable version? Toxaris Sigil 3 05-21-2010 09:58 AM
Iliad Java Scribble Merger curbarthedog iRex 0 03-16-2009 03:16 PM
New PDF scribble merger from iRex Adam B. iRex 1 11-28-2007 01:21 PM
Scribble merger kills bookmarks Scifier iRex 5 04-04-2007 04:59 PM


All times are GMT -4. The time now is 07:19 PM.


MobileRead.com is a privately owned, operated and funded community.