Hi everyone,
I suddenly started experiencing an application crash, with no code change
whatsoever.
I started to get a ` maximum recursion
depth exceeded in cmp` error.
```Traceback (most recent call last):
File "/home/jonsubscriptions/web2py/gluon/restricted.py", line 219, in
restricted
exec(ccode, environment)
File
"/home/jonsubscriptions/web2py/applications/xakematedev2_back/controllers/default.py",
line 3077, in
File "/home/jonsubscriptions/web2py/gluon/globals.py", line 421, in
self._caller = lambda f: f()
File
"/home/jonsubscriptions/web2py/applications/xakematedev2_back/controllers/default.py",
line 21, in index
datalayer = get_datalayer('general','index')
File
"/home/jonsubscriptions/web2py/applications/xakematedev2_back/models/datalayer.py",
line 44, in get_datalayer
datalayer_dict = get_datalayer_dict(pagetype,pagecategory)
File
"/home/jonsubscriptions/web2py/applications/xakematedev2_back/models/datalayer.py",
line 15, in get_datalayer_dict
'lang':get_lang(),
File
"/home/jonsubscriptions/web2py/applications/xakematedev2_back/controllers/default.py",
line 477, in get_lang
logger.debug("Exception %s"%e)
File "/usr/lib/python2.7/logging/__init__.py", line 1140, in debug
self._log(DEBUG, msg, args, **kwargs)
File "/usr/lib/python2.7/logging/__init__.py", line 1271, in _log```
As I saw tha logging module was involved I commented out all logger calls
and got back up and running.
Any idea on what might be causing the error?
Any idea how can I fix this to get my logging back? Any suggestions?
Thanks, Jon.
--
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 web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/web2py/CAK8tz33J2v35rJDzc_HFuJmS2Jgg0qO2kGZwGjEnGS7kuZ%2BBuA%40mail.gmail.com.