I fixed the second problem but the first remains. I had messed up in
my implementation of routes.py completely user error, forgot a
parenthesis. :P As the traceback says.

So that error is gone, but when I navigate to www.scadzombies.org/web2py
I get the same 500 Internal Server Error

On Dec 4, 9:23 pm, RyaneD <[email protected]> wrote:
> I followed the instructions 
> onhttp://web2pyslices.com/main/slices/take_slice/68,
> which were starting to make sense but I am confounded with this error
> when i visithttp://www.scadzombies.com/web2py:
>
> --------------------------------------------------------------
>
> Internal Server Error
>
> The server encountered an internal error or misconfiguration and was
> unable to complete your request.
>
> Please contact the server administrator, [email protected] and
> inform them of the time the error occurred, and anything you might
> have done that may have caused the error.
>
> More information about this error may be available in the server error
> log.
>
> Additionally, a 500 Internal Server Error error was encountered while
> trying to use an ErrorDocument to handle the request.
>
> Apache/2.2.16 (Unix) mod_ssl/2.2.16 OpenSSL/0.9.8e-fips-rhel5
> mod_fcgid/2.3.5 Phusion_Passenger/2.2.15 mod_auth_passthrough/2.1
> mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server atwww.scadzombies.org
> Port 80
>
> -----------------------------------------------------------
>
> I believe this is reminiscent of the error that I get when I try to
> run web2py through ssh ever since I changed the routes.py script.
>
> -----------------------------------------------------------------------
>
> Traceback (most recent call last):
>   File "web2py.py", line 20, in <module>
>     import gluon.widget
>   File "/home/scadzomb/public_html/web2py/gluon/widget.py", line 25,
> in <module>
>     import main
>   File "/home/scadzomb/public_html/web2py/gluon/main.py", line 101, in
> <module>
>     rewrite.load()
>   File "/home/scadzomb/public_html/web2py/gluon/rewrite.py", line 119,
> in load
>     p[sym].append(compile_re(k, v))
>   File "/home/scadzomb/public_html/web2py/gluon/rewrite.py", line 83,
> in compile_re
>     return (re.compile(k, re.DOTALL), v)
>   File "/home/scadzomb/local/lib/python2.6/re.py", line 188, in
> compile
>     return _compile(pattern, flags)
>   File "/home/scadzomb/local/lib/python2.6/re.py", line 243, in
> _compile
>     raise error, v # invalid expression
> sre_constants.error: unbalanced parenthesis
>
> -----------------------------------------------------------------------
>
> On Dec 4, 7:21 pm, pbreit <[email protected]> wrote:
>
>
>
>
>
>
>
> > Unfortunately, Python in general is a bit harder to deploy than HTML
> > and PHP. Site5 has a few different hosting options so to help out it
> > would be good to know what sort of plan you are on. If it's Shared
> > Hosting, I think you will want to try the "fastcgi" option. The web2py
> > book doesn't really provide information on this however.
>
> > If you have:
> > /home/username/public_html
> > /home/username/web2py
>
> > Add and ".htaccess" file at:
> > /home/username/public_html/.htaccess:
>
> > And put this in it:
>
> > AddHandler fastcgi-script .fcgi
> > RewriteEngine On
> > RewriteCond %{REQUEST_FILENAME} !-f
> > RewriteRule ^(.*)$ ./web2py/fcgihandler.py/$1 [QSA,L]
>
> > There's going to be one major problem in that you can't access
> > "admin". This page discusses these issues but for 
> > Dreamhost:http://wiki.dreamhost.com/Web2py
>
> > I have had the best luck running the "web2py.ubuntu.sh" script on
> > fresh installs of Ubuntu 10.04 at Amazon or Rackspace Cloud.

Reply via email to