[Gimp-web] Static pages for m.g.o
Manish Singh
yosh at gimp.org
Tue Sep 16 22:54:11 2003
On Fri, Sep 12, 2003 at 07:13:15AM -0700, Helvetix Victorinox wrote:
> Well, ugh. Unfortunately the simple changes have non-simple ramifications
> and after breaking the build entirely with these changes, I've backed
> them out until more thought can be expended on a variety of installation
> dependencies. Unfortunately, the last checkin may have nuked the main
> news.inc on mmmaybe. If so, I can probably recover it.
>
> The current build works.
Well, no it doesn't:
programmatic/tools/ssi-pp --DocumentRoot=/home/web/mgo --output=downloads/index.htrw.x downloads/index.htrw
Traceback (most recent call last):
File "programmatic/tools/ssi-pp", line 143, in ?
print >>fpout, string.join(map(lambda a: ssi.parse(a), args))
File "programmatic/tools/ssi-pp", line 143, in <lambda>
print >>fpout, string.join(map(lambda a: ssi.parse(a), args))
File "/home/web/cvs/gimp-web/programmatic/apache_ssi.py", line 94, in parse
output += self.parse(os.path.normpath(self.document_root + attrs["virtual"]))
File "/home/web/cvs/gimp-web/programmatic/apache_ssi.py", line 73, in parse
fp = open(filename, "r")
IOError: [Errno 2] No such file or directory: '/home/web/mgo/mirrors.xhtml'
make: *** [downloads/index.html] Error 1
It doesn't seem to be handling that include files should be found in
the same directory as the file itself.
I don't understand why this change was made in the first place. Getting rid
of SSI seems to be a fairly low priority thing.. concetrate on the content
folks, and worry about stuff like this later.
-Yosh