[Zope-it] Aiuto errore

jmedia@virgilio.it jmedia@virgilio.it
Mon, 9 Sep 2002 13:20:05 +0200


Sto importando un programma scritto in python per leggere l'email.
In python puro funziona bene. Importandolo in zope come External method
facendo il test mi risponde in questo modo:

Zope Error
Zope has encountered an error while publishing this resource.

Error Type: IndentationError
Error Value: expected an indented block (EMAIL.py, line 8)



-------------------------------------------------------------------------=
-------

Troubleshooting Suggestions

The URL may be incorrect. 
The parameters passed to this resource may be incorrect. 
A resource that this resource relies on may be encountering an error. 
For more detailed information about the error, please refer to the HTML
source for this page. 

If the error persists please contact the site maintainer. Thank you for
your patience. 
 



Traceback (innermost last):
  File C:\Programmi\WebSite\lib\python\ZPublisher\Publish.py, line 150,
in publish_module
  File C:\Programmi\WebSite\lib\python\ZPublisher\Publish.py, line 114,
in publish
  File C:\Programmi\WebSite\lib\python\Zope\__init__.py, line 159, in zpu=
blisher_exception_hook
    (Object: prova)
  File C:\Programmi\WebSite\lib\python\ZPublisher\Publish.py, line 98, in=

publish
  File C:\Programmi\WebSite\lib\python\ZPublisher\mapply.py, line 88, in
mapply
    (Object: manage_edit)
  File C:\Programmi\WebSite\lib\python\ZPublisher\Publish.py, line 39, in=

call_object
    (Object: manage_edit)
  File C:\Programmi\WebSite\lib\python\Products\ExternalMethod\ExternalMe=
thod.py,
line 132, in manage_edit
    (Object: prova)
  File C:\Programmi\WebSite\lib\python\Products\ExternalMethod\ExternalMe=
thod.py,
line 139, in getFunction
    (Object: prova)
  File C:\Programmi\WebSite\lib\python\App\Extensions.py, line 145, in ge=
tObject
    (Info: ('C:\\Programmi\\WebSite\\Extensions\\EMAIL.py', 'EMAIL'))
IndentationError: (see above)

cosa defo fare?
grazie