zope runtime error after upgrade to 2.6.2
I get this error when calling a method that worked in Zope version 2.4: RuntimeError "external method could not be called because it is None" Here is the code of the method: for image in context.objectValues('Image'): if not image.hasProperty('original_id'): context.makeThumbnail(image.getId()) Any ideas?
On Mon, Oct 27, 2003 at 06:46:58PM -0800, Sean Kelley wrote:
I get this error when calling a method that worked in Zope version 2.4: RuntimeError "external method could not be called because it is None"
Here is the code of the method:
for image in context.objectValues('Image'): if not image.hasProperty('original_id'): context.makeThumbnail(image.getId())
Any ideas?
I suspect that you forgot to copy the Extensions directory contents from your 2.4 zope installation into your new zope installation. Find the makeThumbnail external method and see what the name of the .py file is, then search the filesystem for that file. -- Paul Winkler http://www.slinkp.com
participants (2)
-
Paul Winkler -
Sean Kelley