Some months ago I have written a test application for gluon/contrib/websocket_messaging.py and it worked very well. Now (after an update to 2.15.4) I tried it again and I got some errors.
Traceback (most recent call last):
File "/home/www-data/web2py/gluon/contrib/websocket_messaging.py", line 97, in <module>
File "/home/www-data/web2py/gluon/__init__.py", line 23, in <module>
File "/home/www-data/web2py/gluon/packages/dal/pydal/__init__.py", line 3, in <module>
File "/home/www-data/web2py/gluon/packages/dal/pydal/base.py", line 147, in <module>
from .adapters.base import BaseAdapter, NullAdapter
File "/home/www-data/web2py/gluon/packages/dal/pydal/adapters/__init__.py", line 73, in <module>
from .postgres import Postgre, PostgrePsyco, PostgrePG8000
File "/home/www-data/web2py/gluon/packages/dal/pydal/adapters/postgres.py", line 4, in <module>
from ..drivers import psycopg2_adapt
File "/home/www-data/web2py/gluon/packages/dal/pydal/drivers.py", line 71, in <module>
import pypyodbc as pyodbc
File "/home/www-data/web2py/gluon/contrib/pypyodbc.py", line 439, in <module>
raise OdbcNoLibrary('ODBC Library is not found. Is LD_LIBRARY_PATH set?')
pypyodbc.OdbcNoLibrary: 'ODBC Library is not found. Is LD_LIBRARY_PATH set?'
Is there anything new in 2.15.4, which is responsible for this message? I think that nothing else has changed.
Version: 2.15.4-stable+timestamp.2017.09.02.04.02.22
(läuft auf nginx/1.10.0, Python 2.7.12)
Regards, Martin