Dear developers:
I install the Webware 0.5 ( and test 0.51rc?) and found that the
samples of MiddleKit doesn't work. After I run the instructions bt the
given user guide and do the following test:
store = MySQLObjectStore(user='root', passwd='')
store.readModelFileNamed('Videos')
videos = store.fetchObjectsOfClass(Video)
v=videos[0]
roles = v.cast()
print roles
the roles will be a empty list, but in fact there should be two roles in
the first video. The debug sql statement is as following:
SQL 005. 2001-04-28 21:48:22 select roleId,videoId,karacter,personId from Role w
here videoId=8589934593;
i guess there is an internal alogrithm to convert 8589934593 to real
movieId but it seems not working. (The test is under Win2k and Linux
with MySQL 3.23 and BeOpen Python2.0)
Kao, Shi-Shiuan
==========================================================
PC home §K¶O¹q¤l«H½c¡A¥Ó½Ð½Ð¦Ü: http://www.pchome.com.tw
PC home Online ºô¸ô®a®x¡@¡@ ·|û²Ä¤@¡A¥xÆW³Ì¤jªº¤J¤fºô¯¸
==========================================================
|