Re: [Webware-discuss] Problems with MiddleKit

2005-05-08 Thread Seth Remington
I'm guessing that your problem is you are running your app outside of the webware. There's probably no reason that you can't do this, the problem that you are running into though is that webware will automatically add certain things to your path that you need. In your case you can do it manually by

Re: [Webware-discuss] Problems with MiddleKit

2005-05-08 Thread Vytautas Bruzgis
 yes, i have found this way. But now i have another problem.   "C:\Python24\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", line 310, in RunScript    exec codeObject in __main__.__dict__  File "D:\Webware-0.8.1\Videos\Middle\main.py", line 7, in ?    from Videos.Middle.Movie impo

Re: [Webware-discuss] Problems with MiddleKit

2005-05-08 Thread Seth Remington
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) retur

[Webware-discuss] Problems with MiddleKit

2005-05-08 Thread Vytautas Bruzgis
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   

[Webware-discuss] MiddleKit

2005-05-08 Thread Vytautas Bruzgis
    ---Original Message---   From: Vytautas Bruzgis Date: 05/08/05 13:11:50 To: [EMAIL PROTECTED] Subject: MiddleKit     Hello, i am new at Webware and i am trying to use MiddleKit as it is described in http://webware.sourceforge.net/Webware-0.7/MiddleKit/Docs/QuickStart.html#Next (M