[Zope] Product->refresh broken in zope-2.4.3?

Sven Rudolph rudolph@medical-tribune.de
Mon, 21 Jan 2002 14:18:14 +0100


Hello Thomas

> I use 2.4.3 and refresh my python products several times a day. It
> works fine, even with dependencies between products. Do you get a
> stacktrace?
Yes. It says:
Traceback (innermost last):
  File /var/lib/zope-2.4.3/lib/python/ZPublisher/Publish.py, line 223, in publish_module
  File /var/lib/zope-2.4.3/lib/python/ZPublisher/Publish.py, line 187, in publish
  File /var/lib/zope-2.4.3/lib/python/Zope/__init__.py, line 226, in zpublisher_exception_hook
    (Object: test)
  File /var/lib/zope-2.4.3/lib/python/ZPublisher/Publish.py, line 171, in publish
  File /var/lib/zope-2.4.3/lib/python/ZPublisher/mapply.py, line 160, in mapply
    (Object: addGMSBericht)
  File /var/lib/zope-2.4.3/lib/python/ZPublisher/Publish.py, line 112, in call_object
    (Object: addGMSBericht)
  File /var/lib/zope-2.4.3/lib/python/Products/GMSBericht/GMSBericht.py, line 169, in addGMSBericht
    (Object: test)
TypeError: (see above)

Line 169 of GMSBericht.py (addGMSBericht) says:
    handle=GMSBericht()

This makes absolutely no sense to me, because I wrote this code about three months ago, and it always worked with refresh.
I tried a separate installation with zope-2.4.1, copied my products and "Data.fs", and everything works fine.

Sven

-- 
Sven Rudolph
GermanMedicalServices.de GmbH
Unter den Eichen 5, 65195 Wiesbaden
Tel.: 06 11 / 97 46 25 2