cache.increment got exception ValueError: invalid literal for int() with base 10: 'value'
mouday opened this issue · comments
mouday commented
cache.increment('key', 1)
Traceback (most recent call last):
File "workspace/DataSpider/script/orator-test.py", line 76, in
cache.increment('key', 1)
File ".pyenv/versions/py370/lib/python3.7/site-packages/cachy/stores/file_store.py", line 128, in increment
integer = int(raw['data']) + value
ValueError: invalid literal for int() with base 10: 'value'
Martijn Pieters commented
This is similar to errors seen when cachy is not not handling concurrent access from multiple processes, see #22.