This is my first week and I love Webware so far. (and
it is only Tuesday ;)
I really like what has been done with MiddleKit and it
is exactly what I was looking for in an obj-rel
mapping. I am so into it, that I am diving into it
first before FULLY exploring the WebKit.
I know that MK is in ALPHA (as I have already hit some
snags), I was just wondering what the status is of
this project and where it is going next. I am very
interested in helping out but I want to know where we
are and who else is actually USING this library.
Below are my particular problems if anyone is
interested.
Regards,
Ian Maurer
Python (and soon-to-be Webware) Geek
ian_maurer@...
MY PLATFORM:
Windows 2000
Python 2.1
MySQL 3.23.33
MY PROBLEMS:
1. The TEST case (test.py) did not work very well at
all. Tons of windows unhandled exception message boxes
and a python failure as well. Not sure if this was an
appropriate test but it looked right.
2. I created the Videos python file and ran the
generated SQL to create the DB. I then tried to run
the main.py and it crapped out.
3. I tried my own hand at it and it seemed to work
fine first run thru but whenever a .pyc file exists
then is seems to have problems finding the generated
attributes (not running init?):
python main.py
SQL 001. 2001-08-21 16:55:39 use Objects;
SQL 002. 2001-08-21 16:55:39 select id, name from
_MKClassIds;
Traceback (most recent call last):
File "main.py", line 25, in ?
main()
File "main.py", line 20, in main
store.saveChanges()
File "d:\webware\MiddleKit\Run\ObjectStore.py", line
84, in saveChanges
self.commitInserts()
File "d:\webware\MiddleKit\Run\SQLObjectStore.py",
line 93, in commitInserts
sql = object.sqlInsertStmt()
File "d:\webware\MiddleKit\Run\SQLObjectStore.py",
line 302, in sqlInsertStmt
values = [self.sqlValueForName(attr.name()) for
attr in attrs]
File "d:\webware\MiddleKit\Run\SQLObjectStore.py",
line 332, in sqlValueForName
value = self.valueForKey(name)
File "MiscUtils\NamedValueAccess.py", line 101, in
valueForKey
File "GeneratedPy\GenAddress.py", line 28, in
address1
return self._address1
AttributeError: Address instance has no attribute
'_address1'
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
|