Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-08-2010, 09:03 PM   #1
organicveggie
Junior Member
organicveggie began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Aug 2010
Device: Kindle v2
Error converting RTF files

I have a collection of RTF files that just won't convert to MOBI under Calibre 0.7.13. I'm running Kubuntu Linux 10.04 (2.6.32-24). Here's the error from Calibre:

Code:
Convert book 3 of 3 (Sacrifice of the Widow)
Resolved conversion options
calibre version: 0.7.13
...
InputFormatPlugin: RTF Input running
on /home/myuser/Documents/books/calibre/Lisa Smedman/Sacrifice of the Widow (1665)/Sacrifice of the Widow - Lisa Smedman.rtf
Converting RTF to XML...
	Preprocessing to convert unicode characters
Traceback (most recent call last):
  File "/tmp/init.py", line 48, in <module>
  File "/home/kovid/build/calibre/src/calibre/utils/ipc/worker.py", line 99, in main
  File "/home/kovid/build/calibre/src/calibre/gui2/convert/gui_conversion.py", line 24, in gui_convert
  File "/home/kovid/build/calibre/src/calibre/ebooks/conversion/plumber.py", line 815, in run
  File "/home/kovid/build/calibre/src/calibre/customize/conversion.py", line 207, in __call__
  File "/home/kovid/build/calibre/src/calibre/ebooks/rtf/input.py", line 195, in convert
ValueError: This RTF file has a feature calibre does not support. Convert it to HTML first and then try it.
no map found
map is "ansicpg874"
Other than manually converting the file to HTML or PDF first, is there anything I can do?
organicveggie is offline   Reply With Quote
Old 08-08-2010, 10:02 PM   #2
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: 43,916
Karma: 22669818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
no, there isn't.
kovidgoyal is online now   Reply With Quote
Advert
Old 08-08-2010, 10:23 PM   #3
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,863
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by organicveggie View Post
Other than manually converting the file to HTML or PDF first, is there anything I can do?
No, but since you have a bunch of RTF files this thread explains how to do batch conversions with free tools. Specifically check out posts 23, 49 and 56. Just substitute RTF every time you see DOC and it should work fine. Any questions ask them in the referenced thread and hopefully some of the folks are still around.
DoctorOhh is offline   Reply With Quote
Old 08-08-2010, 11:30 PM   #4
organicveggie
Junior Member
organicveggie began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Aug 2010
Device: Kindle v2
Quote:
Originally Posted by kovidgoyal View Post
no, there isn't.
There error implies that this particular RTF file (and bunch of others I have) have a feature that Calibre does yet support. I'd be happy to contribute a patch, but even looking at the stack trace I'm not sure where to begin.

Any suggestions?

Thanks.

-Veggie
organicveggie is offline   Reply With Quote
Old 08-09-2010, 03:20 AM   #5
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: 43,916
Karma: 22669818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
All the RTF conversion code is in the calibre.ebooks.rtf2xml package (in the directory src/calibre/ebooks/rtf2xml)
kovidgoyal is online now   Reply With Quote
Advert
Reply

Tags
conversion, linux, mobi, rtf


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error when converting RTF to EPUB doreenjoy Calibre 3 05-19-2012 03:32 AM
Error Converting Zip Files w/ Multiple Formats TheHeartlessHero Calibre 2 04-10-2010 10:54 AM
Error in converting files html --> Mobipocket adamsloco Calibre 0 08-29-2009 10:30 PM
Error converting cbr files ashadocat Calibre 5 12-21-2008 06:16 PM
Converting PRC to RTF. GatorDeb Workshop 1 09-05-2008 10:59 AM


All times are GMT -4. The time now is 01:54 PM.


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