View Single Post
Old 12-22-2009, 12:18 PM   #1
quicksilver
dude
quicksilver will become famous soon enoughquicksilver will become famous soon enoughquicksilver will become famous soon enoughquicksilver will become famous soon enoughquicksilver will become famous soon enoughquicksilver will become famous soon enough
 
quicksilver's Avatar
 
Posts: 51
Karma: 628
Join Date: Dec 2009
Device: Nook
Question Trouble with ebook-convert

I'm trying to convert an HTML file to an RTF file. The conversion works when I am using Calibre GUI, but when I try to run the .exe - it fails.

What am I doing wrong?

Code:
C:\Program Files\Calibre2>ebook-convert.exe index.html something.rtf
1% Converting input to HTML...
InputFormatPlugin: HTML Input running
on C:\Program Files\Calibre2\index.html
Language not specified
Creator not specified
Building file list...
Initial parse failed:
Parsing file 'index.html' as HTML
Forcing index.html into XHTML namespace
Python function terminated unexpectedly
  _getfullpathname() argument 1 must be (buffer overflow), not str (Error Code:
1)
Traceback (most recent call last):
  File "site.py", line 103, in main
  File "site.py", line 85, in run_entry_point
  File "site-packages\calibre\ebooks\conversion\cli.py", line 249, in main
  File "site-packages\calibre\ebooks\conversion\plumber.py", line 736, in run
  File "site-packages\calibre\customize\conversion.py", line 208, in __call__
  File "site-packages\calibre\ebooks\html\input.py", line 286, in convert
  File "site-packages\calibre\ebooks\html\input.py", line 361, in create_oebbook

  File "site-packages\calibre\ebooks\oeb\base.py", line 179, in rewrite_links
  File "site-packages\calibre\ebooks\html\input.py", line 411, in resource_adder

  File "site-packages\calibre\startup.py", line 81, in my_abspath
  File "ntpath.py", line 459, in abspath
TypeError: _getfullpathname() argument 1 must be (buffer overflow), not str
Thanks.
quicksilver is offline   Reply With Quote