From: Rimon B. <ba...@cs...> - 2003-12-11 00:29:46
|
Hi Jason, Looks like you have a mod_python configuration problem: mod_python is not able to find the spyce module in the python path. You should read up on the 'PythonPath' configuration parameter: http://www.modpython.org/live/current/doc-html/dir-other-pp.html#l2h-202 Use the following line in your httpd.conf, if Spyce is installed under /usr/share/spyce. PythonPath "sys.path+[r'/usr/share/spyce']" All the best, Rimon. ----- Original Message ----- From: "Jason Tesser" <JT...@nb...> To: <spy...@li...> Sent: Wednesday, December 10, 2003 11:15 AM Subject: [Spyce-users] install/config help I am testing out Spyce on my Suse9.0 machine. I have Apache2 and mod_pyhton 3.03 installed. Here is the error messages I am getting when I try a test .spy page. [Tue Dec 09 16:09:59 2003] [error] [client ::1] PythonHandler run_spyceModpy::sp yceMain: Traceback (most recent call last): [Tue Dec 09 16:09:59 2003] [error] [client ::1] PythonHandler run_spyceModpy::sp yceMain: File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line 32 0, in HandlerDispatch module = import_module(module_name, config) [Tue Dec 09 16:09:59 2003] [error] [client ::1] PythonHandler run_spyceModpy::sp yceMain: File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line 49 6, in import_module f, p, d = imp.find_module(parts[i], path) [Tue Dec 09 16:09:59 2003] [error] [client ::1] PythonHandler run_spyceModpy::sp yceMain: ImportError: No module named run_spyceModpy ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=ick _______________________________________________ Spyce-users mailing list Spy...@li... https://lists.sourceforge.net/lists/listinfo/spyce-users |