/usr/bin/twistd3 fails with "AttributeError: module 'sys' has no attribute 'exc_clear'"

Bug #1524492 reported by Ricardo Bánffy
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
twisted-py3 (Ubuntu)
Fix Released
Critical
Andres Rodriguez

Bug Description

When attempting to start a Twisted-based application, it incurred in the following error:

Traceback (most recent call last):
  File "/usr/bin/twistd", line 9, in <module>
    sys.exc_clear()
AttributeError: module 'sys' has no attribute 'exc_clear'
Traceback (most recent call last):
  File "/usr/bin/twistd", line 7, in <module>
    import _preamble
ImportError: No module named '_preamble'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/twistd", line 9, in <module>
    sys.exc_clear()
AttributeError: module 'sys' has no attribute 'exc_clear'
Traceback (most recent call last):
  File "/usr/bin/twistd", line 7, in <module>
    import _preamble
ImportError: No module named '_preamble'

This is fixed on upstream https://twistedmatrix.com/trac/browser/trunk/bin/twistd

Running Ubuntu Xenial with python3-twisted-experimental version "15.4.0-0ubuntu2"

Tags: python3
Changed in twisted-py3 (Ubuntu):
assignee: nobody → Andres Rodriguez (andreserl)
Changed in twisted-py3 (Ubuntu):
status: New → In Progress
status: In Progress → Fix Committed
Changed in twisted-py3 (Ubuntu):
importance: Undecided → Critical
tags: added: python3
Changed in twisted-py3 (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Leonardo Donelli (learts92) wrote :

The bug is still present in Trusty.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.