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" 
<http://127.0.0.1:8000/admin/default/edit/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>)

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