flask-tryton

Message11

Author resteve
Recipients
Date 2019-05-03.12:19:43
Message-id <1556885983.66.0.48773142796.bug7@b2ck.com>
In-reply-to
Flask_tryton get error in v5.x (py3)

File
"/home/resteve/.virtualenvs/tryton/lib/python3.5/site-packages/flask/app.py",
line 2295, in wsgi_app
response = self.handle_exception(e)
File
"/home/resteve/.virtualenvs/tryton/lib/python3.5/site-packages/flask/app.py",
line 1741, in handle_exception
reraise(exc_type, exc_value, tb)
File
"/home/resteve/.virtualenvs/tryton/lib/python3.5/site-packages/flask/_compat.py",
line 35, in reraise
raise value
File
"/home/resteve/.virtualenvs/tryton/lib/python3.5/site-packages/flask/app.py",
line 2292, in wsgi_app
response = self.full_dispatch_request()
File
"/home/resteve/.virtualenvs/tryton/lib/python3.5/site-packages/flask/app.py",
line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File
"/home/resteve/.virtualenvs/tryton/lib/python3.5/site-packages/flask/app.py",
line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File
"/home/resteve/.virtualenvs/tryton/lib/python3.5/site-packages/flask/_compat.py",
line 35, in reraise
raise value
File
"/home/resteve/.virtualenvs/tryton/lib/python3.5/site-packages/flask/app.py",
line 1813, in full_dispatch_request
rv = self.dispatch_request()
File
"/home/resteve/.virtualenvs/tryton/lib/python3.5/site-packages/flask/app.py",
line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File
"/home/resteve/.virtualenvs/tryton/lib/python3.5/site-packages/flask_tryton.py",
line 98, in wrapper
Cache.clean(database)
AttributeError: type object 'MemoryCache' has no attribute
'clean'

Also not found "resets":

Cache.resets(database)
History
Date User Action Args
2019-05-03 12:19:43restevesetmessageid: <1556885983.66.0.48773142796.bug7@b2ck.com>
2019-05-03 12:19:43restevelinkbug7 messages
2019-05-03 12:19:43restevecreate