View Single Post
Old 11-30-2007, 11:09 PM   #1
Ozric
Zealot
Ozric is clearly one to watchOzric is clearly one to watchOzric is clearly one to watchOzric is clearly one to watchOzric is clearly one to watchOzric is clearly one to watchOzric is clearly one to watchOzric is clearly one to watchOzric is clearly one to watchOzric is clearly one to watchOzric is clearly one to watch
 
Posts: 146
Karma: 10671
Join Date: Nov 2007
Device: way too many =)
[libprs500] problem converting a couple of LIT's

I've been using libprs500 for about a week or so and I've successfully converted a few books from LIT to LRF. I just bought two non-DRM LIT's (the first two volumes in a series) from Fictionwise and tried to convert them, but something's wrong. When I add the books to the library, libprs500 displays the entire pathname where the books are located, instead of just the title. When I try to convert them, the process fails and prints spew like this:

AttributeError: 'NoneType' object has no attribute 'lower'
Failed to perform job: Convert book:C:/<pathname snipped>.lit
Detailed traceback:
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 63, in process_file
File "libprs500\ebooks\metadata\opf.pyo", line 118, in __init__
File "libprs500\ebooks\metadata\opf.pyo", line 188, in get_isbn
AttributeError: 'NoneType' object has no attribute 'lower'

Is this a problem with the formatting of the books, or is it a bug with libprs500?
Ozric is offline   Reply With Quote