utah on phablet breaks on _save_props
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
UTAH |
Fix Released
|
Medium
|
Andy Doan |
Bug Description
I'm seeing _save_props break if I used the wrong --results-dir path:
king@lenovo:
= setting up network...
Network file is /etc/NetworkMan
Provisioning network file to device
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
adbd is already running as root
6 KB/s (294 bytes in 0.041s)
Network setup complete
= installing utah...
adbd is already running as root
gpg: keyring `/tmp/tmpsr90l_
gpg: keyring `/tmp/tmpsr90l_
gpg: requesting key 63840199 from hkp server keyserver.
gpg: /tmp/tmpsr90l_
gpg: key 63840199: public key "Launchpad PPA for Ubuntu Automation Test Harness Dev" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
Reading package lists...
Building dependency tree...
Reading state information...
utah-client is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 74 not upgraded.
Traceback (most recent call last):
File "./touch/
main()
File "./touch/
_save_
File "./touch/
with open(props_file, 'w') as f:
IOError: [Errno 2] No such file or directory: '/home/
.. _save_props does zero error checking:
def _save_props(args):
props = _adb(args, ['shell', 'getprop'], True)
props_file = os.path.
with open(props_file, 'w') as f:
Perhaps some error checking or stat'ing the directory before it's open'd would be more user friendly.
tags: | added: phablet |
Changed in utah: | |
status: | In Progress → Fix Released |
status: | Fix Released → Fix Committed |
Changed in utah: | |
status: | Fix Committed → Fix Released |
milestone: | none → 0.14 |
fixed at home with: http:// bazaar. launchpad. net/~doanac/ utah/touch/ revision/ 948
trying to merge that branch this week.