niphlod / w2p_tvseries

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

scheduler error version 1.3.10 #9

Closed pepej closed 11 years ago

pepej commented 11 years ago

Hello

In last update have next error:

192.168.100.107.2013-03-18.21-46-24.ddf08d04-1fa2-4c0c-882b-6e395ee32bb4

<type 'exceptions.AttributeError'> 'Table' object has no attribute 'immediate' VERSIÓN web2py™ (2, 3, 2, datetime.datetime(2012, 12, 17, 15, 3, 30), 'stable') Python Python 2.7.3: /usr/bin/python TRACEBACK

Traceback (most recent call last): File "/usr/local/apps/web2py/gluon/restricted.py", line 212, in restricted exec ccode in environment File "/usr/local/apps/web2py/applications/w2p_tvseries/controllers/manage.py", line 494, in File "/usr/local/apps/web2py/gluon/globals.py", line 193, in self._caller = lambda f: f() File "/usr/local/apps/web2py/applications/w2p_tvseries/controllers/manage.py", line 433, in update_from_tvdb immediate=True) File "/usr/local/apps/web2py/gluon/scheduler.py", line 867, in queue_task **kwargs) File "/usr/local/apps/web2py/gluon/dal.py", line 7929, in validate_and_insert value,error = self[key].validate(value) File "/usr/local/apps/web2py/gluon/dal.py", line 7745, in getitem return ogetattr(self, str(key)) AttributeError: 'Table' object has no attribute 'immediate' ERROR SNAPSHOT
<type 'exceptions.AttributeError'>('Table' object has no attribute 'immediate')

niphlod commented 11 years ago

hi, did you update w2p_tvseries with the included updater ? If I'm not totally wrong, it's just that you have an old scheduler implementation (it got updated "officially" in web2py after 2.3.2...w2p_tvseries ships it separately for older versions of web2py, like yours). The updater should have replaced it for you, but in any case, you can force an update with:

pepej commented 11 years ago

Thansk

Update web2py and run installer, all work fine now.

niphlod commented 11 years ago

ok, closing....