Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#4002 defect closed invalid (invalid)

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

Reported by: Thijs Triemstra Owned by:
Priority: normal Milestone:
Component: core Keywords: jython
Cc: pjenvey, Thijs Triemstra Branch:


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 9 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 9 years ago by Thijs Triemstra

Resolution: invalid
Status: newclosed

Looks like it's a Jython bug:

Closing as invalid.

comment:4 Changed 8 years ago by <automation>

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