autopilot3 crashed with FileNotFoundError in _execute_child(): [Errno 2] No such file or directory: 'spreadsheet'

Bug #1322206 reported by Jean-Baptiste Lallement
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
autopilot (Ubuntu)
New
Medium
Unassigned

Bug Description

autopilot3 launch <executable> crashes if executable exists but is not in path.

TEST CASE
1. cp /usr/bin/gedit /tmp/mygedit
2. cd /tmp/
3. autopilot3 launch mygedit

ACTUAL RESULT
This crash

EXPECTED RESULT
autopilot fails nicely with something like:
Error: Cannot find application in PATH 'mygedit'

ProblemType: Crash
DistroRelease: Ubuntu 14.10
Package: python3-autopilot 1.5.0+14.10.20140509-0ubuntu1 [modified: usr/lib/python3/dist-packages/autopilot/introspection/_search.py]
ProcVersionSignature: Ubuntu 3.13.0-24.47-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.2-0ubuntu4
Architecture: amd64
CrashCounter: 1
CurrentDesktop: Unity
Date: Thu May 22 16:07:18 2014
ExecutablePath: /usr/bin/autopilot3
InstallationDate: Installed on 2013-09-03 (260 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902)
InterpreterPath: /usr/bin/python3.4
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/bin/autopilot3 launch spreadsheet
PythonArgs: ['/usr/bin/autopilot3', 'launch', 'spreadsheet']
SourcePackage: autopilot
Title: autopilot3 crashed with FileNotFoundError in _execute_child(): [Errno 2] No such file or directory: 'spreadsheet'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm autopilot cdrom dip libvirtd lpadmin plugdev sambashare sudo

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
tags: removed: need-duplicate-check
Changed in autopilot (Ubuntu):
importance: Undecided → Medium
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.