The code that it's having problems with in your traceback below is
PSP/Properties.py. However, I don't see anything wrong with the file, and I
am able to run it through Python with no errors:
python PSP/Properties.py
I'm using Py 2.0, but I don't see any 2.0 specific features in
PSP/Properties.py. However, now that I check, I do see them in install.py.
I'll remove them today.
What ver of Python are you using? What platform?
Perhaps an end-of-line problem? Are you using CVS on the same
platform/machine you are running Python?
-Chuck
At 10:02 AM 12/24/2000 +0000, Tom Schwaller wrote:
>Chuck Esterbrook wrote:
> >
> > I've instituted the "Properties.py" convention for Webware components,
> > which is how each component advertises it's name, synopsis, version,
> > status, required Python version and documentation list.
> >
> > I also updated install.py to do more document generation, including an
> > index of all components based on their properties. Also, it generates the
> > index.html for each component.
> >
> > As we continue to add new components to Webware they will automatically get
> > these benefits.
> >
> > The front page of the Webware docs now looks very similar to the front page
> > of the Python 2.0 docs, so most people should be comfortable with that
> format.
> >
> > There are lots of refinements still to be made, including but not
> limited to:
> > - the copyright link is broken
> > - add the standard header and footer to all documents
> > - add a Properties.py to Webware and kill _VERSION file
> > - add the concept of platform to Properties.py
> >
> > Even with what's left, I'm still pretty pumped with the improvements. The
> > docs should be easier to navigate and make a better first impression than
> > the old version.
> >
> > All of this looks good on IE 5.5. I'd be interested to know if Netscape and
> > Mozilla look OK.
> >
> > To get the changes, do a "cvs update" and then run install.py in the
> > Webware directory. This will regenerate the documentation. Then start with
> > Webware/Documentation/index.html
> >
> > If you're interested in the code that makes this go, check out
> > Webware/install.py.
>
>I did a checkout of the whole Webware module and got
>(python install.py)
>
>Webware 0.5pre
>Installer
>
> Date: Sun Dec 24 09:59:50 2000
> Python ver: 2.0 (#1, Dec 20 2000, 01:45:47)
>[GCC 2.95.3 19991030 (prerelease)]
> Op Sys: posix
> Platform: linux-i386
> Cur dir: /var/www/Webware
>
>Scanning for components...
> no CVS
>Traceback (most recent call last):
> File "install.py", line 359, in ?
> Installer().run(verbose=0)
> File "install.py", line 47, in run
> self.detectComponents()
> File "install.py", line 71, in detectComponents
> comp = self.readProperties(propName)
> File "install.py", line 83, in readProperties
> exec open(filename).read() in results
> File "<string>", line 1
> name = 'Python Server Pages'
> ^
>SyntaxError: invalid syntax
>
>
>???
>
>
>--
>
>Tom Schwaller
>http://www.linux-community.de
|