Re: [Zope-dev] Method calls

2000-11-23 Thread Steve Spicklemire
Hi Roch, The whole traceback would be helpful.. one clue: Error Type: TypeError Error Value: hasattr, argument 2: expected string, int found 'hasattr' is the function that is complaining do you use it in your code? -steve "Roch'e" == Roch'e Compaan [EMAIL PROTECTED] writes:

RE: [Zope-dev] Method calls

2000-11-23 Thread Roch'e Compaan
OK.. it's the 'in' tag that's causing the problem. Why not try: dtml-var "experession that's causing problem with in" html_quote and see what 'in' is choking on... It's choking on a list of instances. This is what is returned when I "var" the expression: [Module instance at 8b97660,

Re: [Zope-dev] Method calls

2000-11-23 Thread Steve Spicklemire
Hmm... OK ... next question... what are you doing *in* the 'in' tag? Somehow you're trying to access an object contained in an object manager (one of your modules?) and you're using an 'int' rather than a string as an id. Can you post the code? thanks, -steve "Roch'e" == Roch'e Compaan