Bug 10729 - devshell: Exception: TypeError: Can't convert 'bytes' object to str implicitly
Summary: devshell: Exception: TypeError: Can't convert 'bytes' object to str implicitly
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.2
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.3 M1
Assignee: Ross Burton
QA Contact: Jair Gonzalez
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-11-27 16:37 UTC by Martin Vuille
Modified: 2016-12-06 22:43 UTC (History)
4 users (show)

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


Attachments
Backtrace of exception (8.32 KB, text/plain)
2016-11-27 16:37 UTC, Martin Vuille
no flags Details
Possible patch (462 bytes, patch)
2016-11-27 16:40 UTC, Martin Vuille
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Vuille 2016-11-27 16:37:53 UTC
Created attachment 3548 [details]
Backtrace of exception

Preconditions/Environment
-------------------------
Fedora 24

Triggering Action/Cause
-----------------------
Configured to use 'konsole' as terminal, which is not supported with KDE5
Run devshell task

Expectation
-----------
Error message about failure to run 'konsole'

Actual Result
-------------
Python raises an exception (see attachment)

Reproducibility
---------------
100%
Comment 1 Martin Vuille 2016-11-27 16:40:29 UTC
Created attachment 3549 [details]
Possible patch

Not sure which mailing list to submit to
Comment 2 Martin Vuille 2016-11-27 20:03:23 UTC
Sent patch to openembedded-core@lists.openembedded.org
Comment 3 Ross Burton 2016-11-28 10:03:56 UTC
It's in meta/, so openembedded-core@.  Patch looks good.
Comment 4 Ross Burton 2016-12-01 16:04:28 UTC
Fixed in oe-core 063b63d4d324c23322ac1b6b7c7928e725d7b968.