utah on phablet dies in an ugly way if one does not have phablet tools installed

Bug #1196862 reported by Colin Ian King
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
UTAH
New
Undecided
Unassigned

Bug Description

I did a clean raring install on my test box and then ran run_utah_phablet.py and got the following trace:

PYTHONPATH=./utah ./utah/examples/run_utah_phablet.py --skip-install --skip-network --ppa=ppa:utah/daily
= installing utah...
Traceback (most recent call last):
  File "./utah/examples/run_utah_phablet.py", line 403, in <module>
    main()
  File "./utah/examples/run_utah_phablet.py", line 395, in main
    _install_utah(args)
  File "./utah/examples/run_utah_phablet.py", line 149, in _install_utah
    _adb(args, ['root'])
  File "./utah/examples/run_utah_phablet.py", line 129, in _adb
    subprocess.check_call(cmd)
  File "/usr/lib/python2.7/subprocess.py", line 537, in check_call
    retcode = call(*popenargs, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 524, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1308, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

It was my fault for forgetting to install the phablet tools, but I guess the error reporting could be a bit more user-friendly rather than having to grok the source to figure out why it exploded.

description: updated
summary: - utah on phablet dies in an ugly way if one does not have phablet-flash
+ utah on phablet dies in an ugly way if one does not have phablet tools
installed
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.