[Zope-CMF] Discussion update script error.

Gitte Wange gitte@mmmanager.org
Sun, 08 Jul 2001 11:04:01 +0200


At 20:32 07-07-2001 -0500, Ignacio Valdes wrote:
>Hi Shane, I tried to use your upgrade.py script on my CMF 1.0 
>installation, but I get a traceback (see below).  My site was created 
>with CMF 1.0 do I even need to use your script?
>
>-- 
>-- Ignacio Valdes, Editor: Linux Medical News
>http://www.linuxmednews.com
>'Revolutionizing Medical Education and Practice'
>
>
>   Site Error
>
>An error was encountered while publishing this resource.
>
>**ImportError **
>
>Sorry, a site error occurred.Traceback (innermost last): File 
>/home/zope/zope5/lib/python/ZPublisher/Publish.py, line 223, in 
>publish_module File /home/zope/zope5/lib/python/ZPublisher/Publish.py, 
>line 187, in publish File / /home/zope/zope5/lib/python/Zope// 
>__init__.py, line 221, in zpublisher_exception_hook File 
>/home/zope/zope5/lib/python/ZPublisher/Publish.py, line 171, in publish 
>File /home/zope/zope5/lib/python/ZPublisher/mapply.py, line 160, in 
>mapply (Object: manage_addExternalMethod) File 
>/home/zope/zope5/lib/python/ZPublisher/Publish.py, line 112, in 
>call_object (Object: manage_addExternalMethod) File 
>/home/zope/zope5/lib/python/Products/ExternalMethod/ExternalMethod.py, 
>line 131, in manage_addExternalMethod File 
>/home/zope/zope5/lib/python/Products/ExternalMethod/ExternalMethod.py, 
>line 179, in __init__ (Object: upgrade.py) File 
>/home/zope/zope5/lib/python/Products/ExternalMethod/ExternalMethod.py, 
>line 202, in manage_edit (Object: upgrade.py) File 
>/home/zope/zope5/lib/python/Products/ExternalMethod/ExternalMethod.py, 
>line 209, in getFunction (Object: upgrade.py) File 
>/home/zope/zope5/lib/python/App/Extensions.py, line 217, in getObject 
>(Info: ('/home/zope/zope5/Extensions/upgrade.py', 'upgrade')) File 
>/home/zope/zope5/Extensions/upgrade.py, line 5, in ? ImportError: No 
>module named PTKDemo.DemoDiscussionTool

Hello,

I'm not sure what it is that you want to do, but I think you're about to
upgrade your CMF installation from 1.0 to 1.1. Am I right ?

If that is the case then have a look at
http://cmf.zope.org/download/CMF-1.1/INSTALL.txt
That document describes the installation of CMF 1.1 and also has a very
good detailed guide on how to upgrade from 1.0 to 1.1.

Anyway - AFAIK there isn't any upgrade.py scripts. Or maybe I have missed it.

Regards,
Gitte Wange