niphlod / w2p_tvseries

TV Series Organizer, built with web2py
http://niphlod.github.io/w2p_tvseries/
Other
15 stars 3 forks source link

Cache error which web2py 2.9.7 #13

Closed pepej closed 10 years ago

pepej commented 10 years ago

Update to web2py 2.9.7 and get de follow error.

Error ticket for "w2p_tvseries"

Ticket ID

127.0.0.1.2014-09-07.11-28-26.23d337f9-2d4b-4b51-8fa4-ce5600ad17d4 <type 'exceptions.TypeError'> 'NoneType' object is not callable Versión web2py™ Version 2.9.7-stable+timestamp.2014.09.05.03.38.30 Rastreo

Traceback (most recent call last): File "/usr/local/apps/web2py/gluon/restricted.py", line 221, in restricted exec ccode in environment File "/usr/local/apps/web2py/applications/w2p_tvseries/controllers/default.py", line 310, in File "/usr/local/apps/web2py/gluon/globals.py", line 388, in self._caller = lambda f: f() File "/usr/local/apps/web2py/applications/w2ptvseries/controllers/default.py", line 27, in index gsettings = settings.global_settings() File "applications/w2p_tvseries/modules/w2p_tvseries_utils.py", line 241, in global_settings gs = cache.disk('w2p_tvseries_gsettings', lambda : self._global_settings(), time_expire=1500) File "/usr/local/apps/web2py/gluon/cache.py", line 386, in call self.storage[key] = (now, value) File "/usr/local/apps/web2py/gluon/cache.py", line 296, in setitem pickle.dump((time.time(), value), tmp, pickle.HIGHEST_PROTOCOL) TypeError: 'NoneType' object is not callable

niphlod commented 10 years ago

whoops, that's an issue with the new cache.disk. For now, revert to 2.9.5.

niphlod commented 10 years ago

1.3.17 has a workaround.