Hi all,
I'm putting together a small intranet website and have been playing
around with web2py. However, I'm running into problems when I try to
run the site for "real". Basically I want to use cgi along with
web2py, as I dont have root access to the webserver, mod_python isn't
installed etc etc. The webserver is a sun machine and my local machine
is a linux machine. My webpages are served from a public_html
directory in my home account on the linux machine. When I make the
changes to the cgihandler.py file, i.e
#!/usr/local/bin/python
import os; os.chdir('/***********/public_html/web2py/')
import cgitb; cgitb.enable()
import string, sys
import time
import logging
import wsgiref.handlers
import gluon.main
wsgiref.handlers.CGIHandler().run(gluon.main.wsgibase)
I get errors such as: libgcc_s.so.1: open failed: No such file or
directory
The full traceback is as follows:
Traceback (most recent call last):
File "/************/public_html/web2py/cgihandler.cgi", line 7, in
<module>
import wsgiref.handlers
File "/usr/local/lib/python2.5/wsgiref/handlers.py", line 7, in
<module>
import sys, os, time
ImportError: ld.so.1: /**************/public_html/web2py/
cgihandler.cgi: fatal: libgcc_s.so.1: open failed: No such file or
directory
Is this a problem on the server or something I'm doing incorrectly?
Any help or pointers would be much appreciated
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---