[Zope-dev] FreeBSD Zope upgrade 2.4.2->2.5.2 problems errors

rene@xs4all.nl rene@xs4all.nl
Thu, 22 Aug 2002 14:53:06 +0200


Hi. Trying to upgrade my zope, but never upgraded an installed port...
Any tips appreciated..

(sorry for the crossposting, please lart this question into the right list ;)

some outputs;

$ dmesg | grep Free
FreeBSD 4.6-STABLE #5: Sat Aug 10 15:16:08 CEST 2002

$ cvsup -g -L 2 /etc/supfile
<done today, is happy, make >

$ cat /etc/supfile
*default host=cvsup.nl.FreeBSD.org
*default base=/usr prefix=/usr
*default release=cvs tag=RELENG_4
*default delete use-rel-suffix
*default compress
src-all
ports-all tag=.
doc-all tag=.

/usr/ports/www/zope$ make deinstall
===>  Deinstalling for zope-2.5.1_2
===>   zope-2.5.1_2 not installed, skipping

/usr/ports/www/zope$ make install
<snip, gets 2.5.2 package, does bunch of stuff>
creating ./config.status
creating Makefile
make
------------------------------------------------------------------------------
Writing the pcgi resource file (ie cgi script), /usr/local/www/Zope/Zope.cgi
chmod 0755 /usr/local/www/Zope/Zope.cgi

------------------------------------------------------------------------------
Deleting '.pyc' and '.pyo' files recursively under /usr/local/www/Zope...
Done.

------------------------------------------------------------------------------
Compiling python modules
  File "/usr/local/www/Zope/lib/python/Products/ZDatabaseTool/__init__.py",
li
ne 2
    =====
     ^
SyntaxError: invalid syntax
  File
"/usr/local/www/Zope/lib/python/Products/ZDatabaseTool/Query/WeekGrid.p
y", line 40
    html = html + '<th width="14%" class="'+tableHeaderClass+'"><a
class="'+ta
bleHeaderClass+'"

                ^
SyntaxError: invalid token

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
There were errors during Python module compilation.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

*** Error code 1

Stop in /usr/ports/www/zope.