Hi,

I have a pretty straight forward app (AppBuilder in the log below) with a 
custom module (RosBridgeClient in the log below) which resides under 
modules, and is used by the controllers. Everything works fine using the 
built in server.

However, once I move over to apache , it fails to import my module:

[Wed Aug 14 06:15:25 2013] [error] ERROR:web2py:Traceback (most recent call 
last):
[Wed Aug 14 06:15:25 2013] [error]   File 
"/usr/share/web2py/gluon/restricted.py", line 212, in restricted
[Wed Aug 14 06:15:25 2013] [error]     exec ccode in environment
[Wed Aug 14 06:15:25 2013] [error]   File 
"/usr/share/web2py/applications/AppBuilder/controllers/status.py", line 3, 
in <module>
[Wed Aug 14 06:15:25 2013] [error]     from 
applications.AppBuilder.modules.RosBridgeClient import *
[Wed Aug 14 06:15:25 2013] [error]   File 
"/usr/share/web2py/gluon/custom_import.py", line 100, in custom_importer
[Wed Aug 14 06:15:25 2013] [error]     return NATIVE_IMPORTER(name, 
globals, locals, fromlist, level)
[Wed Aug 14 06:15:25 2013] [error] ImportError: No module named 
applications.AppBuilder.modules.RosBridgeClient
[Wed Aug 14 06:15:25 2013] [error] 

Now the wacky thing is I can "fix" the issue by running the built in server 
once on the same deployed source tree, and then apache works just fine.

There was a similar issue reported here: 
https://groups.google.com/forum/#!topic/web2py/77fGO9CSVbo, but with no 
apparent resolution on how to fix it.

Does anyone have any ideas on what the issue might be, and how I can 
resolve this without running the built in server first?

Thanks,

Matt

-- 

--- 
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/groups/opt_out.


Reply via email to