Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#4002 defect closed invalid (invalid)

AttributeError: 'module' object has no attribute '_RLock'

Reported by: thijs Owned by:
Priority: normal Milestone:
Component: core Keywords: jython
Cc: pjenvey, thijs Branch:
Author: Launchpad Bug:

Description

The Jython buildslave currently throws the following error with Jython 2.5.1 trunk:

Traceback (most recent call last):
  File "./bin/trial", line 21, in <module>
    from twisted.scripts.trial import run
  File "/home/buildbot/Buildslaves/twisted/jython2.5-thijs-ubuntu/Twisted/twisted/scripts/trial.py", line 9, in <module>
    from twisted.internet import defer
  File "/home/buildbot/Buildslaves/twisted/jython2.5-thijs-ubuntu/Twisted/twisted/internet/defer.py", line 15, in <module>
    from twisted.python import log, failure, lockfile
  File "/home/buildbot/Buildslaves/twisted/jython2.5-thijs-ubuntu/Twisted/twisted/python/log.py", line 19, in <module>
    from twisted.python import util, context, reflect
  File "/home/buildbot/Buildslaves/twisted/jython2.5-thijs-ubuntu/Twisted/twisted/python/context.py", line 22, in <module>
    from twisted.python import threadable
  File "/home/buildbot/Buildslaves/twisted/jython2.5-thijs-ubuntu/Twisted/twisted/python/threadable.py", line 117, in <module>
    init(True)
  File "/home/buildbot/Buildslaves/twisted/jython2.5-thijs-ubuntu/Twisted/twisted/python/threadable.py", line 68, in init
    class XLock(threadingmodule._RLock, object):
AttributeError: 'module' object has no attribute '_RLock'

Change History (4)

comment:1 Changed 5 years ago by therve

All this code exists to support non-threaded systems. I suspect some other stuff would break there, so I would remove all of that. Thoughts?

comment:2 Changed 5 years ago by thijs

  • Resolution set to invalid
  • Status changed from new to closed

Looks like it's a Jython bug: http://bugs.jython.org/issue1079

Closing as invalid.

comment:4 Changed 3 years ago by <automation>

  • Owner glyph deleted
Note: See TracTickets for help on using tickets.