On Friday, December 22, 2017 at 4:53:48 AM UTC-8, Luís Guilherme F wrote:
>
> Hello,
> I'm getting this error on a server with Apache 2.2 / Ubuntu 12.04, which 
> doesn't happen on a box with Apache 2.4 / Ubuntu 16.04 (both now with 
> web2py 2.16.1):
>
>

Is this happening on specific requests, or any request?  I suspect that 
Apache 2.2 may be passing uwsgi parameters differently, but I'm an nginx 
guy (a little) or Rocket.

/dps
 

> Traceback (most recent call last):
>   File "/opt/web2py/gluon/main.py", line 434, in wsgibase
>     session.connect(request, response)
>   File "/opt/web2py/gluon/globals.py", line 1000, in connect
>     session_pickled = pickle.dumps(self, pickle.HIGHEST_PROTOCOL)
>   File "/opt/web2py/gluon/storage.py", line 52, in <lambda>
>  __getnewargs__ = lambda self: getattr(dict,self).__getnewargs__(self)
> TypeError: getattr(): attribute name must be string
>
> (...)
> File /opt/web2py/gluon/storage.py in <lambda> at line 56 code arguments 
> variables
> Function argument list
> (self=<Storage {}>)
>
> Version
> 2.16.1-stable+timestamp.2017.11.14.05.54.25
> (Running on Apache/2.2.22 (Ubuntu), Python 2.7.3)
>
> I've updated Web2py from 2.14.6 to 2.16.1 but still get the error.
> First overwriting the previous version, and now in a new folder.
>
> I'm trying to solve this for a few days now.
> This app should be deployed for production on this Apache 2.2 server, and 
> I'm stuck with these errors.
>
> Any help would be most welcome
> Luís
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to