This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author georg.brandl
Recipients georg.brandl, pitrou
Date 2013-05-09.06:13:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1368080019.56.0.453263213436.issue17943@psf.upfronthosting.co.za>
In-reply-to
Content
I'm a bit puzzled by this exception in a long-running process
(running on Python 2.7.3):

...
  File "/usr/lib/python2.7/Queue.py", line 138, in put
    self.not_empty.notify()
        item                 = ('message', '\x80\x02]q\x01(U\x05nicosq\x02GA\xd4b\xccu\xb0\xc0\xcaK\x15U\x01\nNU\x00e.')
        self                 = <Queue.Queue instance at 0x7f1d9c1c9e18>
        block                = False
        timeout              = None

  File "/usr/lib/python2.7/threading.py", line 288, in notify
    waiter.release()
        waiter               = 7128680L
        self                 = <Condition(<thread.lock object at 0x24a5590>, 1)>
        _Condition__waiters  = [7128680L]
        waiters              = [7128680L]
        n                    = 1

AttributeError: 'long' object has no attribute 'release'


As far as I can see, there should only ever be lock objects in the self.__waiters list.  Does anyone see a possible reason for the long object to end up there?  (Sadly I can't debug the process anymore.)
History
Date User Action Args
2013-05-09 06:13:39georg.brandlsetrecipients: + georg.brandl, pitrou
2013-05-09 06:13:39georg.brandlsetmessageid: <1368080019.56.0.453263213436.issue17943@psf.upfronthosting.co.za>
2013-05-09 06:13:39georg.brandllinkissue17943 messages
2013-05-09 06:13:39georg.brandlcreate