View Single Post
Old 02-11-2009, 12:11 PM   #1
rkaramc
Junior Member
rkaramc began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2009
Device: iphone
Unable to view a .prc ebook from baen

Hi:
When trying to view/convert a .prc book from baen, get the following error:

Code:
C:\Program Files\calibre>any2epub d:test.prc -o d:t1
Exploding MOBI file: d:test.prc
[WARNING] Unknown codepage 235802126. Assuming cp-1252
Traceback (most recent call last):
  File "from_any.py", line 204, in <module>
  File "from_any.py", line 200, in main
  File "from_any.py", line 175, in any2epub
  File "contextlib.pyo", line 34, in __exit__
  File "contextlib.pyo", line 113, in nested
  File "from_any.py", line 165, in any2epub
  File "from_any.py", line 63, in mobi2opf
  File "C:\Program Files\calibre\library.zip\calibre\ebooks\mobi\reader.py", line 209, in extract_content
  File "C:\Program Files\calibre\library.zip\calibre\ebooks\mobi\reader.py", line 311, in upshift_markup
ValueError: invalid literal for int() with base 10: 'XXXXXXXXXX'
Am able to convert other prc's from baen!

let me know the details you need.
thanx
rajeevk

ps: the test.prc is "The Grantville Gazette 1" if that helps!
rkaramc is offline   Reply With Quote