do you have __init__.py in your modules and in your app folders? http://zerp.ly/rochacbruno Em 13/05/2012 19:35, "Simon Ashley" <gregs...@gmail.com> escreveu:
> Answering my own question here. > Its a path issue. > If you insert the fill path from the applications folder, its found. > > On Monday, May 14, 2012 8:08:23 AM UTC+10, Simon Ashley wrote: >> >> Has anyone come up with a solution to this? Have the same issue. >> >> On Thursday, December 1, 2011 7:08:38 AM UTC+10, haikuvend Resident wrote: >>> >>> I have downloaded a plugin from http://dev.s-cubism.com/** >>> plugin_solidform <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? >>> >>