Traceback (most recent call last):
File "/home/username/anaconda3/lib/python3.7/site-packages/fake_useragent/fake.py", line 136, in __getattr__
return random.choice(self.data_browsers[browser])
KeyError: 'getstate'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "viewbot.py", line 113, in <module>
handler.get()
File "/home/username/anaconda3/lib/python3.7/multiprocessing/pool.py", line 683, in get
raise self._value
File "/home/username/anaconda3/lib/python3.7/multiprocessing/pool.py", line 457, in _handle_tasks
put(task)
File "/home/username/anaconda3/lib/python3.7/multiprocessing/connection.py", line 206, in send
self._send_bytes(_ForkingPickler.dumps(obj))
File "/home/username/anaconda3/lib/python3.7/multiprocessing/reduction.py", line 51, in dumps
cls(buf, protocol).dump(obj)
File "/home/username/anaconda3/lib/python3.7/site-packages/fake_useragent/fake.py", line 139, in __getattr__
raise FakeUserAgentError('Error occurred during getting browser') # noqa
fake_useragent.errors.FakeUserAgentError: Error occurred during getting browser
Hi, The script works perfectly if
multicore
is set tofalse
. However, whenmulticore
is set totrue
it fails silently. ### My machine settings:I tried to add the following to the code:
It gave me the following error: