Hi,

The following failure suddenly started in a piece of code thats been 
running error free for months. I can think of nothing I’ve changed that 
would cause this to happen (famous last words, I know).
I've tried for hours to find something to explain this, without any success 
ANY ideas would be greatly appreciated. My hope is that people with a 
deeper understanding of the web2py framework might have ideas..

Thanks in advance!!
Jim
-----------------
The last moments of life are as follows..

two variables, s and db_str,  are generated dynamically but end up having 
values as follows...

s= "<Set (`audios`.`id` > 0)>"
db_str = "s.select(db[media_table].id, db[media_table].name, 
db[media_table].akaname, db[media_table].category)"

try:
   session.media_list = eval(db_str)
except Exception as e:
   logger.debug('This is what happened: %s' % e)
   raise

logger.debug("redirecting...")
redirect(URL('default', 'list_rows'))

No exception thrown, 
the debug message is displayed, 
but it never gets to “list_rows” it seems (First line in list_rows is 
another debug message


instead, the following …

Error ticket for "mfm_test"
Ticket ID 127.0.0.1.2017-08-07.15-22-39.88b049a9-c5f0-4b47-9aba-600839871461
Version web2py™
Version 2.14.6-stable+timestamp.2016.05.10.00.21.47

Traceback
1.Traceback (most recent call last):
2.  File "/Users/jimkaubisch 1/Dropbox 
(MFM)/MfMCurrAdmin/Development/web2py/start/gluon/main.py", line 438, in 
wsgibase
3.    session.connect(request, response)
4. File "/Users/jimkaubisch 1/Dropbox 
(MFM)/MfMCurrAdmin/Development/web2py/start/gluon/globals.py", line 965, in 
connect
5.   session_pickled = pickle.dumps(self, pickle.HIGHEST_PROTOCOL)
6. File "/Library/Python/2.7/site-packages/pydal/objects.py", line 2946, in 
__getstate__
7.   del ret['fields']
8. KeyError: 'fields'
9.

In file: Framework
1.

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