Mar2zz/LazyLibrarian — Issue #10: Unicode error in postprocessing
Author: Mar2zz
Created: 2012-02-13 20:31:10+00:00
State: open

Traceback (most recent call last):
File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
self.run()
File "/usr/lib/python2.6/threading.py", line 484, in run
self.__target(*self.__args, **self.__kwargs)
File "/opt/lazylibrarian/lazylibrarian/postprocess.py", line 55, in processDir
processOPF(dest_path, authorname, bookname, bookisbn, book['BookID'], bookpub, bookdate, bookdesc, booklang)
File "/opt/lazylibrarian/lazylibrarian/postprocess.py", line 146, in processOPF
opf.write(opfinfo)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2013' in position 494: ordinal not in range(128)