[Zope] Re: FreeBSD Zope upgrade 2.4.2->2.5.2 problems errors

Jens Rehsack rehsack@liwing.de
Thu, 22 Aug 2002 14:57:49 +0200


rene@xs4all.nl wrote:
> 
> Hi. Trying to upgrade my zope, but never upgraded an installed port...
> Any tips appreciated..

see portupgrade(1) sysutils/portupgrade

> (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.
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
L     i  W     W     W  i                 Jens Rehsack
L        W     W     W
L     i   W   W W   W   i  nnn    gggg    LiWing IT-Services
L     i    W W   W W    i  n  n  g   g
LLLL  i     W     W     i  n  n  g   g    Friesenstraße 2
                                  gggg    06112 Halle
                                     g
                                 g   g
Tel.:  +49 - 3 45 - 5 17 05 91    ggg     e-Mail: <rehsack@liwing.de>
Fax:   +49 - 3 45 - 5 17 05 92            http://www.liwing.de/