[Bug 1035032] [NEW] New aptdaemon.client breaks apps using twisted with gireactor

Rodney Dawes 1035032 at bugs.launchpad.net
Thu Aug 9 18:55:07 UTC 2012


Public bug reported:

Discovered this while attempting to upload a new patch to ubuntuone-
installer on quantal and having the tests fail with the following error:

dobey at u1-client-tarmac-trunk:~/ubuntuone-installer$ ./run-tests Traceback (most recent call last):
  File "/usr/bin/u1trial", line 40, in <module>
    main()
  File "/usr/lib/python2.7/dist-packages/ubuntuone-dev-tools/ubuntuone/devtools/runners/__init__.py", line 259, in main
    suite = test_runner.get_suite(options)
  File "/usr/lib/python2.7/dist-packages/ubuntuone-dev-tools/ubuntuone/devtools/runners/__init__.py", line 170, in get_suite
    config['ignore-paths']))
  File "/usr/lib/python2.7/dist-packages/ubuntuone-dev-tools/ubuntuone/devtools/runners/__init__.py", line 154, in _collect_tests
    module_suite = self._load_unittest(filepath)
  File "/usr/lib/python2.7/dist-packages/ubuntuone-dev-tools/ubuntuone/devtools/runners/__init__.py", line 95, in _load_unittest
    module = __import__(modpath, None, None, [""])
  File "/home/dobey/ubuntuone-installer/ubuntuone/installer/tests/test_gui.py", line 21, in <module>
    from ubuntuone.installer import gui
  File "/home/dobey/ubuntuone-installer/ubuntuone/installer/gui.py", line 19, in <module>
    import aptdaemon.client as aptclient
  File "/usr/lib/python2.7/dist-packages/aptdaemon/client.py", line 41, in <module>
    import gobject as GObject
ImportError: No module named gobject

This same issue existed on the previous version as well, but in the
exact opposite manner, though was not exposed in general, as
gi.repository would have been tried first then, and so apps using it
would have been fine.

** Affects: aptdaemon
     Importance: Undecided
         Status: New

** Affects: aptdaemon (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: aptdaemon (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to aptdaemon in Ubuntu.
https://bugs.launchpad.net/bugs/1035032

Title:
  New aptdaemon.client breaks apps using twisted with gireactor

Status in Aptdaemon:
  New
Status in “aptdaemon” package in Ubuntu:
  New

Bug description:
  Discovered this while attempting to upload a new patch to ubuntuone-
  installer on quantal and having the tests fail with the following
  error:

  dobey at u1-client-tarmac-trunk:~/ubuntuone-installer$ ./run-tests Traceback (most recent call last):
    File "/usr/bin/u1trial", line 40, in <module>
      main()
    File "/usr/lib/python2.7/dist-packages/ubuntuone-dev-tools/ubuntuone/devtools/runners/__init__.py", line 259, in main
      suite = test_runner.get_suite(options)
    File "/usr/lib/python2.7/dist-packages/ubuntuone-dev-tools/ubuntuone/devtools/runners/__init__.py", line 170, in get_suite
      config['ignore-paths']))
    File "/usr/lib/python2.7/dist-packages/ubuntuone-dev-tools/ubuntuone/devtools/runners/__init__.py", line 154, in _collect_tests
      module_suite = self._load_unittest(filepath)
    File "/usr/lib/python2.7/dist-packages/ubuntuone-dev-tools/ubuntuone/devtools/runners/__init__.py", line 95, in _load_unittest
      module = __import__(modpath, None, None, [""])
    File "/home/dobey/ubuntuone-installer/ubuntuone/installer/tests/test_gui.py", line 21, in <module>
      from ubuntuone.installer import gui
    File "/home/dobey/ubuntuone-installer/ubuntuone/installer/gui.py", line 19, in <module>
      import aptdaemon.client as aptclient
    File "/usr/lib/python2.7/dist-packages/aptdaemon/client.py", line 41, in <module>
      import gobject as GObject
  ImportError: No module named gobject

  This same issue existed on the previous version as well, but in the
  exact opposite manner, though was not exposed in general, as
  gi.repository would have been tried first then, and so apps using it
  would have been fine.

To manage notifications about this bug go to:
https://bugs.launchpad.net/aptdaemon/+bug/1035032/+subscriptions




More information about the foundations-bugs mailing list