Hi Mossimo,

If it helps See below. I first noticed the problem after I installed a 
package (instant press). Now I see it in the admin when I try to delete a 
view. I think its popped up a few other times too.

2.5.1-stable+timestamp.2013.06.06.15.39.19
(Running on Apache/2.2.22 (Ubuntu))

Versionweb2py™Version 2.5.1-stable+timestamp.2013.06.06.15.39.19PythonPython 
2.7.3: /usr/bin/python (prefix: /usr)Traceback

1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.

Traceback (most recent call last):
  File "/home/www-data/web2py/gluon/main.py", line 606, in wsgibase
    session._try_store_in_cookie_or_file(request, response)
  File "/home/www-data/web2py/gluon/globals.py", line 757, in 
_try_store_in_cookie_or_file
    self._try_store_in_file(request, response)
  File "/home/www-data/web2py/gluon/globals.py", line 763, in _try_store_in_file
    if not response.session_id or self._forget or self._unchanged():
  File "/home/www-data/web2py/gluon/globals.py", line 719, in _unchanged
    session_pickled = cPickle.dumps(dict(self))
  File "/usr/lib/python2.7/copy_reg.py", line 70, in _reduce_ex
    raise TypeError, "can't pickle %s objects" % base.__name__
TypeError: can't pickle function objects

Error snapshot [image: 
help]<https://www.mywebsonic.com/admin/default/ticket/admin/65.94.90.186.2013-07-21.04-18-30.019119b4-b817-4973-be82-a9ca5f490dfd#>

<type 'exceptions.TypeError'>(can't pickle function objects)

inspect attributes
Frames
   
   - 
   
   *File /home/www-data/web2py/gluon/main.py in wsgibase at line 606* code 
   arguments variables
   - 
   
   *File /home/www-data/web2py/gluon/globals.py in 
   _try_store_in_cookie_or_file at line 757* code arguments variables
   - 
   
   *File /home/www-data/web2py/gluon/globals.py in _try_store_in_file at 
   line 763* code arguments variables
   - 
   
   *File /home/www-data/web2py/gluon/globals.py in _unchanged at line 719* 
   code arguments variables
   - 
   
   *File /usr/lib/python2.7/copy_reg.py in _reduce_ex at line 70* code 
   arguments variables
   Function argument list
   
   (self=<function <lambda>>, proto=0)
   Code listing
   
   65.
   66.
   67.
   68.
   69.
   70.
   
   71.
   72.
   73.
   74.
   
           base = object # not really reachable
       if base is object:
           state = None
       else:
           if base is self.__class__:
               raise TypeError, "can't pickle %s objects" % base.__name__
   
           state = base(self)
       args = (self.__class__, base, state)
       try:
           getstate = self.__getstate__
   
   Variablesbase.__name__'function'builtinTypeError<type 
   'exceptions.TypeError'>base<type 'function'>
   
Context

locals request session response
In file: Framework

1.


On Tuesday, July 16, 2013 10:44:46 PM UTC-4, Joe Magaro wrote:
>
> Hi, Lately when I'm in the admin section, when I perform an action such as 
> installing a new app, or deleting a view I keep getting the error below. Im 
> not sure what changed to affect this, please help!
>
> raceback (most recent call last):
>   File "/home/www-data/web2py/gluon/main.py", line 606, in wsgibase
>     session._try_store_in_cookie_or_file(request, response)
>   File "/home/www-data/web2py/gluon/globals.py", line 757, in 
> _try_store_in_cookie_or_file
>     self._try_store_in_file(request, response)
>   File "/home/www-data/web2py/gluon/globals.py", line 763, in 
> _try_store_in_file
>     if not response.session_id or self._forget or self._unchanged():
>   File "/home/www-data/web2py/gluon/globals.py", line 719, in _unchanged
>     session_pickled = cPickle.dumps(dict(self))
>   File "/usr/lib/python2.7/copy_reg.py", line 70, in _reduce_ex
>     raise TypeError, "can't pickle %s objects" % base.__name__
> TypeError: can't pickle function objects
>
> Error snapshot [image: 
> help]<https://www.mywebsonic.com/admin/default/ticket/admin/65.94.90.186.2013-07-17.06-41-06.14386b00-ff0d-47ad-bf32-de51a08fda61#>
>
> <type 'exceptions.TypeError'>(can't pickle function objects)
>

-- 

--- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to