Bugs item #2269688, was opened at 2008-11-12 15:03 Message generated for change (Comment added) made by nicdumz You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2269688...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: Fixed Priority: 5 Private: No Submitted By: Yann Forget (yannforget) Assigned to: Nobody/Anonymous (nobody) Summary: Unicode error with djvutext.py
Initial Comment: on fr.wikisource:
python djvutext.py -index:Livre:Le_Th%C3%A9%C3%A2tre_de_la_R%C3%A9volution._Le_Quatorze_Juillet._Danton._Les_Loups.djvu -djvu:Le_quatorze_juillet_Danton_Les_loups.djvu -pages:375 Checked for running processes. 1 processes currently running, including the current process. Traceback (most recent call last): File "djvutext.py", line 249, in <module> main() File "djvutext.py", line 236, in main wikipedia.output("uploading text from %s to %s" % (djvu, index_page) ) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 13: ordinal not in range(128)
python version.py Pywikipedia [http] trunk/pywikipedia (r6084, Nov 11 2008, 21:51:31) Python 2.5.2 (r252, Sep 13 2008, 22:55:01) [GCC 4.1.2 (Gentoo 4.1.2 p1.1)]
----------------------------------------------------------------------
Comment By: NicDumZ — Nicolas Dumazet (nicdumz) Date: 2008-11-14 08:00
Message: I went more deeply into that code, intending several fixes. Can you upgrade to the last svn version, and try again ?
I tried with Djvu of E. Dickinson and the script was working. I'd be happy to try with Danton's djvu if necessary :)
----------------------------------------------------------------------
Comment By: Yann Forget (yannforget) Date: 2008-11-13 20:42
Message: I still have the same error. Yann
----------------------------------------------------------------------
Comment By: NicDumZ — Nicolas Dumazet (nicdumz) Date: 2008-11-12 18:41
Message: Au loup !!
This display error should be fixed by r6089. Please re-comment on this bug if it is not the case :)
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2269688...