Hi folks, I'm trying to add and external method to a Zope site. I've created an Extensions directory under zinstance and put a file named example.py there. The example.py file just has
When I try to add the External Method I get a message:
I've tried restarting Zope, that didn't help. I'm wondering what kind of dumb mistake I'm making. Thanks for your advice. asked 10 Apr '12, 17:05 squareup |
External methods need to be in a directory named "
Then create an external method like this after Zope has restarted:
You should then be able to test the external method via the Test tab in the ZMI. answered 10 Apr '12, 20:01 seanf No joy, same result after creating the init.py I did see that init.pyc was created though.
(10 Apr '12, 22:54)
squareup
I've added some extra steps for creating the external method object in Zope - can you please try again?
(11 Apr '12, 09:00)
seanf
Will do later today.
(11 Apr '12, 11:26)
squareup
It worked, no error message and it shows up in ZMI. Thanks!
(11 Apr '12, 13:33)
squareup
You're very welcome, glad I could help :)
(11 Apr '12, 13:34)
seanf
|