Comment 1 for bug 1103159

Revision history for this message
Barry Warsaw (barry) wrote : Re: [Bug 1103159] [NEW] "The specified reactor cannot be used, failed with error: cannot import name enable."

On Jan 22, 2013, at 08:34 PM, Glyph Lefkowitz wrote:

>After attempting to fix xvfb not starting, the "ubuntu-12.10-py2.7"
>buildbot (which is now actually running 13.04?) now fails with:
>
> ./bin/trial: The specified reactor cannot be used, failed with
>error: cannot import name enable.
>
><https://buildbot.twistedmatrix.com/builders/ubuntu-12.10-py2.7-gtk/builds/137/steps/gtk3/logs/stdio>
>
>Maybe this is a bug in Twisted itself, but it seems like the builder
>ought to be able to get further along. Is it missing some packages
>post-upgrade?

Possibly, although from the machine's command line:

ubuntu@twisted-python3-buildbot-slave:~$ python
Python 2.7.3 (default, Jan 6 2013, 12:15:04)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gi.pygtkcompat
__main__:1: PyGIDeprecationWarning: gi.pygtkcompat is being deprecated in favor of using "pygtkcompat" directly.
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/gi/pygtkcompat.py", line 8, in <module>
    from pygtkcompat import (enable,
ImportError: cannot import name enable
>>> import pygtkcompat
>>> pygtkcompat.enable
<function enable at 0xea0ed8>
>>>