I have downloaded a plugin from http://dev.s-cubism.com/plugin_solidform
It consists of two files:
- controller/plugin_solidform.py (demo)
- *modules/plugin_solidform.py* (the actual plugin)
When using the exact same command as in the provided example:
from plugin_solidform import SOLIDFORM
in *controller/default.py*
it gives me the following Traceback:
Traceback (most recent call last):
File "C:\Users\xxxxxxxxxxxxxxx\web2py\gluon\restricted.py", line 194, in
restricted
exec ccode in environment
File "
C:/Users/xxxxxxxxxxxxxxx/web2py/applications/haikuvend/controllers/default.py",
line 56, in <module>
File "C:\Users\xxxxxxxxxxxxxxx\web2py\gluon\globals.py", line 149, in
<lambda>
self._caller = lambda f: f()
File "
C:/Users/xxxxxxxxxxxxxxx/web2py/applications/haikuvend/controllers/default.py",
line 13, in contact
from plugin_solidform import SOLIDFORM
File "C:\Users\xxxxxxxxxxxxxxx\web2py\gluon\custom_import.py", line 294,
in __call__
fromlist, level)
File "C:\Users\xxxxxxxxxxxxxxx\web2py\gluon\custom_import.py", line 78,
in __call__
level)
ImportError: No module named plugin_solidform
Again, I'm using the exact same syntax as on that page. Why doesn't it work
for me?