04-12-2008, 05:20 PM | #1 |
Zealot
Posts: 138
Karma: 372
Join Date: Apr 2008
Location: New York, NY
Device: Sony PRS-600, Nook Color, iPad
|
Problems converting tor books
This isn't just happening on TOR books, but this one I've been testing with trying to isolate the issue. The book I'm working with is available for free from TOR here. The book is unencrypted. I am able to use mobiperl to convert to HTML, and then to lrf but I'd really like to be able to do this in the gui.
Code:
ValueError: OPF should only refer to files below it. C:\Program Files\libprs500\The_Disunite-tes_of_America.html is above c:\docume~1\edembo~1\locals~1\temp\libprs500stos2qmobi2lrf Failed to perform job: Convert book: Disunited States of America Detailed traceback: Traceback (most recent call last): File "parallel.py", line 139, in run_job File "libprs500\ebooks\lrf\any\convert_from.pyo", line 158, in main File "libprs500\ebooks\lrf\any\convert_from.pyo", line 131, in process_file File "libprs500\ebooks\lrf\mobi\convert_from.pyo", line 28, in process_file File "libprs500\ebooks\lrf\mobi\convert_from.pyo", line 17, in generate_html File "libprs500\ebooks\mobi\reader.pyo", line 176, in extract_content File "libprs500\ebooks\mobi\reader.pyo", line 188, in create_opf File "libprs500\ebooks\metadata\opf.pyo", line 534, in create_manifest ValueError: OPF should only refer to files below it. C:\Program Files\libprs500\The_Disunite-tes_of_America.html is above c:\docume~1\edembo~1\locals~1\temp\libprs500stos2qmobi2lrf Log: C:\Program Files\libprs500\The_Disunite-tes_of_America.html is considered a parent directory of c:\docume~1\edembo~1\locals~1\temp\libprs500stos2q mobi2lrf When I set TMP and TEMP to another drive: Code:
C:\Documents and Settings\edembowski\My Documents\My eBooks>any2lrf.exe --verbos e "Turtledove, Harry - The Disunited States of America.prc" Traceback (most recent call last): File "convert_from.py", line 161, in <module> File "convert_from.py", line 158, in main File "convert_from.py", line 131, in process_file File "libprs500\ebooks\lrf\mobi\convert_from.pyo", line 28, in process_file File "libprs500\ebooks\lrf\mobi\convert_from.pyo", line 17, in generate_html File "libprs500\ebooks\mobi\reader.pyo", line 176, in extract_content File "libprs500\ebooks\mobi\reader.pyo", line 188, in create_opf File "libprs500\ebooks\metadata\opf.pyo", line 534, in create_manifest ValueError: OPF should only refer to files below it. C:\Documents and Settings\edembowski\My Documents\My eBooks\The_Disunite-tes_of_America.html is above d:\tmp\libprs500on0zcsmobi2lrf Is anyone else seeing problems like this? I'm using 0.4.49 of libprs500. - Ed |
04-13-2008, 09:34 AM | #2 |
Connoisseur
Posts: 87
Karma: 800
Join Date: Mar 2008
Location: Switzerland
Device: Kindle 3, BeBook
|
I can't tell from your post but have you tried doing all the work from within one directory, possibly using subdirs for temp files? Meaning, you create a directory for your ebook, move the ebook there, set TEMP and TMP (why both?) to that dir or some subdir and call the converter from that directory.
Should remedy the error message but I'm really just guessing. |
Advert | |
|
04-13-2008, 01:08 PM | #3 | ||
Zealot
Posts: 138
Karma: 372
Join Date: Apr 2008
Location: New York, NY
Device: Sony PRS-600, Nook Color, iPad
|
Quote:
Quote:
- Ed |
||
04-13-2008, 07:43 PM | #4 |
Guru
Posts: 780
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
|
I just ran mobi2lrf against the file and it converted perfectly. This was command-line and Linux though...
|
04-13-2008, 08:09 PM | #5 |
Resident Curmudgeon
Posts: 76,402
Karma: 136466962
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I have temp and tmp set to whatever the default is for XP Pro. I just did a conversion of the PRC and it worked for the most part with no error. I did however get huge spacing between paragraphs which is horrible.
|
Advert | |
|
04-13-2008, 10:59 PM | #6 |
creator of calibre
Posts: 44,539
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Are you sure you're using 49? I thought I squashed this bug a couple of versions ago. One thing to try is use mobi2lrf instead of any2lrf. If that works, please open a bug report for any2lrf.
|
04-14-2008, 09:14 AM | #7 |
Zealot
Posts: 138
Karma: 372
Join Date: Apr 2008
Location: New York, NY
Device: Sony PRS-600, Nook Color, iPad
|
The app reports 0.4.49, but I'll do an uninstall & reinstall from a fresh download to make certain. I got my prs500 a couple of weeks ago, so the app was recently downloaded. I do have mobiperl installed to the same directory as libprs500, but that shouldn't do anything. mobiperl is just a handful of executables, and there are no name collisions.
- Ed |
04-14-2008, 10:53 AM | #8 |
Zealot
Posts: 138
Karma: 372
Join Date: Apr 2008
Location: New York, NY
Device: Sony PRS-600, Nook Color, iPad
|
OK, reinstalling did the trick! Thanks everyone!
|
04-14-2008, 11:18 AM | #9 |
Resident Curmudgeon
Posts: 76,402
Karma: 136466962
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Having problems with converting books from this site into calibre, help | richman | Workshop | 2 | 07-10-2009 03:07 PM |
Once Again... FREE BOOKS FROM TOR | Mitchll | Deals and Resources (No Self-Promotion or Affiliate Links) | 38 | 09-17-2008 05:25 PM |
Once Again... FREE BOOKS FROM TOR | garygibsonsf | Deals and Resources (No Self-Promotion or Affiliate Links) | 11 | 09-13-2008 10:43 AM |
Problems converting epub books | AprilHare | Calibre | 12 | 08-11-2008 09:15 PM |
Tor Books | jaxx6166 | Sony Reader | 26 | 07-27-2008 10:43 PM |