Skip to content
This repository was archived by the owner on Oct 3, 2022. It is now read-only.

[Bug] Database Locking Error #7

Open
cbrgm opened this issue Dec 14, 2017 · 1 comment
Open

[Bug] Database Locking Error #7

cbrgm opened this issue Dec 14, 2017 · 1 comment
Labels

Comments

@cbrgm
Copy link
Owner

cbrgm commented Dec 14, 2017

Sometimes there's a bug where the thread pool is locking the database. I need to fix that soon. This is just a reminder for myself.

File "/usr/local/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/workspace/util/processing.py", line 32, in run
self.parse_parallel(queue=url_queue, threads=4)
File "/workspace/util/processing.py", line 41, in parse_parallel
pool.map(self.update_feed, queue)
File "/usr/local/lib/python2.7/multiprocessing/pool.py", line 253, in map
return self.map_async(func, iterable, chunksize).get()
File "/usr/local/lib/python2.7/multiprocessing/pool.py", line 572, in get
raise self._value
OperationalError: database is locked

@cbrgm cbrgm added the bug label Dec 14, 2017
@cbrgm cbrgm changed the title Database Locking Error [Bug] Database Locking Error Dec 14, 2017
@JuniorJPDJ
Copy link

I've got the same error

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants