![]() |
#76 |
Member
![]() Posts: 17
Karma: 10
Join Date: Aug 2007
Device: Sony eReader 500
|
any2lrf locks up on me. I put in the command
any2lrf book.lit and it just sits there. I left it alone at one point and 20 minutes later still hadn't produced any output. |
![]() |
![]() |
![]() |
#77 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,163
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Huh odd. Works for me. Run it with the --verbose switch.
|
![]() |
![]() |
Advert | |
|
![]() |
#78 |
Member
![]() Posts: 17
Karma: 10
Join Date: Aug 2007
Device: Sony eReader 500
|
I ran it with the verbose switch and it still locks up.
If it helps any, I've got Windows XP SP2 and I'm using the latest version you had posted, 0.3.39 I think? Don't think anything else would cause issues... |
![]() |
![]() |
![]() |
#79 | |
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:
Processing contents.html Parsing HTML... Converting to BBeB... Processing WorldsofStarTrekDeepSpace.html Parsing HTML... Converting to BBeB... Traceback (most recent call last): File "convert_from.py", line 136, in <module> File "convert_from.py", line 129, in main File "convert_from.py", line 107, in process_file File "libprs500\ebooks\lrf\lit\convert_from.pyo", line 76, in process_file File "libprs500\ebooks\lrf\html\convert_from.pyo", line 1421, in process_file File "libprs500\ebooks\lrf\html\convert_from.pyo", line 1329, in writeto File "libprs500\ebooks\lrf\pylrs\pylrs.pyo", line 587, 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 2003, in toLrf File "libprs500\ebooks\lrf\pylrs\pylrs.pyo", line 2024, in toLrf AttributeError: 'NoneType' object has no attribute 'objId' |
|
![]() |
![]() |
![]() |
#80 |
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
|
lit2lrf is not working as well...
Traceback (most recent call last): File "convert_from.py", line 94, in <module> File "convert_from.py", line 89, in main File "convert_from.py", line 48, in process_file AttributeError: 'str' object has no attribute 'verbose' It does work in 0.3.95. I don't have 0.3.96 to try. |
![]() |
![]() |
Advert | |
|
![]() |
#81 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,163
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
yeah i know it's a typo. Will be fixed in next release. Windows command-line processing leaves a lot to be desired.
|
![]() |
![]() |
![]() |
#82 |
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
|
So unless I need hanging indents, I should be ok with 0.3.95 for now right?
|
![]() |
![]() |
![]() |
#83 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,163
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
yeah.
|
![]() |
![]() |
![]() |
#84 | |
MonkeyWrench
![]() Posts: 22
Karma: 10
Join Date: Aug 2007
Device: SE K800i & PSP - looking at PRS500 :D
|
Quote:
Code:
for %%f in (*.*) do any2lrf --blank-after-para "%%f" Also, I haven't handled .bats since the days of MS-Dos, so I don't remember if I had to include any kind of separator (eg. semi-colon) between commands. Would a NL/CR do? I'm basically looking to make a "convert all to LRF" batch script for my incredibly jumbled ebook folders to use with libprs500. So something along the lines of the script line above, one each for lit2lrf, pdf2lrf, rtf2lrf, html2lrf & txt2lrf. Also, as .doc and .chm formats are not included in libprs500 I'm also looking into apps to convert those to HTML and from there to LRF (which should work as long as the conversion to HTML is before the html2lrf conversion in the script). I remember seeing a chm2html converter mentioned somewhere but can't find it anymore, and I haven't run into any doc2html or docx2html converters. |
|
![]() |
![]() |
![]() |
#85 |
Enthusiast
![]() ![]() Posts: 33
Karma: 108
Join Date: Jul 2007
Device: Sony Reader
|
Anyone else get an Error 3 when trying to run the new version of lit2lrf? E.g.,
Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\Akar>"C:\Program Files\libprs500\lit2lrf.exe" "C:\Docu ments and Settings\Akar\Desktop\New Folder\Dc99.lit" 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 56, in process_file File "convert_from.py", line 45, in generate_html File "shutil.pyo", line 161, in rmtree File "shutil.pyo", line 159, in rmtree WindowsError: [Error 3] The system cannot find the path specified: 'c:\\docume~1 \\akar\\locals~1\\temp\\libprs500_lwpbcn/*.*' |
![]() |
![]() |
![]() |
#86 |
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
|
Convertlit 0.3.98 is the version that blew up.
+---[ ConvertLIT (Version 1.8) ]---------------[ Copyright (c) 2002,2003 ]--- ConvertLIT comes with ABSOLUTELY NO WARRANTY; for details see the COPYING file or visit "http://www.gnu.org/license/gpl.html". This is free software, and you are welcome to redistribute it under certain conditions. See the GPL license for details. 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 56, in process_file File "convert_from.py", line 45, in generate_html File "shutil.pyo", line 161, in rmtree File "shutil.pyo", line 159, in rmtree WindowsError: [Error 3] The system cannot find the path specified: 'c:\\docume~1 \\jon\\locals~1\\temp\\libprs500_348hqk/*.*' |
![]() |
![]() |
![]() |
#87 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,163
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
this is on XP? Because it works for me on vista.
Last edited by kovidgoyal; 08-17-2007 at 11:02 PM. |
![]() |
![]() |
![]() |
#88 |
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
|
|
![]() |
![]() |
![]() |
#89 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,163
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Sigh now i'm going to have to code workarounds for individual windows versions! And that lit file worked with earlier versions of lit2lrf?
|
![]() |
![]() |
![]() |
#90 |
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
|
Yes it did work fine. In fact, Its the book I am in the midst of readin on my reader now. It's fine on the reader. I used Times New Roman and wanted redo it so it used the internal font for faster page turns.
|
![]() |
![]() |
![]() |
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 |