[Zope-CMF] Unexpected CMFTypes Error

Dieter Maurer dieter@handshake.de
Thu, 30 Jan 2003 21:18:41 +0100


Michael LaPera wrote at 2003-1-29 19:00 -0500:
 > ...
 > Problem:
 > 
 > I added a new property (as I sometimes do), refreshed the CMFTypes 
 > product and then when I reran the External Method I got the error 
 > below.  I figure that maybe I entered the property wrong, so I undid 
 > the changes and refreshed again and got the error again.  I tried only 
 > using the default products that came with CMFTypes (by changing the 
 > __init__.py) and still got the error.  I am now out of my league (thus 
 > the reason I use CMFTypes) can anyone offer any suggestions?
 > 
 > 
 > Traceback (innermost last):
 > 
 >    Module ZPublisher.Publish, line 98, in publish
 >    Module ZPublisher.mapply, line 88, in mapply
 >    Module ZPublisher.Publish, line 39, in call_object
 >    Module Products.ExternalMethod.ExternalMethod, line 224, in __call__
 >     - __traceback_info__: ((<PloneSite instance at 05AA1E20>,), {}, None)
 >    Module C:\Program 
 > Files\Plone\Data\Products\CMFTypes\Extensions\Install.py, line 16, in 
 > install
 >    Module None, line 93, in listTypes
 > AttributeError: 'None' object has no attribute 'values'
Looks as if something where wrong with your External Method.

   Zope thinks the module were "None".
   But, maybe, that is the Zope 2.6'ish way to display
   the module of External Methods.

Otherwise, look at line 93 of your External Method.
It calls "values" on something with is "None".


Dieter