ebook-convert vs windows version
Hi!
I have 0.6.51 installed on windows 7 but also on an ubuntu server, and when I try to use ebook-convert in the unix command line, it doesn't have as much success as opening the books in windows and running convert from the gui.
Are these implementations somehow different? I have a lot of files (which I can attach) that convert okay via the windows 0.6.51 but give various errors when running ebook-convert on them (to the epub format). Of course, plenty of files work fine in both too!
Is this a known issue? Should I create a bug? I couldn't find anything about it in the bug tracker. Should I upload the actual ebooks?
Thanks Kovid, or anybody!
josh!
P.S. here's one example .fb2 file that converted okay in the gui but got this error using ebook-convert (with no options, to epub):
Traceback (most recent call last):
File "/usr/bin/ebook-convert", line 19, in <module>
sys.exit(main())
File "/usr/lib/calibre/calibre/ebooks/conversion/cli.py", line 254, in main
plumber.run()
File "/usr/lib/calibre/calibre/ebooks/conversion/plumber.py", line 905, in run
self.opts, self.log)
File "/usr/lib/calibre/calibre/ebooks/epub/output.py", line 159, in convert
self.workaround_ade_quirks()"
File "/usr/lib/calibre/calibre/ebooks/epub/output.py", line 474, in workaround_ade_quirks"
for rule in stylesheet.data.cssRules.rulesOfType(CSSRule.STYLE _RULE):"
AttributeError: 'CSSRuleList' object has no attribute 'rulesOfType'
I'll attach it renamed to .txt because .fb2 seems to be not an allowed attachment type!
|