Skip to content

Instantly share code, notes, and snippets.

@miawgogo
Created March 1, 2016 22:59
Show Gist options
  • Save miawgogo/1bd8794b4fedd5c75481 to your computer and use it in GitHub Desktop.
Save miawgogo/1bd8794b4fedd5c75481 to your computer and use it in GitHub Desktop.
"""
Traceback (most recent call last):
File "C:\Python34\lib\multiprocessing\pool.py", line 119, in worker
result = (True, func(*args, **kwds))
File "C:\Python34\lib\multiprocessing\pool.py", line 44, in mapstar
return list(map(*args))
File "C:\Python34\lib\site-packages\himawaripy-1.1-py3.4.egg\himawaripy\himawaripy.py", line 56, in download_chunk
with counter.get_lock():
AttributeError: 'NoneType' object has no attribute 'get_lock'
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Python34\Scripts\himawaripy-script.py", line 9, in <module>
load_entry_point('himawaripy==1.1', 'console_scripts', 'himawaripy')()
File "C:\Python34\lib\site-packages\himawaripy-1.1-py3.4.egg\himawaripy\himawaripy.py", line 88, in main
File "C:\Python34\lib\multiprocessing\pool.py", line 260, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "C:\Python34\lib\multiprocessing\pool.py", line 608, in get
raise self._value
AttributeError: 'NoneType' object has no attribute 'get_lock'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment