[Zope] System Error from Zope Book Example

Dan Shafer dan@gui.com
Sun, 17 Feb 2002 10:06:08 -0800


At 10:24 AM +0000 2/17/02, Chris Withers wrote:
>Dan Shafer wrote:
>>
>>       (Object: Traversable)
>>  SystemError: (see above)
>
>You cut off the 'above' ;-)

Wow. I thought I had written that in my main email message. Perhaps not.

For the sake of completeness (with apologies to the list for 
duplicating the entire thing), here's what it says at the top of the 
error page:

Error Type: SystemError
Error Value: bad argument to internal function

and then here's the diagnostic:


Traceback (innermost last):
   File /home/dshafer/Zope-2.3.3-src/lib/python/ZPublisher/Publish.py, 
line 223, in publish_module
   File /home/dshafer/Zope-2.3.3-src/lib/python/ZPublisher/Publish.py, 
line 187, in publish
   File /home/dshafer/Zope-2.3.3-src/lib/python/Zope/__init__.py, line 
221, in zpublisher_exception_hook
     (Object: Traversable)
   File /home/dshafer/Zope-2.3.3-src/lib/python/ZPublisher/Publish.py, 
line 171, in publish
   File /home/dshafer/Zope-2.3.3-src/lib/python/ZPublisher/mapply.py, 
line 160, in mapply
     (Object: makeThumbnails)
   File /home/dshafer/Zope-2.3.3-src/lib/python/ZPublisher/Publish.py, 
line 112, in call_object
     (Object: makeThumbnails)
   File 
/home/dshafer/Zope-2.3.3-src/lib/python/Shared/DC/Scripts/Bindings.py, 
line 324, in __call__
     (Object: makeThumbnails)
   File 
/home/dshafer/Zope-2.3.3-src/lib/python/Shared/DC/Scripts/Bindings.py, 
line 354, in _bindAndExec
     (Object: makeThumbnails)
   File 
/home/dshafer/Zope-2.3.3-src/lib/python/Products/PythonScripts/PythonScript.py, 
line 336, in _exec
     (Object: makeThumbnails)
     (Info: ({'script': <PythonScript instance at 8bb3a30>, 'context': 
<Folder instance at 89c6c20>, 'container': <Folder instance at 
89c6c20>, 'traverse_subpath': []}, (), {}, None))
   File Script (Python), line 4, in makeThumbnails
     (Object: ssdrawing.jpeg)
   File 
/home/dshafer/Zope-2.3.3-src/lib/python/Products/ExternalMethod/ExternalMethod.py, 
line 269, in __call__
     (Object: makeThumbnail)
     (Info: (('ssdrawing.jpeg',), {}, (128,)))
   File /home/dshafer/Zope-2.3.3-src/Extensions/Thumbnail.py, line 16, 
in makeThumbnail
     (Object: Traversable)
SystemError: (see above)


>If you can paste it from the error page we might be able to help...
>
>cheers,
>
>Chris


-- 
Dan Shafer, Personal Creativity Trainer and Consultant
Trained Hartman Value Profile Analyst
http://www.danshafer.com/valueprofile.html