UnicodeEncodeError when building click with non ascii filename included

Bug #1435228 reported by errors.ubuntu.com bug bridge on 2015-03-23
8
This bug affects 1 person
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://errors.ubuntu.com/problem/3d90ce6aa3c49956d56c7eb3bb3929cf70b3e8da contains more details.

Sebastien Bacher (seb128) wrote :

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

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 :

note that click-review has similar issues

Sebastien Bacher (seb128) wrote :

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.exit(main())
  File "/usr/bin/click", line 82, in main
    return mod.run(args)
  File "/usr/lib/python3/dist-packages/click/commands/build.py", line 57, in run
    path = builder.build(".", manifest_path=options.manifest)
  File "/usr/lib/python3/dist-packages/click/build.py", line 289, in build
    print("%s %s" % (md5.hexdigest(), path), file=md5sums)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 35-36: ordinal not in range(128)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers