clarete / curdling

Concurrent package manager for Python
http://clarete.li/curdling
GNU General Public License v3.0
276 stars 19 forks source link

Encoding bugs #74

Closed darioush closed 2 years ago

darioush commented 10 years ago

When a BuildException occurs and it contains non-ascii characters, utils.spaces called from tool.show_report fails because it tries to join a non-encoded string with '\n' which is a unicode literal.

Additionally if this is fixed, writing it to sys.stdout.write will fail, since it the encoding is not properly handled. (Is there a reason to not use print or logging?)

This can actually occur when gcc outputs unicode ticks for variable names. Odd.