'/usr/bin/python is missing' error when testsuite is not found

Bug #1364369 reported by Nicholas Skaggs
6
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

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
Revision history for this message
Sergio Schvezov (sergiusens) wrote : Re: [Bug 1364369] [NEW] '/usr/bin/python is missing' error whentestsuite is not found

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.

Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

There are no traces of python2 on the phablet images. I would agree with stripping the python2 bits out completely.

Changed in phablet-tools (Ubuntu):
assignee: nobody → Nicholas Skaggs (nskaggs)
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package phablet-tools - 1.1+14.10.20140918-0ubuntu1

---------------
phablet-tools (1.1+14.10.20140918-0ubuntu1) utopic; urgency=low

  [ Oliver Grawert ]
  * 'phablet-shell: only start/stop ssh if it is not already running, do
    not wipe authorized_keys (breaks the SDK) and instead only append
    the key if it is not there yet. make sure ~/.ssh exists before
    trying to do anything with it (LP: #1355286) (LP: #1337289) (LP:
    #1326805) (LP: #1337289, #1326805, #1355286)

  [ nskaggs ]
  * Make phablet-test-run use only python3 and the autopilot3 binary.
    Fixes bug 1321463 and bug 1364369 (LP: #1364369, #1321463)
 -- Ubuntu daily release <email address hidden> Thu, 18 Sep 2014 11:52:02 +0000

Changed in phablet-tools (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.