Użytkownik Ed Leafe napisał:
> dabo Commit
> Revision 5521
> Date: 2009-11-14 08:18:42 -0800 (Sat, 14 Nov 2009)
> Author: Ed
> Trac: http://trac.dabodev.com/changeset/5521
>
> Changed:
> U   trunk/dabo/biz/dBizobj.py
>
> Log:
> Committed the wrong version - this one removes the 'attProperties' reference 
> inadvertantly left in.
>
>    

I'm afraid, that is not so easy to fix it.
Here is second problem:

  File "C:\Python25\lib\site-packages\dabo\biz\dBizobj.py", line 47, in 
__init__
     self.setConnection(conn)
   File "C:\Python25\lib\site-packages\dabo\biz\dBizobj.py", line 120, 
in setConnection
     self.createCursor()
   File "C:\Python25\lib\site-packages\dabo\biz\dBizobj.py", line 184, 
in createCursor
     crs.requery()
   File "c:\python25\lib\site-packages\dabo\db\dCursorMixin.py", line 
437, in requery
     self.execute(currSQL, params, _newQuery=newQuery)
   File "c:\python25\lib\site-packages\dabo\db\dCursorMixin.py", line 
332, in execute
     raise dException.DBQueryException(errMsg, sql)
dabo.dException.DBQueryException: syntax error at or near "limit"
LINE 3:  limit 1000
          ^
SQL: select *
   from
  limit 1000


As you see, query has no table name.
Why can't you call setConnection() after superclass __init__ call?

-- 
Regards
Jacek Kałucki


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

Reply via email to