[Zope] Public CVS Zope won't compile (fwd)

Michel Pelletier michel@digicool.com
Sun, 3 Dec 2000 18:44:25 -0800 (PST)


On Sun, 3 Dec 2000, Chris Gray wrote:

> Did a fresh checkout but "python w_pcgi.py" chokes at:
> 
> Writing the pcgi resource file (ie cgi script),
> /home/cpgray/zope_cvs_run/Zope2/Zope.cgi
> chmod 0755 /home/cpgray/zope_cvs_run/Zope2/Zope.cgi
> Traceback (innermost last):
>   File "w_pcgi.py", line 111, in ?
>     if __name__=='__main__': main(sys.argv[0])
>   File "w_pcgi.py", line 109, in main
>     import wo_pcgi; wo_pcgi.main(me)
>   File "/home/cpgray/zope_cvs_run/Zope2/wo_pcgi.py", line 98
>     import comcontent.main(home, user, group)
>                           ^
> SyntaxError: invalid syntax
> 
> Cheers and Beers,
> Chris

Works dandy here, neither w_pcgi.py or wo_pcgi.py have been modified in
over a year.  I agree that the code your traceback reports on line 98 is a
syntax error, but it doesn't match what is on line 98 in the CVS.

-Michel