|  07-28-2008, 11:19 AM | #361 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			sort by author operates on two fields the author sort field and and if that is empty the author field. Make sure that the author sort field is correct for books that appear to be sorting incorrectly.
		 | 
|   |   | 
|  07-28-2008, 02:05 PM | #362 | 
| Member  Posts: 16 Karma: 10 Join Date: Jul 2008 Device: Sony PRS-505 | 
			
			thanks Kovid. Works well now. Will keep playing with the tool in the mean time.
		 | 
|   |   | 
|  07-29-2008, 03:11 PM | #363 | 
| Member  Posts: 16 Karma: 10 Join Date: Jul 2008 Device: Sony PRS-505 | 
			
			Hi I downloaded an epub file from Adobe DE site. When I tried to add it to Calibre's library, I get the following error: not an .epub OCF container Detailed traceback: Traceback (most recent call last): File "main.py", line 445, in add_books File "main.py", line 457, in _add_books File "calibre\ebooks\metadata\meta.pyo", line 71, in get_metadata File "C:\Program Files\calibre\library.zip\calibre\ebooks\metadata\ epub.py", line 96, in get_metadata File "C:\Program Files\calibre\library.zip\calibre\ebooks\metadata\ epub.py", line 80, in __init__ File "C:\Program Files\calibre\library.zip\calibre\ebooks\metadata\ epub.py", line 59, in __init__ EPubException: not an .epub OCF container Any Idea what the issue could be ? Has it something to do with DRM? | 
|   |   | 
|  07-29-2008, 03:32 PM | #364 | 
| Reticulator of Tharn            Posts: 618 Karma: 400000 Join Date: Jan 2007 Location: EST Device: Sony PRS-505 | |
|   |   | 
|  07-30-2008, 04:38 AM | #365 | |
| Member  Posts: 16 Karma: 10 Join Date: Jul 2008 Device: Sony PRS-505 | Quote: 
 I am not sure how to check if the file is indeed an epub document. Any suggestions? | |
|   |   | 
|  07-30-2008, 09:10 AM | #366 | 
| Reticulator of Tharn            Posts: 618 Karma: 400000 Join Date: Jan 2007 Location: EST Device: Sony PRS-505 | 
			
			Does this particular file open in ADE?  If so, e-mail me a copy (<llasram@gmail.com>) -- even if it's DRMed calibre should still be able to read the metadata.
		 | 
|   |   | 
|  07-30-2008, 12:16 PM | #367 | 
| Member  Posts: 16 Karma: 10 Join Date: Jul 2008 Device: Sony PRS-505 | 
			
			Yes llasram. the file opens fine in ADE. I will mail you the file right away.
		 Last edited by vivek_cbe; 07-30-2008 at 12:20 PM. | 
|   |   | 
|  08-05-2008, 04:48 PM | #368 | 
| Resident Curmudgeon            Posts: 80,727 Karma: 150249619 Join Date: Nov 2006 Location: Roslindale, Massachusetts Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 | 
			
			Actually, I did try embedding Times New Roman in something and the page turns are fast now. They do not take the long time they used to. Embedding fonts now is actually good. Page turns are not too slow like they used to be.
		 | 
|   |   | 
|  08-10-2008, 03:55 PM | #369 | 
| Resident Curmudgeon            Posts: 80,727 Karma: 150249619 Join Date: Nov 2006 Location: Roslindale, Massachusetts Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 | 
				
				Italics are GONE!
			 
			
			I'm using 0.4.83 and when I use lit2lrf, I get no italics at all. I've gone back to some earlier version and italics are fine.
		 | 
|   |   | 
|  08-10-2008, 04:57 PM | #370 | 
| Reticulator of Tharn            Posts: 618 Karma: 400000 Join Date: Jan 2007 Location: EST Device: Sony PRS-505 | 
			
			Hmm.  There's no change in the HTML->LRF conversion code between versions 0.4.82 and 0.4.83.  Kovid did switch the default for lit2lrf extraction from ConvertLIT to lit2oeb, but I'm not sure what sort of bug could cause just italics to fail.  Could you e-mail me a book showing this behavior?
		 | 
|   |   | 
|  08-10-2008, 05:29 PM | #371 | 
| Resident Curmudgeon            Posts: 80,727 Karma: 150249619 Join Date: Nov 2006 Location: Roslindale, Massachusetts Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 | 
			
			Odd... it's now working fine. I don't know why it wasn't working before.
		 | 
|   |   | 
|  09-05-2008, 11:54 PM | #372 | 
| Zealot            Posts: 100 Karma: 1000399 Join Date: Sep 2008 Location: Toronto, Ontario Device: Sony PRS-500 | 
			
			Hi there,  New to the forum. Currently researching e-book readers now that I am taking the bus to/from work. I came across your software as I was looking into the Sony PRS505. anyways I have a bunch of lit files, not sure where they came from originally but I tried to convert one using your lit2lrf utility but it is spitting back on error. I am using the latest version from bzr and do have ConvertLIT installed as well(I think that was mentioned as needed.) Here is the error output: Code: Traceback (most recent call last):
  File "/usr/bin/lit2lrf", line 8, in <module>
    load_entry_point('calibre==0.4.84b9', 'console_scripts', 'lit2lrf')()
  File "/usr/lib/python2.5/site-packages/calibre/ebooks/lrf/lit/convert_from.py", line 85, in main
    process_file(args[1], options, logger)
  File "/usr/lib/python2.5/site-packages/calibre/ebooks/lrf/lit/convert_from.py", line 37, in process_file
    tdir = generate_html(lit, logger)
  File "/usr/lib/python2.5/site-packages/calibre/ebooks/lrf/lit/convert_from.py", line 26, in generate_html
    lr = LitReader(pathtolit)
  File "/usr/lib/python2.5/site-packages/calibre/ebooks/lit/reader.py", line 449, in __init__
    self._read_drm()
  File "/usr/lib/python2.5/site-packages/calibre/ebooks/lit/reader.py", line 647, in _read_drm
    msdes.deskey(self._calculate_deskey(), msdes.DE1)
AttributeError: 'NoneType' object has no attribute 'deskey'Thanks in advance. Kevin | 
|   |   | 
|  09-06-2008, 01:50 AM | #373 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			To run from bzr you need to run Code: python setup.py build && sudo python setup.py develop | 
|   |   | 
|  09-06-2008, 09:55 AM | #374 | |
| Zealot            Posts: 100 Karma: 1000399 Join Date: Sep 2008 Location: Toronto, Ontario Device: Sony PRS-500 | Quote: 
 Code: python setup.py install --root=$pkgdir Thanks for all the hard work!! Kevin | |
|   |   | 
|  09-06-2008, 10:26 AM | #375 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			Sure, I'll be happy to add instructions for arch linux. Can you open a ticket and I'll do it when I get some time. Note that a source tarball of the current stable version is always at https://calibre.kovidgoyal.net/downloads/
		 | 
|   |   | 
|  | 
| Tags | 
| libprs500 | 
| Thread Tools | Search this Thread | 
| 
 | 
|  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 |