Rolf Leggewie <[EMAIL PROTECTED]> writes:
> I just compiled WWWOFFLE 2.8a (I know 2.8b is already out, if this
> problem has been fixed in 2.8b, please let me know). To upgrade my
> wwwoffle.conf I tried to run upgrade-config.pl. But it always fails
> with an error "Parse Error line XY". Those lines usually are just blank
> lines. I run inside a Cygwin bash but the same thing also occurs in my
> Debian system.
I have not heard about this problem before and it isn't something that
has been changed for a very long time. The configu file parsing code
that is in the upgrade-config.pl script has not significantly changed
since version 2.6 of WWWOFFLE.
Are you sure that the file that you are trying to upgrade is actually
a valid configuration file? If it loads into WWWOFFLE then it should
work in the upgrade-config.pl script even though the two are actually
different.
Do you always get the error message on the same line of the file? As
far as I can see the line number that it reports is the last line
number that it has read in. You should always get the same line
number each time that you run the script because it is doing the same
thing.
Is the file in UNIX or DOS format? If it has DOS format line endings
(with a CR and LF character) then it is possible that the script will
not work. I don't think that I have tested the script with files like
this so there is the chance of an error.
--
Andrew.
----------------------------------------------------------------------
Andrew M. Bishop [EMAIL PROTECTED]
http://www.gedanken.demon.co.uk/
WWWOFFLE users page:
http://www.gedanken.demon.co.uk/wwwoffle/version-2.8/user.html