Re: [Zope] External Method Difficulties

2000-06-22 Thread Dieter Maurer
Jason Lee writes: ... external method access ... dtml-call genhash This says, "call the method (for its side effects) but discard any return value". This produces nothing. I think I read somewhere that dtml-call returns no data, so that might explain it. I could be wrong. You are

Re: [Zope] External Method Difficulties

2000-06-22 Thread Jason Lee
Dieter Maurer wrote: dtml-var genhash That should work. What KeyError do you get? The error message's head should tell you what key has not been found. The traceback at the foot (especially the last line) tells you where the KeyError occured. After I posted, I did some more wild,

[Zope] External Method Difficulties

2000-06-21 Thread Jason Lee
For background purposes, I need to write a python module that will generate an MD5 hash of a given string, and return the base 64 representation of that hash. The problem I am facing is getting my stub to work from my DTML document. What I have write now is a stub that takes no arguments and