I have some simple code to check for application updates, but the code
fails...

cn = self.getConnectionByName("Updater")
crs = cn.getDaboCursor()
crs.execute("SELECT version FROM tbl_application WHERE appname='%s'" %
        self.getAppInfo("appName"))
# crs.getDataSet() == (({"version": "0.2.0"}),)
crs.close()


The problem is when the database has been updated by external sources...
When I then run this code again, I get the same result, and not the
updated values. If I restart the application it of course gets the
correct result again.

Is there some caching issues here? I cannot say I've encountered this
problem before, so this might be a weird bug if I'm not doing something
wrong.

Platform: Win
Python Version: 2.4.4 on win32
Dabo Version: Version 0.8.2; Revision ~3767
UI Version: 2.8.6.1 on wxMSW




_______________________________________________
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/dabo-users/[EMAIL PROTECTED]

Reply via email to