![]() |
#91 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,987
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Ok, I made a slight mistake. The LIT file I was working from was corrupted. So the error I posted was invalid. BUT, working from a proper working version, now I get ...
Traceback (most recent call last): File "convert_from.py", line 98, in <module> File "convert_from.py", line 93, in main File "convert_from.py", line 80, in process_file File "libprs500\ebooks\lrf\html\convert_from.pyo", line 1466, in process_file File "libprs500\ebooks\lrf\html\convert_from.pyo", line 1374, in writeto File "libprs500\ebooks\lrf\pylrs\pylrs.pyo", line 541, in renderLrf File "libprs500\ebooks\lrf\pylrs\pylrs.pyo", line 224, in toLrf File "libprs500\ebooks\lrf\pylrs\pylrs.pyo", line 220, in toLrfDelegates File "libprs500\ebooks\lrf\pylrs\pylrs.pyo", line 1957, in toLrf File "libprs500\ebooks\lrf\pylrs\pylrs.pyo", line 1978, in toLrf AttributeError: 'NoneType' object has no attribute 'objId' |
![]() |
![]() |
![]() |
#92 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,163
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
works for me on XP as well. The error message above is caused by clit failing. A bug in 0.3.98 unfortunately prevents you from seeing the error message. Run it with --verbose that will atleast show you the commandline being passed to clit.
|
![]() |
![]() |
Advert | |
|
![]() |
#93 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,987
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
if I convert to HTML using CLIT, I get the same error message.
|
![]() |
![]() |
![]() |
#94 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,163
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
cool a bug in html2lrf (its guts have been extensively rewritten in the past couple of days). Please send me the lit file.
|
![]() |
![]() |
![]() |
#95 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,987
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#96 | |
Member
![]() Posts: 17
Karma: 10
Join Date: Aug 2007
Device: Sony eReader 500
|
Quote:
To be on the safe side, you could always just mimic the command with (*.doc) then another line with (*.rtf) then (*.txt) etc. But I think *.* should work OK. Yeah, you can separate commands with a CRLF, (or a return) without a problem. The semicolon is in the PATH and other environment variables as far as I am aware. You can convert your chm to html with hh.exe. hh.exe -decompile <out> <in> at least that's what I've seen online... |
|
![]() |
![]() |
![]() |
#97 |
Member
![]() Posts: 10
Karma: 10
Join Date: Aug 2007
Device: PRS-505 X 2
|
I've been surfing this site for a couple of weeks now and am appreciative of all the work Sony eBook Reader fans have come up with although I do not pretend to know anything about coding/programming.
I have installed libprs500 but have yet to get the lit2lrf module to work for me. The lit2lrf module seems to launch okay but it never completes the conversion. Below is a sample error that I got. Any idea what I'm doing wrong? Traceback <most recent call last>: File "convert_from.py", line 83, in <module> File "convert_from.py", line 77, in main File "libprs500\ebooks\lrf\htm\convert_from.pyo", line 1307, in process_file File "libprs500\devices\prs500\driver.pyo", line 56, in <module> File "libprs500\devices\libusb.pyo", line 32, in <module> File "libprs500\__init__.pyo", line 53, in load_library File "ctypes\__init__.pyo", line 423, in LoadLibrary File "ctypes\__init__.pyo", line 340, in __init__ WindowsError: [Error 126] The specified <module> could not be found |
![]() |
![]() |
![]() |
#98 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,163
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
This has been fixed in the latest version. 0.3.104
|
![]() |
![]() |
![]() |
#99 |
Member
![]() Posts: 10
Karma: 10
Join Date: Aug 2007
Device: PRS-505 X 2
|
Thanks! Works like a charm now.
|
![]() |
![]() |
![]() |
#100 |
Enthusiast
![]() ![]() Posts: 43
Karma: 140
Join Date: Aug 2007
Location: Oregon, USA
Device: PocketBook 360, Nook
|
for some reason it isn't letting me download the Mac version. I get an error when I try and save the link target as a file on the hdd and get giberish ascii when I just click on the link...
|
![]() |
![]() |
![]() |
#101 |
curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,487
Karma: 5748190
Join Date: Jun 2006
Location: Redwood City, CA USA
Device: Kobo Aura HD, (ex)nook, (ex)PRS-700, (ex)PRS-500
|
|
![]() |
![]() |
![]() |
#102 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 62
Karma: 2162
Join Date: Jul 2007
Location: Chicago, IL
Device: Sony PRS-500 (until I have enough Sony Rewards points for the PRS-300)
|
Quote:
EDIT: I think I was reading your post wrong. In any case, it's working for me now as well. |
|
![]() |
![]() |
![]() |
#103 |
Member
![]() Posts: 18
Karma: 10
Join Date: Oct 2007
Device: SONY Reader PRS-505
|
Hi - Tried converting a .lit file using libprs500 v0.4.8. While the original .lit file included indentation for the first line of each paragraph, the converted version (.lrf) did not. Is there something I'm doing wrong? I did search this and other threads, as well as the libprs500 website, but to no avail. BTW, the ebook in question is "Autumn" by David Moody - free download on http://www.theinfected.co.uk/FreeBook.htm (again, I used the .lit version). Thanks!
|
![]() |
![]() |
![]() |
#104 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,987
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#105 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,987
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
https://www.mobileread.com/forums/showthread.php?t=14721 |
|
![]() |
![]() |
![]() |
Tags |
libprs500 |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
a simple epub/lit to mobi converter that isn't calibre? | grechzoo | General Discussions | 18 | 08-18-2010 05:20 PM |
Amber Lit Converter is merging txt | Amalthia | Workshop | 7 | 07-16-2008 05:33 PM |
Quick/easy LIT to LRF converter? | OUTATIME | Sony Reader Dev Corner | 10 | 02-29-2008 09:44 AM |
ABC Amber LIT Converter | MrFinch | Workshop | 11 | 08-09-2007 09:06 PM |
Using lit2lrf | zander_nyrond | Sony Reader | 10 | 08-02-2007 02:40 PM |