On Monday 23 March 2009 08:42:46 pm Stuart McGraw wrote:
> johnf wrote:
> > On Monday 23 March 2009 08:52:01 am johnf wrote:
> >> On Sunday 22 March 2009 07:58:57 pm Stuart McGraw wrote:
> >> > Dabo Error Log: Mon Mar 16 13:37:12 2009: Could not bind to
> >> > 'public.clients.attn' Reason: 'NoneType' object has no attribute
> >> > 'attn'.
> >> >
> >> > Since that message is not very informative, and the dabo
> >> > code is completely opaque to me, I thought I would seek
> >> > advice here
> >>
> >> This is the right place to ask questions.  But I hope your clock is off
> >> because waiting a week to ask a question (the error message is a week
> >> old) would frustrate anyone.
> >>
> >> >From my experience that means there is something wrong with either the
> >>
> >> database or the bizobj description (class definition).  Most likely you
> >> have mis-typed the table name or field name.  My guess would be the
> >> table name. Make sure you have the case matching the variables
> >> "pubic.clients" <> "Public.Clients".  Both python and Postgres are case
> >> sensitive.
> >
> > A thought has occurred to me (I know insert joke here).  You have have
> > the case etc right but you forgot to add 'public' in the datasource of
> > the bizobj.  If you like you might want to send the source to me directly
> > and I can review it.
>
> Yes that was exactly it.  Problem was that Class Designer
> had generated the Client form .cdxml file in which all
> the DataSource attributes were "public.clients" but my
> ClientBizobj.py file set DataSource to "clients" (because
> I'd copied and pasted from the SbS tutorial, and I had
> naively considered them equivalent.)  Changing either so
> it matched the other made the form start working.
>
> So no need for a review (this time anyway :-), though I
> greatly appreciate the offer.


Great!  Next time you run into a problem don't hesitate to ask for help.
-- 
John Fabiani

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to