Skip to content

Random riak.client.multiget.MultiGetPool - threading.py Exception [JIRA: CLIENTS-817] #449

@braoru

Description

@braoru

Hello

I create small tools to manipulate riak data, when I use python 3.4.3 I commonly get random threading error (1 time on 5 or 6).

Exception ignored in: <bound method MultiGetPool.__del__ of <riak.client.multiget.MultiGetPool object at 0x7f64651e0ac8>>
Traceback (most recent call last):
  File "/home/sebastien/Documents/dev/components-tools/lib64/python3.4/site-packages/riak/client/multiget.py", line 123, in __del__
  File "/home/sebastien/Documents/dev/components-tools/lib64/python3.4/site-packages/riak/client/multiget.py", line 110, in stop
  File "/usr/lib64/python3.4/threading.py", line 517, in set
  File "/usr/lib64/python3.4/threading.py", line 359, in notify_all
  File "/usr/lib64/python3.4/threading.py", line 342, in notify
TypeError: 'NoneType' object is not callable

It's seem to be related to a try to stop an empty pool but not sure.

Python version and Riak lib version

(components-tools) [sebastien@aspros components-tools]$ python --version
Python 3.4.3
(components-tools) [sebastien@aspros components-tools]$ pip show riak

---
Metadata-Version: 1.1
Name: riak
Version: 2.4.2
Summary: Python client for Riak
Home-page: https://github.com/basho/riak-python-client
Author: Basho Technologies
Author-email: clients@basho.com
License: Apache 2
Location: /home/sebastien/Documents/dev/components-tools/lib/python3.4/site-packages
Requires: six, python3-protobuf
Classifiers:
  License :: OSI Approved :: Apache Software License
  Intended Audience :: Developers
  Operating System :: OS Independent
  Programming Language :: Python :: 2.7
  Programming Language :: Python :: 3.3
  Programming Language :: Python :: 3.4
  Programming Language :: Python :: 3.5
  Topic :: Database
(components-tools) 

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions