Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 02-13-2007, 05:57 PM   #16
didischuster
Junior Member
didischuster began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2007
Device: iRex Iliad
Does not work at all for me

I use Linux. If I start the application and choose a directory or a diffrent merge type I get an error like the follow:

Exception during event dispatch:
java.lang.NullPointerException
at javax.swing.plaf.basic.BasicTextUI.getVisibleEdito rRect(libgcj.so.70)
at javax.swing.plaf.basic.BasicTextUI$DocumentHandler .removeUpdate(libgcj.so.70)
at javax.swing.text.AbstractDocument.fireRemoveUpdate (libgcj.so.70)
at javax.swing.text.AbstractDocument.removeImpl(libgc j.so.70)
at javax.swing.text.AbstractDocument.remove(libgcj.so .70)
at javax.swing.text.AbstractDocument.replace(libgcj.s o.70)
at javax.swing.text.JTextComponent.setText(libgcj.so. 70)
at iliadpdfscribblemerger.ScribbleMergeForm.FixDestin ation(ScribbleMergeForm.java:822)
at iliadpdfscribblemerger.ScribbleMergeForm.rbtMTExis tingActionPerformed(ScribbleMergeForm.java:792)
at iliadpdfscribblemerger.ScribbleMergeForm.access$50 0(ScribbleMergeForm.java:30)
at iliadpdfscribblemerger.ScribbleMergeForm$6.actionP erformed(ScribbleMergeForm.java:163)
at javax.swing.AbstractButton.fireActionPerformed(lib gcj.so.70)
at javax.swing.AbstractButton$1.actionPerformed(libgc j.so.70)
at javax.swing.DefaultButtonModel.fireActionPerformed (libgcj.so.70)
at javax.swing.JToggleButton$ToggleButtonModel.setPre ssed(libgcj.so.70)
at javax.swing.plaf.basic.BasicButtonListener.mouseRe leased(libgcj.so.70)
at java.awt.AWTEventMulticaster.mouseReleased(libgcj. so.70)
at java.awt.Component.processMouseEvent(libgcj.so.70)
at java.awt.Component.processEvent(libgcj.so.70)
at java.awt.Container.processEvent(libgcj.so.70)
at java.awt.Component.dispatchEventImpl(libgcj.so.70)
at java.awt.Container.dispatchEventImpl(libgcj.so.70)
at java.awt.Component.dispatchEvent(libgcj.so.70)
at java.awt.LightweightDispatcher.handleMouseEvent(li bgcj.so.70)
at java.awt.LightweightDispatcher.dispatchEvent(libgc j.so.70)
at java.awt.Container.dispatchEventImpl(libgcj.so.70)
at java.awt.Window.dispatchEventImpl(libgcj.so.70)
at java.awt.Component.dispatchEvent(libgcj.so.70)
at java.awt.EventQueue.dispatchEvent(libgcj.so.70)
at java.awt.EventDispatchThread.run(libgcj.so.70)
didischuster is offline   Reply With Quote
Old 02-17-2007, 05:50 AM   #17
Bert
Enthusiast
Bert plays well with othersBert plays well with othersBert plays well with othersBert plays well with othersBert plays well with othersBert plays well with othersBert plays well with othersBert plays well with othersBert plays well with othersBert plays well with othersBert plays well with others
 
Posts: 43
Karma: 2898
Join Date: Jan 2007
Location: Belgium
Device: iRex iLiad, PRS-600
Quote:
Originally Posted by lsz
Thanks for the quick response. The [Merge in existing file, keep manifest] option now works (and is very useful!). However, the [Create New] fails to do anything and the [Replace all] gives the following error:
...
It seems I had to do more testing before releasing this! I have an old Linux box standing around here somewhere ... I'll check if I can use that one to test this app in Linux.

I have fixed the problem with the 'create new' option (I introduced a bug with the path-separators), and I am pretty sure I fixed your last problem also; I changed the way to delete the source directory (Until now I deleted the pdf, manifest, scribbles and directory manually, now I delete everything in the source directory - so no files could be left).
Can you report it if everything works OK now for you?

PS: Sorry for the late reply, I had a very pretty busy week and didn't have the time (nor the energy) to check things here.
Attached Files
File Type: zip ILiadPdfScribbleMerger 1.3.zip (1.77 MB, 404 views)
Bert is offline   Reply With Quote
 
Enthusiast
Old 02-17-2007, 05:38 PM   #18
lsz
Junior Member
lsz began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2007
Quote:
Originally Posted by Bert
Can you report it if everything works OK now for you?
Nice work. Everything works perfectly now (on Mac OS 10.4.8 with Java 1.5.0_06). Thanks!

Last edited by lsz; 02-17-2007 at 05:40 PM.
lsz is offline   Reply With Quote
Old 02-18-2007, 11:00 AM   #19
didischuster
Junior Member
didischuster began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2007
Device: iRex Iliad
It still does not work, there is no diffrence for me to the last version.
didischuster is offline   Reply With Quote
Old 02-24-2007, 02:02 PM   #20
BACbKA
мокрец
BACbKA began at the beginning.
 
Posts: 52
Karma: 28
Join Date: Jan 2007
Location: Israel
Device: palm, iliad
Quote:
Originally Posted by Bert
Can you report it if everything works OK now for you?
Doesn't work here. Used the latest (1.3) version as per the instructions in this thread:

Code:
vassilii@ilmarinen:/tmp$ java -jar ILiadPdfScribbleMerger.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: iliadpdfscribblemerger/Main (Unsupported major.minor version 49.0)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
vassilii@ilmarinen:/tmp$ java -version
java version "1.4.2-03"
Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.4.2-03)
Java HotSpot(TM) Client VM (build Blackdown-1.4.2-03, mixed mode)
I understand that I have an incompatible runtime version, but it definitely satisfies the "at least 1.4" requirement you gave.
BACbKA is offline   Reply With Quote
Old 02-24-2007, 05:44 PM   #21
Bert
Enthusiast
Bert plays well with othersBert plays well with othersBert plays well with othersBert plays well with othersBert plays well with othersBert plays well with othersBert plays well with othersBert plays well with othersBert plays well with othersBert plays well with othersBert plays well with others
 
Posts: 43
Karma: 2898
Join Date: Jan 2007
Location: Belgium
Device: iRex iLiad, PRS-600
Fix for java 1.4.2, Linux

I finally found the time to fiddle around with an old Linux box (with java 1.4.2 installed) to check if things where working like they should ... and they didn't.

Because I only used classes and libraries fit for 1.4, I expected everything to work in 1.4 even though I wrote the app in 1.5 (and didn't test it in 1.4 ). Some of the methods methods didn't exist in 1.4 though (like string.format), and those where easy to fix.

So here's a version identical to the 1.3 from earlier, except from some internal changes to work in java 1.4.2. This version also definately works in Linux (well, it does on my old Mandriva 2005 pc).
Attached Files
File Type: zip ILiadPdfScribbleMerger 1.3.1.zip (1.78 MB, 333 views)
Bert is offline   Reply With Quote
Old 02-25-2007, 02:09 PM   #22
BACbKA
мокрец
BACbKA began at the beginning.
 
Posts: 52
Karma: 28
Join Date: Jan 2007
Location: Israel
Device: palm, iliad
thanks, Bert. Works like a charm, same PC. It's a Debian etch x86 box, btw.

Are you planning to release the sources?
BACbKA is offline   Reply With Quote
Old 02-26-2007, 03:08 PM   #23
kusmi
Connoisseur
kusmi began at the beginning.
 
kusmi's Avatar
 
Posts: 73
Karma: 16
Join Date: Jul 2006
Location: Zurich, Switzerland
Very cool tool, works like a charm on my mac.

Just one question :-) Do you also have a command-line version of this one? E.g. instead of launching the Java-Swing app, it would be great to have some control for command-line operation, e.g. something like

java -jar "ILiadPdfScribbleMerger.jar" -i input-folder -o output.pdf

I'm building my own setup here so I could automate the whole conversion process

Anyway, many thanks for your tool, I like it very much!!!
kusmi is offline   Reply With Quote
Old 02-26-2007, 06:34 PM   #24
Bert
Enthusiast
Bert plays well with othersBert plays well with othersBert plays well with othersBert plays well with othersBert plays well with othersBert plays well with othersBert plays well with othersBert plays well with othersBert plays well with othersBert plays well with othersBert plays well with others
 
Posts: 43
Karma: 2898
Join Date: Jan 2007
Location: Belgium
Device: iRex iLiad, PRS-600
On the request of kusmi: version 1.4 allows merging with the command line
(try -? for usage details, launching without arguments starts the GUI)
Attached Files
File Type: zip ILiadPdfScribbleMerger 1.4.zip (1.78 MB, 372 views)
Bert is offline   Reply With Quote
Old 02-27-2007, 03:40 AM   #25
kusmi
Connoisseur
kusmi began at the beginning.
 
kusmi's Avatar
 
Posts: 73
Karma: 16
Join Date: Jul 2006
Location: Zurich, Switzerland
Wow, you are a maniac - that was fast :-) Many many thanks!!!
kusmi is offline   Reply With Quote
Old 02-27-2007, 07:16 AM   #26
Adam B.
Addicted to Porting
Adam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the rough
 
Adam B.'s Avatar
 
Posts: 1,695
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
Quote:
Originally Posted by BACbKA
thanks, Bert. Works like a charm, same PC. It's a Debian etch x86 box, btw.

Are you planning to release the sources?
It's java, so you can easily tear it apart and view the source if you like.
Adam B. is offline   Reply With Quote
Old 02-27-2007, 07:39 AM   #27
BACbKA
мокрец
BACbKA began at the beginning.
 
Posts: 52
Karma: 28
Join Date: Jan 2007
Location: Israel
Device: palm, iliad
Quote:
Originally Posted by Adam B.
It's java, so you can easily tear it apart and view the source if you like.
If you mean that the jar can include the sources, then, currently, it doesn't.
I am aware of relatively easy reverse-engineering of Java class files, but my question was related to whether the sources are going to be released under some free software license (because I didn't want to bother Bert with small feature requests w/o patches).
BACbKA is offline   Reply With Quote
Old 02-27-2007, 07:40 AM   #28
jęd
Evangelist
jęd has a complete set of Star Wars action figures.jęd has a complete set of Star Wars action figures.jęd has a complete set of Star Wars action figures.
 
Posts: 458
Karma: 293
Join Date: May 2006
Quote:
Originally Posted by Adam B.
It's java, so you can easily tear it apart and view the source if you like.
Yep, but its aways easier if the author decides to release a src tar ball...
jęd is offline   Reply With Quote
Old 02-27-2007, 09:50 AM   #29
Adam B.
Addicted to Porting
Adam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the rough
 
Adam B.'s Avatar
 
Posts: 1,695
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
Quote:
Originally Posted by jęd
Yep, but its aways easier if the author decides to release a src tar ball...
This is true, but I learned the magic of dissasembling JAR files in one of my college classes. I loved it when the professor provided us with an example file.
Adam B. is offline   Reply With Quote
Old 02-27-2007, 09:55 AM   #30
Adam B.
Addicted to Porting
Adam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the rough
 
Adam B.'s Avatar
 
Posts: 1,695
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
Quote:
Originally Posted by BACbKA
I am aware of relatively easy reverse-engineering of Java class files, but my question was related to whether the sources are going to be released under some free software license (because I didn't want to bother Bert with small feature requests w/o patches).
Agreed. GPL'ing the code and hosting it on sourceforge or google projects would make things much easier.
Adam B. is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Merge part I & II of downloaded pdf book swaneelee Calibre 4 07-01-2010 10:21 PM
DR800 PDF annotation merge tool? CoolDragon iRex 1 06-21-2010 02:56 PM
Merge feature request (different merge) Tarran Calibre 1 05-24-2010 10:57 AM
Problem with merging scribbles to PDF file MikeTr iRex 2 01-15-2010 03:45 AM
Merging Scribbles with Pdf jęd iRex 15 12-20-2006 04:40 AM


All times are GMT -4. The time now is 07:16 AM.


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