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 03-06-2009, 12:09 PM   #46
Olli
Junior Member
Olli began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Mar 2009
Location: Frankfurt
Device: iRex DR1000S
Wow, thanks ghostwheel!

I tried to compile irextools myself and even succeeded, but "ism" did never find a scribble in any of my pdfs:

$ ism -scribbles /Users/olli/Desktop/WritePads/Blank\ 002.pdf

ism: not scribbles for /Users/olli/Desktop/WritePads/Blank 002.pdf in /Users/andiskater/Desktop/WritePads/metadata.db

Don't know why, compile seemed to be successful...

In contrary you iRexTools.app works great and I finally have my scribbles as pdfs :-)
Olli is offline   Reply With Quote
Old 03-19-2009, 02:16 PM   #47
johnsidi
Junior Member
johnsidi began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Nov 2006
Device: Iliad
I tried to run irextools.app in a virtual machine of Leopard 10 but it does not work.
I get the following message error:

Fatal error: exception Pdfread.PDFReadError ("Could not extract object").

Is there any suggestion about a possible solution to this problem?
Thanks,
Ioannis
johnsidi is offline   Reply With Quote
Advert
Old 03-19-2009, 04:32 PM   #48
pthwaite
Fanatic
pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.pthwaite has a complete set of Star Wars action figures.
 
pthwaite's Avatar
 
Posts: 597
Karma: 430
Join Date: Aug 2008
Location: Ellesmere Port, UK
Device: DR1000S Sony PRS505 iPad iPhone
If you're on a MAC why not just run Ghostwheel's prepackaged version? It works fine on my Mac running 10.5.6.

One thing to note is that the application only merges pdf scribbles, not those made on different documents ie jpgs.
pthwaite is offline   Reply With Quote
Old 03-19-2009, 07:18 PM   #49
ghostwheel
Zealot
ghostwheel has learned how to buy an e-book online
 
Posts: 133
Karma: 93
Join Date: May 2006
Device: DBoox Max,Galaxy note 10.1 & 3,LE1700 tablet,sony PRS-500,iRex DR1000S
Quote:
Originally Posted by johnsidi View Post
I tried to run irextools.app in a virtual machine of Leopard 10 but it does not work.
I get the following message error:

Fatal error: exception Pdfread.PDFReadError ("Could not extract object").
I'm not sure. I don't even know what a virtual machine of Leopard 10 is.... is it something like vmware running on something else?

Maybe try something like this, in a terminal:
/Applications/iRexTools.app/Contents/Resources/ism --help

(assuming you installed iRexTools.app in /Applications)
Does it run correctly? Do you get the help message?
ghostwheel is offline   Reply With Quote
Old 04-07-2009, 05:55 AM   #50
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
Suggestion for possible tweaks

I am afraid that I am not able to understand the code of your program (first I should learn ocaml and this seems a lot of work), but I guess it would not be difficult to allow the use of different colors for the scribbles: i.e., to choose the colour depending on the size used while writing on the DR.

I am thinking in something like that:
1. size1 scribbles are merged using red colour,
2. size2 scribbles are merged using yellow colour,
3. size3 scribbles are merged using blue colour,
4. etc

This would be great because we could use different sizes depending on what we want that the scribble means, and later once we merge the file in the PC we would be able to distinguish these different meanings from the colour (for example, when I read math papers I use orange to point out definitions, yellow to point out theorems-statements, etc).


By the way, does anyone know if this is possible to be done with the original software from Irex? [I do not have a windows computer and so I cannot check it on my own]

Last edited by godel10; 04-07-2009 at 05:56 AM. Reason: Misprints
godel10 is offline   Reply With Quote
Advert
Old 04-07-2009, 10:36 AM   #51
tjdean256
Zealot
tjdean256 is on a distinguished road
 
Posts: 138
Karma: 70
Join Date: Jan 2009
Location: Louisiana
Device: irex dr1000s; Pocket edge
Has anyone successfully compiled "ism" for windows? I tried but got stuck on a call to a memory address outside the 16-bit address restrictions of the 16-bit DOS box.

td
tjdean256 is offline   Reply With Quote
Old 04-08-2009, 11:07 AM   #52
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
I am afraid that I am not able to understand the code of your program (first I should learn ocaml and this seems a lot of work)
Shouldn't be too hard for you: it's essentially applied category theory
Quote:
Originally Posted by godel10 View Post
but I guess it would not be difficult to allow the use of different colors for the scribbles: i.e., to choose the colour depending on the size used while writing on the DR.
That's a great idea and trivial to implement. The hardest part is to come up with a convenient yet flexible way for the user to specify the colors. I'll do it as soon as I find some time.
thomega is offline   Reply With Quote
Old 04-10-2009, 08:08 AM   #53
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
Shouldn't be too hard for you: it's essentially applied category theory.
You are right, I already know it what a slip


hahahaha, wonderful reply, I was laughing during several minutes.
godel10 is offline   Reply With Quote
Old 04-21-2009, 01:27 PM   #54
Cliffe
Member
Cliffe began at the beginning.
 
Posts: 10
Karma: 45
Join Date: Apr 2009
Device: DR1000S
I added it to the DR software wiki:
https://wiki.mobileread.com/wiki/Digital_Reader_Software

Is there a compiled version for Windows yet? Or a RPM packaged version for Linux?
Cliffe is offline   Reply With Quote
Old 04-22-2009, 05:20 AM   #55
hanche
Enthusiast
hanche began at the beginning.
 
Posts: 29
Karma: 10
Join Date: Feb 2009
Device: iRex reader 1000S
I am also getting the “ism: not scribbles” error. Annoying. I compiled on MacOS 10.5.6, PowerPC, using the latest xcode and ocaml, sqlite3 from macports.

Unfortunately, ghostwheel's prepackaged version is no help because it is compiled for Intel only.

Possibly, the problem is related to the following error in the configure stage?

Code:
ocamlfind ocamlmktop -o sqlite3top sqlite3.cma
make: ocamlfind: Command not found
make: *** [sqlite3top] Error 127
ocaml-sqlite3 build successful
It appears the configure script has an odd notion of success.

Anyway, “make opt” ended in failure:

Code:
/opt/local/bin/ocamlopt -o ism.opt -I /local/src/irex/irextools-0.3/libs/ocaml-sqlite3-1.2.0 -I /local/src/irex/irextools-0.3/libs/camlpdf-0.3 -cclib -L/local/src/irex/irextools-0.3/libs/ocaml-sqlite3-1.2.0 -cclib -Wl,-rpath=/local/src/irex/irextools-0.3/libs/ocaml-sqlite3-1.2.0 sqlite3.cmxa -I /local/src/irex/irextools-0.3/libs/ocaml-sqlite3-1.2.0 -I /local/src/irex/irextools-0.3/libs/camlpdf-0.3 -cclib -L/local/src/irex/irextools-0.3/libs/camlpdf-0.3 -cclib -Wl,-rpath=/local/src/irex/irextools-0.3/libs/camlpdf-0.3 unix.cmxa bigarray.cmxa str.cmxa camlpdf.cmxa irextools.cmxa ism.cmx
File "_none_", line 1, characters 0-1:
Error: Cannot find file sqlite3.cmxa
make: *** [ism.opt] Error 2
but plain “make” appeared to work, so I used that instead. irext appears to work ok, but ism does not.
hanche is offline   Reply With Quote
Old 04-23-2009, 02:07 PM   #56
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 am also getting the “ism: not scribbles” error. Annoying. [...] irext appears to work ok, but ism does not.
What is the output of irext ls -l for the files that contain scribbles? Does it report them? (Which would be odd, because both use the same SQLite3 interface).

From the error message, it appears that you don't have ocamlfind installed and ocaml-sqlite3 depends on it for moving the libraries to a place where ocamlc and ocamlopt can find them. Therefore sqlite3.cmxa and sqlite3.cma are never installed. Why irext and ism are linked anyway is not easy to understand, but there might be an incompatible version somewhere.
thomega is offline   Reply With Quote
Old 04-24-2009, 04:42 AM   #57
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
What is the output of irext ls -l for the files that contain scribbles? Does it report them? (Which would be odd, because both use the same SQLite3 interface).

From the error message, it appears that you don't have ocamlfind installed and ocaml-sqlite3 depends on it for moving the libraries to a place where ocamlc and ocamlopt can find them. Therefore sqlite3.cmxa and sqlite3.cma are never installed. Why irext and ism are linked anyway is not easy to understand, but there might be an incompatible version somewhere.
Ah. I hadn't realized that ocamlfind is a separate entity, as opposed to being an integral part of a typical ocaml system. I found it and installed it, and irextool now compiles without any error messages. I had to patch Makefile.in first, however, since the OSX ld doesn't understand -rpath=…:

Code:
--- Makefile.in.ORIG	2009-01-17 14:21:58.000000000 +0100
+++ Makefile.in	2009-04-24 09:28:25.000000000 +0200
@@ -83,13 +83,13 @@
 OCAML_SQLITE3_OCAMLC = $(INCFLAGS) -cclib -L$(OCAML_SQLITE3_PATH) \
 	$(OCAML_SQLITE3_DLL) sqlite3.cma
 OCAML_SQLITE3_OCAMLOPT = $(INCFLAGS) -cclib -L$(OCAML_SQLITE3_PATH) \
-	-cclib -Wl,-rpath=$(OCAML_SQLITE3_PATH) sqlite3.cmxa
+	-cclib "-Wl,-rpath $(OCAML_SQLITE3_PATH)" sqlite3.cmxa
 
 CAMLPDF_DLL = -dllpath $(CAMLPDF_PATH)
 CAMLPDF_OCAMLC = $(INCFLAGS) -cclib -L$(CAMLPDF_PATH) \
 	$(CAMLPDF_DLL) camlpdf.cma
 CAMLPDF_OCAMLOPT = $(INCFLAGS) -cclib -L$(CAMLPDF_PATH) \
-	-cclib -Wl,-rpath=$(CAMLPDF_PATH) unix.cmxa bigarray.cmxa str.cmxa camlpdf.cmxa
+	-cclib "-Wl,-rpath $(CAMLPDF_PATH)" unix.cmxa bigarray.cmxa str.cmxa camlpdf.cmxa
Anyway, here are the outputs of both ism and irext ls -l:
Code:
; ism /Volumes/IREX16G/Temporary/ARentydighet.pdf
ism: not scribbles for /Volumes/IREX16G/Temporary/ARentydighet.pdf in /Volumes/IREX16G/Temporary/metadata.db
; irext ls -l /Volumes/IREX16G/Temporary/ARentydighet.pdf
--- pdf ---- 20s  1b  0u    477688 2009-02-23 19:17:02 /Volumes/IREX16G/Temporary/ARentydighet.pdf
    scribble @ page   1, layer    , title "          ",  44 strokes,  966 points,  12688 bytes
    scribble @ page   2, layer    , title "          ",  48 strokes,  851 points,  11404 bytes
    scribble @ page   3, layer    , title "          ",  30 strokes,  478 points,   6496 bytes
    scribble @ page   4, layer    , title "          ",  11 strokes,  201 points,   2716 bytes
    scribble @ page   5, layer    , title "          ",  35 strokes,  724 points,   9568 bytes
    scribble @ page   6, layer    , title "          ",  42 strokes, 1268 points,  16264 bytes
    scribble @ page   7, layer    , title "          ",  14 strokes,  298 points,   3952 bytes
    scribble @ page   8, layer    , title "          ",  64 strokes, 1319 points,  17404 bytes
    scribble @ page   9, layer    , title "          ", 120 strokes, 3065 points,  39700 bytes
    scribble @ page  10, layer    , title "          ",  59 strokes, 1135 points,  15076 bytes
    scribble @ page  11, layer    , title "          ",  48 strokes, 1023 points,  13468 bytes
    bookmark @ page  11, layer    , title "   Page 11", 254412 bytes
    scribble @ page  12, layer    , title "          ",  91 strokes, 2110 points,  27544 bytes
    scribble @ page  13, layer    , title "          ",  65 strokes, 1239 points,  16468 bytes
    scribble @ page  14, layer    , title "          ",  30 strokes,  670 points,   8800 bytes
    scribble @ page  15, layer    , title "          ", 105 strokes, 2147 points,  28324 bytes
    scribble @ page  16, layer    , title "          ",  82 strokes, 1542 points,  20512 bytes
    scribble @ page  17, layer    , title "          ",  26 strokes,  557 points,   7348 bytes
    scribble @ page  18, layer    , title "          ",  14 strokes,  590 points,   7456 bytes
    scribble @ page  19, layer    , title "          ", 124 strokes, 2647 points,  34780 bytes
    scribble @ page  20, layer    , title "          ", 117 strokes, 1914 points,  25816 bytes
This is after I recompiled, but the result was the same before I did.
hanche is offline   Reply With Quote
Old 04-25-2009, 09:00 AM   #58
chrisf
Junior Member
chrisf began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Mar 2009
Device: irex 1000s
Great software that I'll never be able to use?

Dear all,

I'll be honest: I haven't got a clue what ANY of you are talking about.

However, I would absolutely love to be able to use this utility on my PC.

Is there a version that I can download and just use? Something simple and easy to use, that doesn't involve compiling, or writing code, or having an IQ of 180?

Yours feeling rather thick in London, but hoping that you are the altruistic bunch you seem to be.

Chris
chrisf is offline   Reply With Quote
Old 04-25-2009, 10:54 AM   #59
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
the outputs of both ism and irext ls -l:
Code:
; ism /Volumes/IREX16G/Temporary/ARentydighet.pdf
ism: not scribbles for /Volumes/IREX16G/Temporary/ARentydighet.pdf in /Volumes/IREX16G/Temporary/metadata.db
; irext ls -l /Volumes/IREX16G/Temporary/ARentydighet.pdf
--- pdf ---- 20s  1b  0u    477688 2009-02-23 19:17:02 /Volumes/IREX16G/Temporary/ARentydighet.pdf
    scribble @ page   1, layer    , title "          ",  44 strokes,  966 points,  12688 bytes
    scribble @ page   2, layer    , title "          ",  48 strokes,  851 points,  11404 bytes
...
This is after I recompiled, but the result was the same before I did.
That's bizarre . I have to go back to the drawing board and find a way how this is even possible, since both programs use the same interface library . Obviously, I made a mistake somewhere (in addition to spelling "no" as "not")...
thomega is offline   Reply With Quote
Old 04-30-2009, 09:20 AM   #60
hanche
Enthusiast
hanche began at the beginning.
 
Posts: 29
Karma: 10
Join Date: Feb 2009
Device: iRex reader 1000S
Found a workaround

Quote:
Originally Posted by thomega View Post
That's bizarre . I have to go back to the drawing board and find a way how this is even possible, since both programs use the same interface library . Obviously, I made a mistake somewhere (in addition to spelling "no" as "not")...
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.
hanche 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 12:57 AM.


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