#3257: 'module' object has no attribute 'SimpleNamespace' with Python 2.7
----------------------+--------------------------
 Reporter:  thoradia  |      Owner:
     Type:  bug       |     Status:  new
 Priority:  minor     |  Milestone:  2.0.0
Component:  Core      |    Version:  master (git)
 Keywords:            |
----------------------+--------------------------
 I am trying to run deluged 2.0.0 with Python 2.7.15, and it logs the
 errors below.

 Do deluged and deluge-web 2.0.0 run with Python 2.7, or is Python 3.5
 required?

 I found
 [https://review.opendev.org/#/c/514315/2/ospurge/tests/test_main.py this]
 to add SimpleNamespace to Python 2.7, just in case.

 {{{
 Unhandled error in Deferred:
 [CRITICAL][twisted                       :154 ] Unhandled error in
 Deferred:
 Traceback (most recent call last):
   File ".../deluge-2.0.0-py2.7.egg/deluge/component.py", line 126, in
 on_start
   File ".../deluge-2.0.0-py2.7.egg/deluge/component.py", line 120, in
 _component_start_timer
   File ".../Twisted-19.2.1-py2.7-linux-
 x86_64.egg/twisted/internet/task.py", line 194, in start
   File ".../Twisted-19.2.1-py2.7-linux-
 x86_64.egg/twisted/internet/task.py", line 239, in __call__
 --- <exception caught here> ---
   File ".../Twisted-19.2.1-py2.7-linux-
 x86_64.egg/twisted/internet/defer.py", line 151, in maybeDeferred
   File ".../deluge-2.0.0-py2.7.egg/deluge/core/alertmanager.py", line 62,
 in update
   File ".../deluge-2.0.0-py2.7.egg/deluge/core/alertmanager.py", line 129,
 in handle_alerts
 exceptions.AttributeError: 'module' object has no attribute
 'SimpleNamespace'
 [CRITICAL][deluge.log                    :205 ] twisted.internet.defer
 }}}

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3257>
Deluge <http://deluge-torrent.org/>
Deluge Project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/deluge-dev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/deluge-dev/046.4ced3f2877b6770abb8a188191fb548f%40deluge-torrent.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to