'/usr/bin/python is missing' error when testsuite is not found
Bug #1364369 reported by
Nicholas Skaggs
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
phablet-tools (Ubuntu) |
Fix Released
|
Undecided
|
Nicholas Skaggs |
Bug Description
When executing a test with phablet-test-run, if the testsuite does not exist on the device, the python3 check fails. The test then assumes it should run in python2 (which isn't possible on phablet images anymore) and returns a error that /usr/bin/python is missing. This is confusing to someone attempting to run a test, as the real issue is the testsuite is missing or mispelled, etc.
Related branches
lp://staging/~nskaggs/phablet-tools/remove-python2-support
- Paul Larson (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
- Sergio Schvezov: Approve (code)
- Oliver Grawert: Approve
-
Diff: 231 lines (+57/-77)2 files modifiedphablet-click-test-setup (+56/-65)
phablet-test-run (+1/-12)
summary: |
- Confusing error message when testsuite is not found + /usr/bin/python is missing" when testsuite is not found |
summary: |
- /usr/bin/python is missing" when testsuite is not found + '/usr/bin/python is missing' error when testsuite is not found |
Changed in phablet-tools (Ubuntu): | |
assignee: | nobody → Nicholas Skaggs (nskaggs) |
status: | New → In Progress |
To post a comment you must log in.
On martes 2 de septiembre de 2014 10h'05:13 ART, Nicholas Skaggs wrote:
> Public bug reported:
>
> When executing a test with phablet-test-run, if the testsuite does not
> exist on the device, the python3 check fails. The test then assumes it
> should run in python2 (which isn't possible on phablet images anymore)
> and returns a error that /usr/bin/python is missing. This is confusing
> to someone attempting to run a test, as the real issue is the testsuite
> is missing or mispelled, etc.
Are there no traces of python2 packages anymore? Just strip it out
completely then.