Re: Strange error with getattr() function

2006-12-19 Thread Hole
Gabriel Genellina ha scritto: > At Monday 18/12/2006 13:25, Hole wrote: > > > > At this point, I got the error: attribute name must be string > > > >I'm wondering if the exception is raised in a hidden function and not > >in the explicit call to getattr(). How can I view the traceback in a > >scr

Re: Strange error with getattr() function

2006-12-18 Thread Gabriel Genellina
At Monday 18/12/2006 13:25, Hole wrote: > At this point, I got the error: attribute name must be string I'm wondering if the exception is raised in a hidden function and not in the explicit call to getattr(). How can I view the traceback in a script running in zope?? (Which Zope version?) If

Re: Strange error with getattr() function

2006-12-18 Thread Gabriel Genellina
At Monday 18/12/2006 12:33, Hole wrote: I'm trying to use Zope and the product OpenFlow. Try posting in the Zope list, you surely will have more responses. I got the following error while I was using the built-in function getattr() to retrieve an OpenFlow object: attribute name must be stri

Re: Strange error with getattr() function

2006-12-18 Thread Hole
Hole ha scritto: > Hi There! > > I'm trying to use Zope and the product OpenFlow. > > I got the following error while I was using the built-in function > getattr() to retrieve an OpenFlow object: > > attribute name must be string > > > Actually, I surely pass a string as attribute name to getattr

Strange error with getattr() function

2006-12-18 Thread Hole
Hi There! I'm trying to use Zope and the product OpenFlow. I got the following error while I was using the built-in function getattr() to retrieve an OpenFlow object: attribute name must be string Actually, I surely pass a string as attribute name to getattr() The code: #following instructio