Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-27-2008, 08:14 PM   #241
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,170
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
There's already a ticket for that and I have no idea Depends on whether I have a spare moment and if that ticket catches my eye.
kovidgoyal is online now   Reply With Quote
Old 01-27-2008, 08:17 PM   #242
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,022
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Would putting in a second ticket help catch your eye?
JSWolf is offline   Reply With Quote
Advert
Old 01-27-2008, 08:24 PM   #243
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,170
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Nope it would just annoy me.
kovidgoyal is online now   Reply With Quote
Old 01-27-2008, 08:53 PM   #244
shousa
Groupie
shousa doesn't littershousa doesn't littershousa doesn't litter
 
Posts: 181
Karma: 232
Join Date: May 2006
I successfully changed a .lit with DRM to .lit without DRM and tested the file on a PC without microsoft reader activation and it worked.

Conversion using either libprs500 GUI or commandline only gave me the first 3 pages (Cover, publishing details and index) (so 3MB .lit file became a 99K .lrf)

Loading the .lit into bookdesigner produced only the first 3 pages.

Converting to .html made a mess of it with chinese characters (english OS).

BUT I could convert to .rtf using http://www.processtext.com/abclit.html then copy and paste the first 3 pages from bookdesigner into it.

The resulting .rtf was able to be converted to .lrf thru libprs500.

Two key points I want to make:
1) When all else fails abclit will do the job
2) I did however lose all the links (eg chapters and notes) and have generally lost links with all libprs500 .lit to .lrf conversions - is this normal?

Hope this finding contributes to those with .lit files that will not convert easily to .lrf - I did not see mention of abclit before, should someone make a sticky??
shousa is offline   Reply With Quote
Old 01-27-2008, 09:00 PM   #245
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,170
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Losing links is not normal.
kovidgoyal is online now   Reply With Quote
Advert
Old 01-27-2008, 10:22 PM   #246
shousa
Groupie
shousa doesn't littershousa doesn't littershousa doesn't litter
 
Posts: 181
Karma: 232
Join Date: May 2006
My mistake - the paperbacks have the contents links working but at the back of the .lrf files not the front.

Have you experienced any proven nondrm.lit files (like mine) where only the first few pages are output using libprs500 (both GUI and commandline)?
shousa is offline   Reply With Quote
Old 01-27-2008, 10:35 PM   #247
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,170
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
nope .
kovidgoyal is online now   Reply With Quote
Old 01-28-2008, 03:38 PM   #248
secretsubscribe
Enthusiast
secretsubscribe is a marvel to beholdsecretsubscribe is a marvel to beholdsecretsubscribe is a marvel to beholdsecretsubscribe is a marvel to beholdsecretsubscribe is a marvel to beholdsecretsubscribe is a marvel to beholdsecretsubscribe is a marvel to beholdsecretsubscribe is a marvel to beholdsecretsubscribe is a marvel to beholdsecretsubscribe is a marvel to beholdsecretsubscribe is a marvel to behold
 
Posts: 26
Karma: 11777
Join Date: Jun 2007
Location: Brooklyn
Device: PRS-500,Treo 750, Archos 605 Wifi
The Nation profile

Hello
Here's the first version of a Profile for The Nation magazine at TheNation.com.
I've attached a copy of the profile to the user profiled section of the libprs500site:
There's no RSS feed, so I needed to parse out URLs from the home page of a given issue.
The variable 'nation_issue_date' needs to be updated to get the current issue.
I created another variable 'nation_issue_date_long' that's used as the article publish date and is part of the output file name (if downloading several issues at once through the command line as I was doing.)


https://libprs500.kovidgoyal.net/att...s/thenation.py
secretsubscribe is offline   Reply With Quote
Old 01-28-2008, 05:46 PM   #249
greylin
Member
greylin began at the beginning.
 
greylin's Avatar
 
Posts: 20
Karma: 10
Join Date: Nov 2007
Location: UK
Device: Sony PRS-505
I've been using libprs500 successfully for a while to convert to LRF, but have a new LIT file that won't convert. Not sure if it's the file or the fact that I recently had to reinstall MS Reader, after which I ran ReaderKeyRecoveryTool.exe again. I'm getting this error message:

LIT INFORMATION.........

DRM = 5

Timestamp = 44ef3f3b

Creator = 7ffde000

Language = 00000409

DECRYPTION FAILED - No keys available for this title.

LIBC reports: No such file or directory

LIBC reports: No such file or directory

LIBC reports: No such file or directory

WARNING: Unable to open file "keys.txt".WARNING: Unable to open file "clitkeys.txt".WARNING: Unable to open file "c:\docume~1\jan\locals~1\temp\keys.txt".No "keys.txt" files found. Can't decrypt.
Traceback (most recent call last):
File "libprs500\gui2\jobs.pyo", line 97, in run
File "libprs500\ebooks\lrf\any\convert_from.pyo", line 140, in main
File "libprs500\ebooks\lrf\any\convert_from.pyo", line 117, in process_file
File "libprs500\ebooks\lrf\lit\convert_from.pyo", line 58, in process_file
File "libprs500\ebooks\lrf\lit\convert_from.pyo", line 49, in generate_html
ConversionError: LIBC reports: No such file or directory

LIBC reports: No such file or directory

LIBC reports: No such file or directory

WARNING: Unable to open file "keys.txt".WARNING: Unable to open file "clitkeys.txt".WARNING: Unable to open file "c:\docume~1\jan\locals~1\temp\keys.txt".No "keys.txt" files found. Can't decrypt.

EDIT

Well I seem to have got round the problem by manually saving keys.txt to my temp folder, since that's where the program was looking for it. I've never had to do this before but at least it worked. How come this has happened?

Last edited by greylin; 01-28-2008 at 06:03 PM.
greylin is offline   Reply With Quote
Old 01-28-2008, 06:54 PM   #250
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,170
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
When you re-install convertlit, you have to replace the keys.txt. If you put it in the directory libprs500 is installed in as well as the directory convertlit is installed in, you should be fine.
kovidgoyal is online now   Reply With Quote
Old 01-29-2008, 03:43 AM   #251
greylin
Member
greylin began at the beginning.
 
greylin's Avatar
 
Posts: 20
Karma: 10
Join Date: Nov 2007
Location: UK
Device: Sony PRS-505
Thanks!
greylin is offline   Reply With Quote
Old 02-09-2008, 04:41 AM   #252
Basqueman
Member
Basqueman began at the beginning.
 
Basqueman's Avatar
 
Posts: 18
Karma: 10
Join Date: Feb 2008
Location: Santa Clarita, CA
Device: PRS-505
Hello,
I've installed the ConvertLIT as well as the libprs500 GUI and have been attempting to convert an LIT file. I downloaded a free sample LIT file from Fictionwise.com in order to learn how to do this. When I tried to add the LIT file to the library I received the following message:

OPFReader' object has no attribute 'cover_data'
Detailed traceback:
Traceback (most recent call last):
File "main.py", line 289, in add_books
File "main.py", line 301, in _add_books
File "libprs500\ebooks\metadata\meta.pyo", line 35, in get_metadata
File "libprs500\ebooks\metadata\__init__.pyo", line 77, in __init__
AttributeError: 'OPFReader' object has no attribute 'cover_data'

After this I ran the LIT file thru the ConvertLIT software. The software extracted all the files and placed them into the folder. Most of the files extracted were HTML and JPEG with one OPF file. I then opened libprs500 GUI again and tried to add the OPF file to the library, but I couldn't because it wasn't one of the file extensions on the file type. I then added an HTML file to the library that contained the sample and clicked the convert button and the dialog box, HTML to LRF file came up. I sat and watched the hour glass spin for a long time. Nothing happened. I walked away and let it run for about 15 minutes....nothing happened.

Am I doing something wrong?

Thank you.
Basqueman is offline   Reply With Quote
Old 02-09-2008, 11:25 AM   #253
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,170
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Looks like a bug can you post a link to this book so I can debug.
kovidgoyal is online now   Reply With Quote
Old 02-09-2008, 11:57 AM   #254
Basqueman
Member
Basqueman began at the beginning.
 
Basqueman's Avatar
 
Posts: 18
Karma: 10
Join Date: Feb 2008
Location: Santa Clarita, CA
Device: PRS-505
Here you go. I've attached the OPF file. I can't attach the LIT file. Let me know if this is the right file. The HTML to LRF finally worked after about 40 minutes, but a book wasn't really created. Only one file was converted. I probably did something wrong.
Attached Files
File Type: opf Oxford-ThesSample.opf (2.7 KB, 405 views)
Basqueman is offline   Reply With Quote
Old 02-09-2008, 12:12 PM   #255
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,170
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No that's fine, it's a bug that will be fixed in the next release.
kovidgoyal is online now   Reply With Quote
Reply

Tags
libprs500


Forum Jump

Similar Threads
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


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


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