When import ubuntu_sso.utils.webclient, a reactor gets installed

Bug #927788 reported by Natalia Bidart
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Single Sign On Client
Status tracked in Trunk
Natalia Bidart

Bug Description

This makes very difficult using the module above in other applications that need to install a custom reactor.

nessita@dali:~/canonical/ussoc/trunk$ PYTHONPATH=. python
Python 2.7.2+ (default, Jan 21 2012, 23:31:34)
[GCC 4.6.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from ubuntu_sso.utils.webclient import WebClientError
>>> import qt4reactor
>>> qt4reactor.install()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/qt4reactor.py", line 338, in posixinstall
  File "/usr/lib/python2.7/dist-packages/twisted/internet/main.py", line 30, in installReactor
    raise error.ReactorAlreadyInstalledError("reactor already installed")
twisted.internet.error.ReactorAlreadyInstalledError: reactor already installed

Related branches

description: updated
Changed in ubuntu-sso-client:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Natalia Bidart (nataliabidart)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers