RE: [Zope-dev] ZPatterns: getItem returns None

2001-03-20 Thread Roch'e Compaan
> Seems like the first element of the list of result objects returned by > sqlGetAllotmentArea doesn't define anything called 'AllotmentArea_ID'. > Could it be a case problem? What datbase/db_adaptor are you using? It is a case problem, which really surprised me because Interbase is not case sens

Re: [Zope-dev] ZPatterns: getItem returns None

2001-03-19 Thread Steve Spicklemire
Hi Roche, > > In all simplicity I still can't get it to work but here's some more info > > from the console: > > > > Traceback (innermost last): > > File > > C:\PROGRA~1\ZOPE230\lib\python\Products\ZPatterns\AttributeProviders.py, > > line 335, in _AttributeFor > > (Object: GAPMixin) > >

RE: [Zope-dev] ZPatterns: getItem returns None

2001-03-19 Thread Roch'e Compaan
> On Mon, 19 Mar 2001, Roch'e Compaan wrote: > > In all simplicity I still can't get it to work but here's some more info > > from the console: > > > > Traceback (innermost last): > > File > > C:\PROGRA~1\ZOPE230\lib\python\Products\ZPatterns\AttributeProviders.py, > > line 335, in _AttributeFor

RE: [Zope-dev] ZPatterns: getItem returns None

2001-03-19 Thread R. David Murray
On Mon, 19 Mar 2001, Roch'e Compaan wrote: > In all simplicity I still can't get it to work but here's some more info > from the console: > > Traceback (innermost last): > File > C:\PROGRA~1\ZOPE230\lib\python\Products\ZPatterns\AttributeProviders.py, > line 335, in _AttributeFor > (Object:

RE: [Zope-dev] ZPatterns: getItem returns None

2001-03-19 Thread Roch'e Compaan
> In my experience, getItem will return None if *anything* goes wrong > with data retieval or object creation. Sometimes you get a traceback in > the STUPID_LOG, and sometimes you don't (and I haven't figured out the > pattern yet). Test everything you can independently, and simplify > everythi

Re: [Zope-dev] ZPatterns: getItem returns None

2001-03-17 Thread R. David Murray
On Sat, 17 Mar 2001, Roch'e Compaan wrote: > When I call getItem() on the specialist, it returns None. In my experience, getItem will return None if *anything* goes wrong with data retieval or object creation. Sometimes you get a traceback in the STUPID_LOG, and sometimes you don't (and I haven'