Do you get an error if you put this line just before your return
statement
in your controller ?

for c in company:
    print 'CNAME', c.name



On Jun 20, 4:22 pm, Glenn <[EMAIL PROTECTED]> wrote:
> Upgraded to SQLObject 0.9.  Same exact error.
>
> Thanks for the help so far.
>
> On Jun 19, 5:22 pm, "Florent Aide" <[EMAIL PROTECTED]> wrote:
>
> > On 6/19/07, Glenn <[EMAIL PROTECTED]> wrote:
>
> > > This is a fresh install of both turbogears and Postgres (8.2).
> > > Postgres seems to be running fine (inserting data from source works a
> > > OK).
>
> > [SNIP]
>
> > > > >     for p in stream:
> > > > >   File "c:\python24\lib\site-packages\kid-0.9.5-py2.4.egg\kid
> > > > > \parser.py", line 219, in _coalesce
> > > > >     for ev, item in stream:
> > > > >   File "C:\picker\picker\templates\companylist.py", line 72, in _pull
> > > > >   File "c:\python24\lib\site-packages\SQLObject-0.7.7-py2.4.egg
> > > > > \sqlobject\sresults.py", line 160, in __iter__
> > > > >     return iter(list(self.lazyIter()))
> > > > >   File "c:\python24\lib\site-packages\SQLObject-0.7.7-py2.4.egg
> > > > > \sqlobject\sresults.py", line 168, in lazyIter
> > > > >     return conn.iterSelect(self)
> > > > >   File "c:\python24\lib\site-packages\SQLObject-0.7.7-py2.4.egg
> > > > > \sqlobject\dbconnection.py", line 778, in iterSelect
> > > > >     select, keepConnection=True)))
> > > > >   File "c:\python24\lib\site-packages\SQLObject-0.7.7-py2.4.egg
> > > > > \sqlobject\dbconnection.py", line 723, in next
> > > > >     obj = self.select.sourceClass.get(result[0],
> > > > > selectResults=result[1:], connection=self.dbconn)
> > > > >   File "c:\python24\lib\site-packages\SQLObject-0.7.7-py2.4.egg
> > > > > \sqlobject\main.py", line 920, in get
> > > > >     val._init(id, connection, selectResults)
> > > > >   File "c:\python24\lib\site-packages\SQLObject-0.7.7-py2.4.egg
> > > > > \sqlobject\main.py", line 966, in _init
>
> > Hi Glenn,
>
> > TurboGears requires "SQLObject>=0.8,<0.10dev" which means you have
> > downgraded to SQLobject 0.7 after installing TG.
>
> > Try reinstalling SQLObject like this:
>
> > easy_install -UZ "SQLObject>=0.8,<0.10dev"
>
> > and see if it works better.
>
> > Cheers,
> > Florent.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to