[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#790816: RFS: roxterm/3.0.1-1



On 07/07/15 09:21, Vincent Cheng wrote:

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position
836: ordinal not in range(128)

debian/rules:36: recipe for target 'override_dh_auto_build' failed

I've attached the full build log.

I think the problem is that the PC you tried the build on doesn't have utf8 as its default encoding, so I need to enforce that in the script. This would need to apply upstream too so I think the best way is to change mscript.py with the attached patch. Would you be able to test that for me before I upload a new version?



--- mscript.py.old	2015-07-07 14:00:48.380541102 +0100
+++ mscript.py	2015-07-07 14:01:52.855115233 +0100
@@ -1,6 +1,10 @@
 #!/usr/bin/env python3
 
-import errno, os, re, sys, time
+import sys
+reload(sys)
+sys.setdefaultencoding('UTF8')
+
+import errno, os, re, time
 
 from maitch import *
 

Reply to: