Hello,
When I try to import an application I get error. It's my first time that I
get this, I imported plenty apps.
Error ticket for "idstock"Ticket ID
81.164.40.94.2017-01-30.16-32-55.1a6057a7-defb-45ff-af30-25bccb9dbe3e
<type 'exceptions.ImportError'> Cannot import module
'applications.idstock.modules.pkg_resources'Version
web2py™ Version 2.14.6-stable+timestamp.2016.05.10.00.21.47
Python Python 2.7.9: /usr/bin/python (prefix: /usr)Traceback
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
Traceback (most recent call last):
File "/home/idklic/web2py/gluon/restricted.py", line 227, in restricted
exec ccode in environment
File "/home/idklic/web2py/applications/idstock/controllers/default.py"
<https://idview.netidk.com/admin/edit/idstock/controllers/default.py>, line 10,
in <module>
pygal = local_import('pygal')
File "/home/idklic/web2py/gluon/compileapp.py", line 439, in <lambda>
local_import_aux(name, reload, app)
File "/home/idklic/web2py/gluon/compileapp.py", line 347, in local_import_aux
module = __import__(name)
File "/home/idklic/web2py/gluon/custom_import.py", line 108, in
custom_importer
return NATIVE_IMPORTER(name, globals, locals, fromlist, level)
File "applications/idstock/modules/pygal/__init__.py", line 29, in <module>
import pkg_resources
File "/home/idklic/web2py/gluon/custom_import.py", line 89, in custom_importer
raise ImportError, 'Cannot import module %s' % str(e)
ImportError: Cannot import module 'applications.idstock.modules.pkg_resources'
Error snapshot [image: help]
<https://idview.netidk.com/admin/default/ticket/idstock/81.164.40.94.2017-01-30.16-32-55.1a6057a7-defb-45ff-af30-25bccb9dbe3e#>
<type 'exceptions.ImportError'>(Cannot import module
'applications.idstock.modules.pkg_resources')
--
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.