[Zope-CMF] Adding NuxDocument type in CMF 1.3

Roger Oberholtzer roger.oberholtzer@surbrunn.net
Sat, 21 Sep 2002 13:02:52 +0200


I have installed NuxDocument (NuxDocument-1.0.alpha2-1.tar) on a Zope
2.5.1 / CMF 1.3 / Plone site running on a Linux box. I have added a
NuxDocument CMF type, and it shows up nicely in the list of types.
However, when I try to add a document with this type in CMF, I get the
errors listed below. I have also installed the Localizer
(Localizer-0.9.0.tar). However, I have not added a Localizer. The product
is simply installed. Not sure that that matters.

(The Zope directory name is misleading here. It was a 2.5.0 install, and then I did the update to 2.5.1 with the package on www.zope.org. I have not changed the name of the directory. But that is how the 2.5.1 was installed.)

Traceback (innermost last):
  File /home/roger/Zope-2.5.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 150, in publish_module
  File /home/roger/Zope-2.5.0-linux2-x86/lib/python/Products/Localizer/__init__.py, line 57, in new_publish
  File /home/roger/Zope-2.5.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 114, in publish
  File /home/roger/Zope-2.5.0-linux2-x86/lib/python/Zope/__init__.py, line 159, in zpublisher_exception_hook
    (Object: NuxDocument.2002-09-21.5314)
  File /home/roger/Zope-2.5.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 98, in publish
  File /home/roger/Zope-2.5.0-linux2-x86/lib/python/ZPublisher/mapply.py, line 88, in mapply
    (Object: NuxDocument_edit_form)
  File /home/roger/Zope-2.5.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 39, in call_object
    (Object: NuxDocument_edit_form)
  File /home/roger/Zope-2.5.0-linux2-x86/lib/python/Products/CMFCore/FSDTMLMethod.py, line 112, in __call__
    (Object: NuxDocument_edit_form)
  File /home/roger/Zope-2.5.0-linux2-x86/lib/python/DocumentTemplate/DT_String.py, line 473, in __call__
    (Object: NuxDocument_edit_form)
  File /home/roger/Zope-2.5.0-linux2-x86/lib/python/DocumentTemplate/DT_Util.py, line 159, in eval
    (Object: nd_gettext('Edit %s') % getId())
    (Info: nd_gettext)
  File <string>, line 2, in f
NameError: (see above)



-- 

Roger Oberholtzer