You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The example (in the readme) suggests to write os.environ['SC2READER_CACHE_MAX_SIZE'] = 100. This does not work (at least for me, Python 3.6.9) : environment variables are supposed to be strings (throws a TypeError).
When set to string, this causes an error in sc2reader because of a comparison between a string and an integer (sc2factory.py line 315).
The text was updated successfully, but these errors were encountered:
File ".../.local/lib/python3.6/site-packages/sc2reader/factories/sc2factory.py", line 315, in cache_set
if self.cache_max_size and len(self.cache_dict) >= self.cache_max_size:
TypeError: '>=' not supported between instances of 'int' and 'str'
The example (in the readme) suggests to write
os.environ['SC2READER_CACHE_MAX_SIZE'] = 100
. This does not work (at least for me, Python 3.6.9) : environment variables are supposed to be strings (throws a TypeError).When set to string, this causes an error in sc2reader because of a comparison between a string and an integer (
sc2factory.py
line 315).The text was updated successfully, but these errors were encountered: