The problem is due to PyMySQLdb which had some API changes moving insert_Id() from the cursor to the database object.
I have temporarily fixed the problem by changing the retrieveLastInsertId() function in MySQLObjectStore.py to: conn, cur = self.executeSQL('select last_insert_id();', conn) return cur.fetchone()[0] Hope that helps. -Seth >>> "Vytautas Bruzgis" <[EMAIL PROTECTED]> 05/08/05 7:05 am >>> i am using MiddleKit's quickstart. I have come to step -Â* python Command/main.py. I dont know if i do it wrigth. But i retrieve an error when compiling main.py Traceback (most recent call last): Â* File "Command/main.py", line 43, in ? Â*Â*Â* main() Â* File "Command/main.py", line 40, in main Â*Â*Â* store.saveChanges() Â* File "MiddleKit\Run\ObjectStore.py", line 316, in saveChan Â* File "MiddleKit\Run\SQLObjectStore.py", line 193, in commi Â* File "MiddleKit\Run\SQLObjectStore.py", line 214, in _inse Â* File "MiddleKit\Run\MySQLObjectStore.py", line 36, in retr AttributeError: 'Cursor' object has no attribute 'insert_id' What is wrong? i have made all the steps rigth as it is said in Quick start. ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r _______________________________________________ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss