I think this was fixed in a later version.
On Feb 21, 9:52 pm, weheh <richard_gor...@verizon.net> wrote: > I'm trying to detect the browser being used to access my web2py app. > The literature seems to recommend reading request.env.http_user_agent. > But the results are a little confusing, so I'm trying > request.user_agent(), which uses "gluon/contrib/ > user_agent_parser.py" (as per the doc). This throws the following > ticket: > > Traceback (most recent call last): > File "N:\web2py\gluon\main.py", line 518, in wsgibase > session._try_store_on_disk(request, response) > File "N:\web2py\gluon\globals.py", line 528, in _try_store_on_disk > cPickle.dump(dict(self), response.session_file) > PicklingError: Can't pickle <class 'storage.Storage'>: it's not the > same object as storage.Storage > > I'm on web2py v1.99.2 > > Thanks.