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
Python (and soon-to-be Webware) Geek
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?):
SQL 001. 2001-08-21 16:55:39 use Objects;
SQL 002. 2001-08-21 16:55:39 select id, name from
Traceback (most recent call last):
File "main.py", line 25, in ?
File "main.py", line 20, in main
File "d:\webware\MiddleKit\Run\ObjectStore.py", line
84, in saveChanges
line 93, in commitInserts
sql = object.sqlInsertStmt()
line 302, in sqlInsertStmt
values = [self.sqlValueForName(attr.name()) for
attr in attrs]
line 332, in sqlValueForName
value = self.valueForKey(name)
File "MiscUtils\NamedValueAccess.py", line 101, in
File "GeneratedPy\GenAddress.py", line 28, in
AttributeError: Address instance has no attribute
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger