You cannot pickle a method. You stored a method into a variable.

On Tuesday, 11 October 2016 20:54:49 UTC-5, Wisdom Temytayo wrote:
>
> After creating MySQL database using DAL, I modified the database by adding 
> field through MySQL (not through DAL) and web2py started creating ticket. I 
> went ahead to add the field in the model and since then it has been 
> creating ticket on this error:
>
> <class 'cPickle.PicklingError'>(Can't pickle <type 'instancemethod'>: 
> attribute lookup __builtin__.instancemethod failed) 
>
>
> I changed (rollback) the changes but still continues creating ticked. 
> Please someone should help me out of this problem. Thanks
>

-- 
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