After upgrading from 2.15.4 it gave the ticket below.
Unfortunately putting it back to the previous or an even older version did not solve the problem.
Searching the web it seems to be related to python libs
html5lib and
bleach reinstalling or updating them with 'pip install -U bleach' does not seem to help and neither does installing a previous version of the html5lib with 'pip install html5lib==1.0b9'
The problem exists while testing locally on my laptop as well as on the server.
The server I could only get back up and running by restoring it to the backup off last night.
(restored to version 2.14.6-stable+timestamp.2016.05.10.00.21.47 Apache/2.4.18 (Ubuntu), Python 2.7.12)
Anybody any suggestions on what the problem is and how to tackle it?
web2py™ |
Version 2.16.1-stable+timestamp.2017.11.14.05.54.25 |
Python |
Python 2.7.14: D:\Python27\python.exe (prefix: D:\Python27) |
Traceback
1. 2. 3. 4. 5. 6. 7. 8. 9.
| Traceback (most recent call last): File "F:\5-PCPROG\web2py_src\web2py\gluon\restricted.py", line 219, in restricted exec(ccode, environment) File "F:/5-PCPROG/web2py_src/web2py/applications/apa/controllers/orders.py", line 3, in <module> from sanitizer import sanitize File "F:\5-PCPROG\web2py_src\web2py\gluon\custom_import.py", line 104, in custom_importer raise ImportError(e1, import_tb) # there an import error in the module ImportError: (ImportError('No module named sanitizer',), <traceback object at 0x0000000004E69748>) |