Hmm....

It looks like we are mapping correctly.  I don't see anything regarding the new 
cursor class I put it.  The only thing I can see that might cause it is moving 
the class declaration for the cursor mixin to the setConnection method.  Add 
the following lines back in after line 23 on dBizobj.py and see if that solves 
your issue.  If it does, we can commit that and still maintain the 
functionality.

        # Class to instantiate for the cursor object
        dCursorMixinClass = dCursorMixin


Regards,

Nathan Lowrie
[email protected]



On Oct 15, 2012, at 6:31 PM, Paul McNett <[email protected]> wrote:

> On 10/14/12 2:07 PM, Nathan Lowrie wrote:
>> Just committed a fix to a small typo.  Try it now.
> 
> 
> My MySQL version is broken at r7282 (works if I regress to r7277) with this 
> traceback:
> 
> Traceback (most recent call last):
>  File "main_MU.py", line 2, in <module>
>    sbs_studio.main(mu_version=True)
>  File
> "/pmcnett_home/home/pmcnett/py/sbs/shutter_studio/trunk/clients/shutter_studio/sbs_studio.py",
> line 144, in main
>    if app.SecurityManager and not app.SecurityManager.login():
>  File "/home/pmcnett/dabo-full/trunk/dabo/dSecurityManager.py", line 40, in 
> login
>    if self.validateLogin(user, password):
>  File
> "/pmcnett_home/home/pmcnett/py/sbs/shutter_studio/trunk/clients/shutter_studio/App.py",
> line 1751, in validateLogin
>    if biz.validateLogin(user, passwd):
>  File
> "/pmcnett_home/home/pmcnett/py/sbs/shutter_studio/trunk/clients/shutter_studio/biz/emps.py",
> line 47, in validateLogin
>    self.save()
>  File "/home/pmcnett/dabo-full/trunk/dabo/biz/dBizobj.py", line 517, in save
>    cursor.save(includeNewUnchanged=True)
>  File "/home/pmcnett/dabo-full/trunk/dabo/db/dCursorMixin.py", line 1622, in 
> save
>    saverow(row)
>  File "/home/pmcnett/dabo-full/trunk/dabo/db/dCursorMixin.py", line 1586, in 
> saverow
>    self.__saverow(row)
>  File "/home/pmcnett/dabo-full/trunk/dabo/db/dCursorMixin.py", line 1745, in 
> __saverow
>    self.BackendObject.noResultsOnSave()
>  File "/home/pmcnett/dabo-full/trunk/dabo/db/dBackend.py", line 117, in 
> noResultsOnSave
>    raise dException.dException(_("No records updated"))
> dabo.dException.dException: No records updated
> 
> 
> Paul
> 
> 
[excessive quoting removed by server]

_______________________________________________
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