UnicodeEncodeError when building click with non ascii filename included
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | click (Ubuntu) |
High
|
Unassigned | ||
Bug Description
The Ubuntu Error Tracker has been receiving reports about a problem regarding click. This problem was most recently seen with version 0.4.38.5, the problem page at https:/
| Sebastien Bacher (seb128) wrote : | #1 |
| summary: |
- /usr/bin/click:UnicodeEncodeError:/usr/bin/click@86:main:run:build:list_files + UnicodeEncodeError when building click with non ascii filename included |
| Changed in click (Ubuntu): | |
| importance: | Undecided → High |
| Sebastien Bacher (seb128) wrote : | #2 |
note that click-review has similar issues
| Sebastien Bacher (seb128) wrote : | #3 |
bah, the e.u.c stacktrace is buggy, I had a debug version installed
correct one
Traceback (most recent call last):
File "/usr/bin/click", line 86, in <module>
sys.
File "/usr/bin/click", line 82, in main
return mod.run(args)
File "/usr/lib/
path = builder.build(".", manifest_
File "/usr/lib/
print("%s %s" % (md5.hexdigest(), path), file=md5sums)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 35-36: ordinal not in range(128)


Bug easy to trigger on vivid:
- start qtcreator
- create a new project (use the default one)
- create a file "tést" in the project directory
- try to publish that as a click
or using the command line, untar the bug.tar.gz from this bug report and run
$ LC_ALL=C click build --no-validate bug