i would like to
import http.client

and i am getting the error below

.
2.
3.
4.
5.
6.
7.
8.
9.

Traceback (most recent call last):
  File "C:\Users\RAS\Desktop\my web2py project\gluon\restricted.py",
line 219, in restricted
    exec(ccode, environment)
  File "C:/Users/RAS/Desktop/my web2py
project/applications/smsonline/controllers/default.py"
<http://127.0.0.1:8000/admin/default/edit/smsonline/controllers/default.py>,
line 6, in <module>
    import http.client
  File "C:\Users\RAS\Desktop\my web2py
project\gluon\custom_import.py", line 104, in custom_importer
    raise ImportError(e1, import_tb)  # there an import error in the module
ImportError: (ImportError("Cannot import module
'applications.smsonline.modules.http'",), <traceback object at
0x0497AE68>)

Error snapshot [image: help]
<http://127.0.0.1:8000/admin/default/ticket/smsonline/127.0.0.1.2018-09-20.14-45-52.404bb9c6-8c85-4318-b7e0-5f874ae0b0ed#>
i

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