hi mark. thanks so much for looking into the matter. unfortunately, i'm the odd person out here because this fix hasn't solved my problem. i implemented the fix and restarted the server, to no avail. thinking i had screwed up my system with previous tries, i did this:
- uninstalled python and pywin32 from my computer. - downloaded and reinstalled python 2.6.3 from python.org. - downloaded and installed pywin32 from sourceforge. - made the change to framework.py using a text editor that could identify tabs vs spaces. - ran python pyscript.py (even did the old --unregister trick first). - rebooted the computer entirely. it came back up and my program looks like this: <%...@language=python%> <HTML> <head></head> <body> <h1>Python Test</h1> </body> </html> when i run it, it works the first time. then i hit refresh and i get this: Python ActiveX Scripting Engine error '80020009' Traceback (most recent call last): File "<Script Block >", line 1, in <module> Response.WriteBlock(0) File "<COMObject Response>", line 2, in WriteBlock COM Error: Object has no dispatch interface available. ?, line 0 then when i hit refresh again, and every subsequent time, i get this: Python ActiveX Scripting Engine error '80020009' Traceback (most recent call last): File "<Script Block >", line 1, in <module> Response.WriteBlock(0) File "<COMObject Response>", line 2, in WriteBlock COM Error: OLE error 0x80020101 ?, line 0 i verified that framework.py is the new one. something that seems odd to me is that the framework.pyc and framework.pyo files both have modification times from BEFORE when i changed framework.py, so my instinct is they didn't recompile properly. however i don't fully understand if/how they're supposed to, so i may be off. any thoughts? thanks mark for your help and i'm sorry to come back with another question. matt
_______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32