run web2py with uwsgi and python3.6.

Traceback (most recent call last):
  File "/home/www-data/web2py2000/gluon/restricted.py", line 219, in 
restricted
    exec(ccode, environment)
  File "applications/sai_admin/models/menu.py", line 49, in <module>
    menus = menu_service.get_menu_config()
  File 
"/home/www-data/web2py2000/applications/sai_admin/modules/system_menu.py", 
line 94, in get_menu_config
    menus = db(query).select(orderby=db.kc_menu.order_id)
  File "/home/www-data/web2py2000/gluon/packages/dal/pydal/objects.py", 
line 2395, in select
    return adapter.select(self.query, fields, attributes)
  File 
"/home/www-data/web2py2000/gluon/packages/dal/pydal/adapters/base.py", line 
763, in select
    return self._select_aux(sql, fields, attributes, colnames)
  File 
"/home/www-data/web2py2000/gluon/packages/dal/pydal/adapters/base.py", line 
719, in _select_aux
    rows = self._select_aux_execute(sql)
  File 
"/home/www-data/web2py2000/gluon/packages/dal/pydal/adapters/base.py", line 
713, in _select_aux_execute
    self.execute(sql)
  File 
"/home/www-data/web2py2000/gluon/packages/dal/pydal/adapters/__init__.py", 
line 63, in wrap
    if not args[0].connection:
  File "/home/www-data/web2py2000/gluon/packages/dal/pydal/connection.py", 
line 38, in connection
    return getattr(THREAD_LOCAL, self._connection_uname_)
AttributeError: '_thread._local' object has no attribute 
'_pydal_connection_140633843644848_18476'


what's the problem?

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/12ddf599-b33a-4e45-9854-6ac20e195e6c%40googlegroups.com.

Reply via email to