Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Other formats > LRF

Notices

Reply
 
Thread Tools Search this Thread
Old 10-23-2008, 04:28 AM   #61
elinares
Xtreme Quijote
elinares doesn't litterelinares doesn't litterelinares doesn't litter
 
elinares's Avatar
 
Posts: 101
Karma: 208
Join Date: Sep 2008
Location: La Mancha, Spain
Device: Sony PRS-505
Version 0.9.134 has regression errors. Corrected at version 0.9.136.
Sorry for the inconvenience.
elinares is offline   Reply With Quote
Old 10-23-2008, 01:19 PM   #62
elinares
Xtreme Quijote
elinares doesn't litterelinares doesn't litterelinares doesn't litter
 
elinares's Avatar
 
Posts: 101
Karma: 208
Join Date: Sep 2008
Location: La Mancha, Spain
Device: Sony PRS-505
I've incorporated an EPUB Viewer (see thumbs). Very basic for now, but using xhtmlrenderer from Sun (Supports CSS 2.1) as LGPL. I'm trying to share source code at sourceforge this weekend.

New Version 0.9.137 with new action 'view epubfile' . See initial post in a while...

P.D. I belive this starts to be a little off-topic (epub viewer must go to another thread?)
Attached Thumbnails
Click image for larger version

Name:	Alice.jpg
Views:	996
Size:	148.1 KB
ID:	17247  
elinares is offline   Reply With Quote
Advert
Old 10-23-2008, 05:22 PM   #63
igorsk
Wizard
igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.
 
Posts: 3,442
Karma: 300001
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
Don't use Sourceforge... better check Google Code or Mobileread's Dev Hub.
igorsk is offline   Reply With Quote
Old 10-23-2008, 06:40 PM   #64
elinares
Xtreme Quijote
elinares doesn't litterelinares doesn't litterelinares doesn't litter
 
elinares's Avatar
 
Posts: 101
Karma: 208
Join Date: Sep 2008
Location: La Mancha, Spain
Device: Sony PRS-505
Quote:
Originally Posted by igorsk View Post
Don't use Sourceforge... better check Google Code or Mobileread's Dev Hub.
OK, I'll take a look on them.

Posted new version 0.9.137.
elinares is offline   Reply With Quote
Old 10-25-2008, 06:41 AM   #65
elinares
Xtreme Quijote
elinares doesn't litterelinares doesn't litterelinares doesn't litter
 
elinares's Avatar
 
Posts: 101
Karma: 208
Join Date: Sep 2008
Location: La Mancha, Spain
Device: Sony PRS-505
I've posted source code at http://code.google.com/p/lrf-epub-tools/
elinares is offline   Reply With Quote
Advert
Old 10-28-2008, 03:19 PM   #66
elinares
Xtreme Quijote
elinares doesn't litterelinares doesn't litterelinares doesn't litter
 
elinares's Avatar
 
Posts: 101
Karma: 208
Join Date: Sep 2008
Location: La Mancha, Spain
Device: Sony PRS-505
New Version 0.9.148

New version.
Attached Thumbnails
Click image for larger version

Name:	Dibujo-alicia.jpg
Views:	963
Size:	248.6 KB
ID:	17387  
elinares is offline   Reply With Quote
Old 10-28-2008, 04:19 PM   #67
JeffElkins
Guru
JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.
 
JeffElkins's Avatar
 
Posts: 780
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
Very nice! Thanks for the continued effort on this badly needed tool.
JeffElkins is offline   Reply With Quote
Old 11-02-2008, 01:05 PM   #68
NoelEiffe
Junior Member
NoelEiffe began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Oct 2008
Device: Kindle
More errors

Hi there...

Trying to run this tool ...

Using this command (on a mac in terminal):

java -Xms200M -Xmx300M -jar LRFTools-v0.9.148.jar action convert dir -HTML -noo


Getting these errors:

Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java :675)
at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader .java:260)
at java.net.URLClassLoader.access$100(URLClassLoader. java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java: 195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 16)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:280)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 51)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:374)

Not quite sure what I might be doing wrong here...any ideas?

Thanks much...

Noel
NoelEiffe is offline   Reply With Quote
Old 11-03-2008, 06:35 PM   #69
elinares
Xtreme Quijote
elinares doesn't litterelinares doesn't litterelinares doesn't litter
 
elinares's Avatar
 
Posts: 101
Karma: 208
Join Date: Sep 2008
Location: La Mancha, Spain
Device: Sony PRS-505
Quote:
Originally Posted by NoelEiffe View Post
Hi there...

Trying to run this tool ...

Using this command (on a mac in terminal):

java -Xms200M -Xmx300M -jar LRFTools-v0.9.148.jar action convert dir -HTML -noo


Getting these errors:

Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java :675)
at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader .java:260)
at java.net.URLClassLoader.access$100(URLClassLoader. java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java: 195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 16)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:280)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 51)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:374)

Not quite sure what I might be doing wrong here...any ideas?

Thanks much...

Noel
It seems to be a problem with JVM (Java) Version. I've compiled LRFTools with latest SDK (1.6), so try to upgrade your JRE or SDK with it.
Thanks for testing,
Eladio
elinares is offline   Reply With Quote
Old 11-11-2008, 05:06 PM   #70
badgoodDeb
Grand Sorcerer
badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.
 
badgoodDeb's Avatar
 
Posts: 8,516
Karma: 64095689
Join Date: Jan 2008
Location: Harrisburg outskirts
Device: Palms, K1-4s, iPads, iPhones, KV, KO1
@NoelEiffe: On a mac, I had to go to http://apple.com/downloads and explicitly search for java 1.6 .... but it *is* available. Just doesn't seem to download unless you go and ask for it. Oh, I had to relink the "Current" directory of the javas to point to the 1.6 one, too.

However, using a similar command:
java -Xms200M -Xmx300M -jar LRFTools-v0.9.148.jar convert "LRFs" -RTF -noo

I got this error:
Apple AWT Startup Exception : *** - [NSCFArray insertObject:atIndex:]} attempt to insert nil
Apple AWT Restarting Native Event Thread

Any clues about this? It said the same thing for -HTML and for -RTF and for -PDF. (Didn't try -XML) Oddly, converting to -EPUB *did* work (fantastically, thank you so very much!!) So I used Stanza to read the EPUB files and export as mobipocket, my final target.

But any idea why the insert nil error with 3 formats and not with EPUB ?
badgoodDeb is offline   Reply With Quote
Old 11-12-2008, 06:29 PM   #71
elinares
Xtreme Quijote
elinares doesn't litterelinares doesn't litterelinares doesn't litter
 
elinares's Avatar
 
Posts: 101
Karma: 208
Join Date: Sep 2008
Location: La Mancha, Spain
Device: Sony PRS-505
Quote:
Originally Posted by badgoodDeb View Post
@NoelEiffe: On a mac, I had to go to http://apple.com/downloads and explicitly search for java 1.6 .... but it *is* available. Just doesn't seem to download unless you go and ask for it. Oh, I had to relink the "Current" directory of the javas to point to the 1.6 one, too.

However, using a similar command:
java -Xms200M -Xmx300M -jar LRFTools-v0.9.148.jar convert "LRFs" -RTF -noo

I got this error:
Apple AWT Startup Exception : *** - [NSCFArray insertObject:atIndex:]} attempt to insert nil
Apple AWT Restarting Native Event Thread

Any clues about this? It said the same thing for -HTML and for -RTF and for -PDF. (Didn't try -XML) Oddly, converting to -EPUB *did* work (fantastically, thank you so very much!!) So I used Stanza to read the EPUB files and export as mobipocket, my final target.

But any idea why the insert nil error with 3 formats and not with EPUB ?
Hi, look at http://blog.nominet.org.uk/tech/2008...-event-thread/; it seems you have a problem with your java configuration.
Thanks for testing,
Eladio
elinares is offline   Reply With Quote
Old 11-13-2008, 02:44 PM   #72
badgoodDeb
Grand Sorcerer
badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.badgoodDeb ought to be getting tired of karma fortunes by now.
 
badgoodDeb's Avatar
 
Posts: 8,516
Karma: 64095689
Join Date: Jan 2008
Location: Harrisburg outskirts
Device: Palms, K1-4s, iPads, iPhones, KV, KO1
Thank you!! What they describe in there is EXACTLY what I did. I was uneasy about it at the time, too. I'll go fix it.
badgoodDeb is offline   Reply With Quote
Old 11-16-2008, 03:17 PM   #73
Seleuco
Junior Member
Seleuco began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2008
Device: Sony prs-505
Hola. Gran trabajo (good work)

Im using Java(TM) SE Runtime Environment (build 1.6.0_07-b06)

Some bugs i found:

- Otelo - Shakespeare.lrf makes a big crash.

- PDF: Bug with spanish fonts bad.jpg <-> good.jpg. Be nice to put an index from lrf metadatawith hyperlinks in the PDF.

- Epub: Double spaces between words? is wrong (ugly) with the Ebook viewer calibre and with the Stanza in the iphone with styles on.

- Epub: Images sometimes in incorrect order, varius epub null pointers, not working hyperlinks from TOC (clicking is not going to the relevant section)

In spanish:

- El lrf de otelo peta la JVM.
- PDF: Fallos con fuentes bad.jpg <-> good.jpg. Seria genial que metiera un indice a partir de la metada del lrf con hiperenlaces.
- Epub: mete doble espacios entre palabras? se ve mal con el Ebook viewer de calibre y con el stanza del iphone si aplicas estilos.
- Epub: imagenes a veces en orden incorrecto e incluso dadas la vuelta,fallos de null pointer, no funciona los hiperenlaces del TOC (si pinchas no va a la sección correspondiente)


Te adjunto ejemplos. Un saludote.
Attached Thumbnails
Click image for larger version

Name:	bad.JPG
Views:	948
Size:	17.4 KB
ID:	17942   Click image for larger version

Name:	good.JPG
Views:	938
Size:	25.4 KB
ID:	17943   Click image for larger version

Name:	epub.JPG
Views:	960
Size:	44.9 KB
ID:	17944  
Attached Files
File Type: txt output.txt (277.8 KB, 2612 views)
File Type: zip books.zip (1.35 MB, 849 views)

Last edited by Seleuco; 11-16-2008 at 03:41 PM.
Seleuco is offline   Reply With Quote
Old 11-18-2008, 11:43 AM   #74
elinares
Xtreme Quijote
elinares doesn't litterelinares doesn't litterelinares doesn't litter
 
elinares's Avatar
 
Posts: 101
Karma: 208
Join Date: Sep 2008
Location: La Mancha, Spain
Device: Sony PRS-505
Quote:
Originally Posted by Seleuco View Post
Hola. Gran trabajo (good work)

Im using Java(TM) SE Runtime Environment (build 1.6.0_07-b06)

Some bugs i found:

- Otelo - Shakespeare.lrf makes a big crash.

- PDF: Bug with spanish fonts bad.jpg <-> good.jpg. Be nice to put an index from lrf metadatawith hyperlinks in the PDF.

- Epub: Double spaces between words? is wrong (ugly) with the Ebook viewer calibre and with the Stanza in the iphone with styles on.

- Epub: Images sometimes in incorrect order, varius epub null pointers, not working hyperlinks from TOC (clicking is not going to the relevant section)

In spanish:

- El lrf de otelo peta la JVM.
- PDF: Fallos con fuentes bad.jpg <-> good.jpg. Seria genial que metiera un indice a partir de la metada del lrf con hiperenlaces.
- Epub: mete doble espacios entre palabras? se ve mal con el Ebook viewer de calibre y con el stanza del iphone si aplicas estilos.
- Epub: imagenes a veces en orden incorrecto e incluso dadas la vuelta,fallos de null pointer, no funciona los hiperenlaces del TOC (si pinchas no va a la sección correspondiente)


Te adjunto ejemplos. Un saludote.
Try new version 0.9.158; some of the bugs are corrected.
I'll try to fix others when i get some time...

***sorry***
Me ayudaría si identificases cada bug con el libro y página que lo tiene. Si no, tendría que repasar todos los libros uno por uno!
***End sorry***
Thanks for testing,
Eladio
elinares is offline   Reply With Quote
Old 11-18-2008, 06:31 PM   #75
recordsmith
Member
recordsmith began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Oct 2007
Device: Blackberry Curve
Hey guys,

I am new to running Java. Could someone tell me how to run this program? I am running OS X10.5. I have downloaded it. Now when I try to run the command on the first page I get "Unable to access LRFT..." What is the process for running the program?

Thanks
Jon
recordsmith is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
A real PDF to epub/djvu/rtf/html software?. DsOft ePub 35 01-02-2011 04:57 PM
PRS-700 Unable to convert pdf to other formats (epub/rtf/doc) testndtv Sony Reader 1 09-24-2010 02:45 PM
How to create non-embedded Unicode EPUB,LRF,TXT,RTF,PDF alexmobile Sony Reader 1 09-23-2009 11:04 PM
Calibre PDF conversions - LRF/EPUB vs RTF jackie_w Calibre 14 09-22-2009 04:06 PM
[Old Thread] unable to convert ebooks(rtf, txt,lit,html,pdf) to lrf in calibre .4.131 jackdeth191 Calibre 9 05-02-2009 03:55 AM


All times are GMT -4. The time now is 04:05 AM.


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