Opened 6 years ago

Closed 6 years ago

Last modified 6 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:


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/", line 9, in <module>
    from twisted.internet import defer
  File "/home/buildbot/Buildslaves/twisted/jython2.5-thijs-ubuntu/Twisted/twisted/internet/", line 15, in <module>
    from twisted.python import log, failure, lockfile
  File "/home/buildbot/Buildslaves/twisted/jython2.5-thijs-ubuntu/Twisted/twisted/python/", line 19, in <module>
    from twisted.python import util, context, reflect
  File "/home/buildbot/Buildslaves/twisted/jython2.5-thijs-ubuntu/Twisted/twisted/python/", line 22, in <module>
    from twisted.python import threadable
  File "/home/buildbot/Buildslaves/twisted/jython2.5-thijs-ubuntu/Twisted/twisted/python/", line 117, in <module>
  File "/home/buildbot/Buildslaves/twisted/jython2.5-thijs-ubuntu/Twisted/twisted/python/", line 68, in init
    class XLock(threadingmodule._RLock, object):
AttributeError: 'module' object has no attribute '_RLock'

Change History (4)

comment:1 Changed 6 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 6 years ago by thijs

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

Looks like it's a Jython bug:

Closing as invalid.

comment:4 Changed 5 years ago by <automation>

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