We do not have that line of code:

https://github.com/web2py/web2py/blob/master/gluon/contrib/gateways/fcgi.py#L473

and this file has not changed in at least 10 months. Probably more. I 
suspect you have a newer version somewhere in your path and you picking up 
that other version.
.

On Friday, September 28, 2012 8:10:25 AM UTC-5, Heck Lennon wrote:
>
> Hello
>
> I'm trying to set things up on a shared Apache server with mod_fcgid 
> before learning about Web2Py, but it seems like the 
> fcgi.py<http://code.google.com/p/web2py/source/browse/gluon/contrib/gateways/fcgi.py?r=fab104bec8982d095375f9d6430b72f0ef87c6e8>file
>  in the repository doesn't work:
>
> # python
> >>> from fcgi import WSGIServer
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
>   File "fcgi.py", line 473
>     except socket.error as e:
>                          ^
> SyntaxError: invalid syntax
>
> Am I doing it wrong?
>
> Thank you
>

-- 



Reply via email to