Hello,
I setup the Debian 6.0.0 chroot environment for ARMEL in my Nook Touch. I can use debian packages (for example openssh, lighttpd webserver) successfully. I want to use Calibre to automatically fetch news to the device. So I installed "calibre 0.7.7" using "apt-get install calibre" . It installed a lot of dependencies (400 MB in total).
When I use the command:
Code:
ebook-convert nasa.recipe nasa.epub
It started fetching news until the progress at 34% and I got the following errors:
Code:
32% Article downloaded: u'NASA Accepting Applications For Aeronautics Scholarships'
33% Article downloaded: u'NASA Earth-Observing Satellite Arrives In California For Launch'
34% Article downloaded: u'NASA Administrator To Kick Off Aviation Forum'
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 815, in run
accelerators, tdir)
File "/usr/lib/calibre/calibre/customize/conversion.py", line 211, in __call__
log, accelerators)
File "/usr/lib/calibre/calibre/web/feeds/input.py", line 104, in convert
ro.download()
File "/usr/lib/calibre/calibre/web/feeds/news.py", line 705, in download
res = self.build_index()
File "/usr/lib/calibre/calibre/web/feeds/news.py", line 937, in build_index
self.create_opf(feeds)
File "/usr/lib/calibre/calibre/web/feeds/news.py", line 1243, in create_opf
opf.render(opf_file, ncx_file)
File "/usr/lib/python2.6/contextlib.py", line 34, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/lib/python2.6/contextlib.py", line 113, in nested
yield vars
File "/usr/lib/calibre/calibre/web/feeds/news.py", line 1243, in create_opf
opf.render(opf_file, ncx_file)
File "/usr/lib/calibre/calibre/ebooks/metadata/opf2.py", line 1074, in render
lang = get_lang().replace('_', '-')
AttributeError: 'NoneType' object has no attribute 'replace'
root@localhost:/usr/share/calibre/recipes#
Please suggest me how to solve this problem. Thank you.
aruangra