Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-26

Client throws intermittent "Exception in thread dispatcher-thread" errors

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.5
    • Fix Version/s: 0.9.0
    • Component/s: None
    • Security Level: Public
    • Labels:
      None
    • Environment:
      Windows 7, Python 2.7

      Description

      While working on the changes for 0.6, I started to get these errors. They went away after some time and I haven't seen them since (though I've used the Python client minimally since the 0.6 release). However, a user reported a similar experience on the forums today. I don't have steps to recreate, but wanted to make note of this as it's no longer isolated to my setup.

      http://www.couchbase.com/forums/comment/reply/1001642#comment-form

      Exception in thread dispatcher-thread (most likely raised during interpreter shutdown):
      Traceback (most recent call last):
      File "/usr/lib64/python2.6/threading.py", line 532, in __bootstrap_inner
      File "/usr/lib64/python2.6/threading.py", line 484, in run
      File "/usr/lib/python2.6/site-packages/couchbase/couchbaseclient.py", line 661, in _start_dispatcher
      File "/usr/lib/python2.6/site-packages/couchbase/couchbaseclient.py", line 968, in dispatch
      File "/usr/lib64/python2.6/Queue.py", line 174, in get
      <type 'exceptions.TypeError'>: 'NoneType' object is not callable

      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        john John Zablocki (Inactive) created issue -
        Hide
        Drahkar James Boylan added a comment -

        I have also seen this issue manifest on a Linux system running the 0.6 Client Library for Python. Tested both with Python 2.6 and 2.7. It seems to stem from the threading being done in the client library. ie, threads don't seem to be exiting correctly resulting in the error.

        Show
        Drahkar James Boylan added a comment - I have also seen this issue manifest on a Linux system running the 0.6 Client Library for Python. Tested both with Python 2.6 and 2.7. It seems to stem from the threading being done in the client library. ie, threads don't seem to be exiting correctly resulting in the error.
        ingenthr Matt Ingenthron made changes -
        Field Original Value New Value
        Assignee Matt Ingenthron [ ingenthr ] Mark Nunberg [ mnunberg ]
        mnunberg Mark Nunberg made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 0.9.0 [ 10373 ]
        Resolution Fixed [ 1 ]
        brett19 Brett Lawson made changes -
        Workflow jira [ 16369 ] Couchbase SDK Workflow [ 44558 ]

          People

          • Assignee:
            mnunberg Mark Nunberg
            Reporter:
            john John Zablocki (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes