[web2py] Re: Is there an issue with my web2py install? can't pickle function objects

2015-02-07 Thread Massimo Di Pierro
The old version could do it but only with sqlite because sqlite was not properly configured and would allow you to create a reference to a table that did not exist (yet). The new version makes sure that if your code works with sqlite it also works with other databases. On Friday, 6 February

[web2py] Re: Is there an issue with my web2py install? can't pickle function objects

2015-02-06 Thread Maggs
I have done some debugging on this by creating a brand new app and trying to use the same db.py file as my app that's not working. When doing so I removed some pieces of code I thought might be causing the problem and it looks like I've narrowed it down. In the app that I have running in the

[web2py] Re: Is there an issue with my web2py install? can't pickle function objects

2015-02-06 Thread Maggs
Hi Dave, The Web2py and python versions: web2py™ Version 2.9.11-stable+timestamp.2014.09.15.23.35.11 Python Python 2.7.6: /usr/bin/python2.7 (prefix: /usr) The OS is Ubuntu 14.04. Web2py is a fresh install. No upgrades. Source installation. Thanks, M On Thursday, February 5, 2015 at 8:33:27

[web2py] Re: Is there an issue with my web2py install? can't pickle function objects

2015-02-05 Thread Dave S
On Thursday, February 5, 2015 at 5:57:59 PM UTC-8, Maggs wrote: I am having this issue right now and it's when trying to set my app up in a new dev environment. I'm not using apache or wsdi. Just web2py. Just to beat Massimo to the initial questions: - What version of web2py? - What OS? -

[web2py] Re: Is there an issue with my web2py install? can't pickle function objects

2015-02-05 Thread Maggs
I am having this issue right now and it's when trying to set my app up in a new dev environment. I'm not using apache or wsdi. Just web2py. I am trying to open the app for the first time to create the database framework and this error is showing up after it creates my database structure. And

[web2py] Re: Is there an issue with my web2py install? can't pickle function objects

2014-06-15 Thread Nguyen Minh Tuan
I am having this issue too! Server : CentOS 6.5 Apache : 2.2 Python : 2.6.6 Web2py : 2.95 So, I think this error caused by Apache config. Look into error log file, I found msg like : ...*client denied by server configuration*: /var/www/web2py/wsgihandler.py ... I've changed in httpd.conf file

[web2py] Re: Is there an issue with my web2py install? can't pickle function objects

2014-04-02 Thread Carlos Alba
Is this still a issue? I am receiving this error. On Tuesday, July 16, 2013 9:44:46 PM UTC-5, 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

[web2py] Re: Is there an issue with my web2py install? can't pickle function objects

2013-09-03 Thread Frederick Yankowski
It's not fixed for me. I've updated the issue. On Thursday, August 29, 2013 8:14:56 PM UTC-5, Massimo Di Pierro wrote: Should be fixed. Can you check? -- --- You received this message because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and

[web2py] Re: Is there an issue with my web2py install? can't pickle function objects

2013-08-29 Thread Frederick Yankowski
I have opened https://code.google.com/p/web2py/issues/detail?id=1655 about this problem. -- --- 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] Re: Is there an issue with my web2py install? can't pickle function objects

2013-08-29 Thread Massimo Di Pierro
Should be fixed. Can you check? On Thursday, 29 August 2013 15:52:07 UTC-5, Frederick Yankowski wrote: I have opened https://code.google.com/p/web2py/issues/detail?id=1655 about this problem. -- --- You received this message because you are subscribed to the Google Groups web2py-users

[web2py] Re: Is there an issue with my web2py install? can't pickle function objects

2013-08-16 Thread Frederick Yankowski
By trapping the TypeError exception in globals.py (in web2py 2.5.1) I see that 'self' contains a 'flash' element that is represented this way: lazyT 'session expired'. If I modify globals.py to delete that 'flash' element before pickling then the TypeError exception does not occur. So it looks

[web2py] Re: Is there an issue with my web2py install? can't pickle function objects

2013-07-21 Thread Joe Magaro
Hi. I have another issue,and in researching it i'm wondering if this is somewhat related to having 2 or more domains served from web2py? 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

[web2py] Re: Is there an issue with my web2py install? can't pickle function objects

2013-07-20 Thread Joe Magaro
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))

[web2py] Re: Is there an issue with my web2py install? can't pickle function objects

2013-07-19 Thread Massimo Di Pierro
what Python version? What OS? Can you reproduce it? What is the last operation you performed in admin before encountering this problem? On Thursday, 18 July 2013 14:42:41 UTC-5, Frederick Yankowski wrote: I'm encountering this a lot too, where admin produces that exception frequently. I'm

[web2py] Re: Is there an issue with my web2py install? can't pickle function objects

2013-07-19 Thread Massimo Di Pierro
The problem is that this traceback does not help at me locate the problem. Those lines of code are executed at every request. If you can gather any more information let us know. On Friday, 19 July 2013 10:53:36 UTC-5, Frederick Yankowski wrote: Python 2.7.3 CentOS release 5.9 I often see

[web2py] Re: Is there an issue with my web2py install? can't pickle function objects

2013-07-19 Thread Frederick Yankowski
Python 2.7.3 CentOS release 5.9 I often see the problem when first bringing up an admin page after not using any admin pages for an hour or so. Because of that delay it's hard to know what the prior operation was. It's often something involving appadmin. -- --- You received this message

[web2py] Re: Is there an issue with my web2py install? can't pickle function objects

2013-07-18 Thread Massimo Di Pierro
I missed the part is a bug about admin. Than it's not one of your projects. It is my responsibility. :-( Which web2py version? I will look into this asap. On Wednesday, 17 July 2013 13:47:33 UTC-5, Joe Magaro wrote: Hi Mossimo - Where would I look for this? I haven't done sessions in my apps

[web2py] Re: Is there an issue with my web2py install? can't pickle function objects

2013-07-18 Thread Frederick Yankowski
I'm encountering this a lot too, where admin produces that exception frequently. I'm using R-2.5.1. When I remove all files from admin/sessions the error goes away. -- --- You received this message because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this

[web2py] Re: Is there an issue with my web2py install? can't pickle function objects

2013-07-17 Thread Massimo Di Pierro
You are storing a function (or an object containing functions) in session. On Tuesday, 16 July 2013 21:44:46 UTC-5, 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

[web2py] Re: Is there an issue with my web2py install? can't pickle function objects

2013-07-17 Thread Joe Magaro
Hi Mossimo - Where would I look for this? I haven't done sessions in my apps yet, but maybe one of the projects I loaded might have. Also, why would an app affect the admin site? 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