** Changed in: python Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to python2.7 in Ubuntu. https://bugs.launchpad.net/bugs/1255505
Title: unittest discover crashes with: module incorrectly imported from 'xxx'. Expected 'xxx. Is this module globally installed? Status in Python: Invalid Status in python2.7 package in Ubuntu: Fix Released Bug description: I got the similar error on touch device as well today morning before I reflashed it. sudo apt-get install unity-autopilot autopilot run unity.tests.test_panel.PanelCrossMonitorsTests.test_hovering_indicators_on_multiple_monitors On touch I used: [unknown what I had done before on the device] adb shell apt-get install unity8-autopilot exit phablet-test-run -n unity8 There the error message was the same except for module+directories referring to unity8. I've verified that at least Python 2.7 2.7.5-8ubuntu4 works as intended, and 2.7.6-2 is broken. ProblemType: Crash DistroRelease: Ubuntu 14.04 Package: python-autopilot 1.4+14.04.20131125-0ubuntu1 ProcVersionSignature: Ubuntu 3.12.0-4.10-generic 3.12.1 Uname: Linux 3.12.0-4-generic x86_64 ApportVersion: 2.12.7-0ubuntu1 Architecture: amd64 CheckboxSubmission: 1896b893828b4203b948b1eb6546be06 CheckboxSystem: d00f84de8a555815fa1c4660280da308 CurrentDesktop: Unity Date: Wed Nov 27 13:44:38 2013 EcryptfsInUse: Yes ExecutablePath: /usr/bin/autopilot InstallationDate: Installed on 2012-03-16 (620 days ago) InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120316) InterpreterPath: /usr/bin/python2.7 PackageArchitecture: all ProcCmdline: /usr/bin/python /usr/bin/autopilot run unity.tests.test_panel.PanelCrossMonitorsTests.test_hovering_indicators_on_multiple_monitors PythonArgs: ['/usr/bin/autopilot', 'run', 'unity.tests.test_panel.PanelCrossMonitorsTests.test_hovering_indicators_on_multiple_monitors'] SourcePackage: autopilot Title: autopilot crashed with ImportError in _find_tests(): 'test_switcher' module incorrectly imported from '/usr/lib/python2.7/dist-packages/unity/tests'. Expected '/usr/lib/python2.7/dist-packages/unity/tests'. Is this module globally installed? UpgradeStatus: Upgraded to trusty on 2013-10-23 (34 days ago) UserGroups: adm autopilot cdrom dip lp lpadmin motion plugdev sambashare sudo To manage notifications about this bug go to: https://bugs.launchpad.net/python/+bug/1255505/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp