ImportError: Start directory is not importable on valid test folder
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
phablet-tools (Ubuntu) |
Confirmed
|
Critical
|
Unassigned |
Bug Description
I can't run a particular AutoPilot test case that, it turns out, runs with autopilot3 just fine:
adb shell
> autopilot3 run ubuntuuitoolkit
Ran 1 test in 2.504s
OK
^^ Works
$ phablet-test-run ubuntuuitoolkit
Traceback (most recent call last):
File "/usr/lib/
top_level_
File "/usr/lib/
raise ImportError('Start directory is not importable: %r' % start_dir)
ImportError: Start directory is not importable: 'ubuntuuitoolki
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/
load_entry_
File "/usr/lib/
test_app.run()
File "/usr/lib/
action()
File "/usr/lib/
self.args.suite
File "/usr/lib/
all_tests, error_occured = _discover_
File "/usr/lib/
test, top_level_dir = _discover_
File "/usr/lib/
test = loader.
File "/usr/lib/
parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'test_launcher'
/usr/bin/
adb shell
> ls /usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
phablet-test-run ubuntuuitoolkit
09:46:50.241 INFO run:235 - Autopilot Source Version: 1.5.0
Autopilot Package Version: 1.5.0+15.
09:46:50.312 WARNING emulators:26 - The ubuntuuitoolkit
Traceback (most recent call last):
File "/usr/lib/
top_level_
File "/usr/lib/
raise ImportError('Start directory is not importable: %r' % start_dir)
ImportError: Start directory is not importable: 'ubuntuuitoolki
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/
load_entry_
File "/usr/lib/
test_app.run()
File "/usr/lib/
action()
File "/usr/lib/
self.args.suite
File "/usr/lib/
all_tests, error_occured = _discover_
File "/usr/lib/
test, top_level_dir = _discover_
File "/usr/lib/
test = loader.
File "/usr/lib/
parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'test_launcher'
/usr/bin/
^^ Fails
Code is in lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/autoPilotQtTestLanding
summary: |
- ImportError: Start directory is not importable on valid test folder + Buy Cialis Online to Handle Sexual Problems Effectively |
description: | updated |
description: | updated |
summary: |
- Buy Cialis Online to Handle Sexual Problems Effectively + ImportError: Start directory is not importable on valid test folder |
Status changed to 'Confirmed' because the bug affects multiple users.