Bug 9071 - text encoding on project name
Summary: text encoding on project name
Status: RESOLVED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Low normal
Target Milestone: Future
Assignee: Sujith H
QA Contact: Mihail Stanciu
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-02-05 13:44 UTC by Michael Wood
Modified: 2016-04-14 20:04 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Wood 2016-02-05 13:44:01 UTC
If you enter a non ascii char like é in a project name the bldcontrol fails

Traceback (most recent call last):
  File "/home/michael/toaster/poky/bitbake/lib/toaster/bldcontrol/management/commands/runbuilds.py", line 50, in schedule
    logger.debug("runbuilds: starting build %s, environment %s" % (br, bec.be))
  File "/home/michael/toaster/poky/bitbake/lib/toaster/bldcontrol/models.py", line 95, in __str__
    return "%s %s" % (self.project, self.get_state_display())
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3: ordinal not in range(128)
Comment 1 Sujith H 2016-03-01 11:31:46 UTC
Taking up this task
Comment 2 Ross Burton 2016-04-14 20:04:08 UTC
Fixed in bitbake b6141c4d170885d3bdf63074afcb1e41fde0a8f0.