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
When fetching odds from external api external/odds/betclic/api.pyget_odds
we end up with the following error
Exception possibly due to cache backend.
Traceback (most recent call last):
File "/home/pronosfoot/.python/venv/pronosfoot/lib/python3.6/site-packages/memoize/__init__.py", line 368, in decorated_function
timeout=decorated_function.cache_timeout
File "/home/pronosfoot/.python/venv/pronosfoot/lib/python3.6/site-packages/memoize/__init__.py", line 107, in set
self.cache.set(key=key, value=value, timeout=timeout)
File "/home/pronosfoot/.python/venv/pronosfoot/lib/python3.6/site-packages/django/core/cache/backends/locmem.py", line 56, in set
pickled = pickle.dumps(value, self.pickle_protocol)
File "/home/pronosfoot/.python/venv/pronosfoot/lib/python3.6/site-packages/bs4/element.py", line 912, in __getnewargs__
return (str(self),)
RecursionError: maximum recursion depth exceeded while calling a Python object
When fetching odds from external api
external/odds/betclic/api.py
get_odds
we end up with the following error
A quick look at the issues on the django-memoize project did not show the same issue listed
https://github.com/unhaggle/django-memoize
Can it be because we're using an outdated version of django ?
The text was updated successfully, but these errors were encountered: