Gary Smith wrote:

Re: Problem registering Python COM object (suddenly)

Hi,

I’ve been volunteering for the Research Dept. of Selby Botanical Gardens here in Sarasota, FL. In support of my project I wrote a Python COM server to extend Python’s regular expression capabilities to VB. (I’m aware of VB regular expression support, which doesn’t include look-behinds.)

The computer I use at the Gardens has XP SP2 and Access 2003. Two or three weeks ago I installed Pywin32 (Active State) at the Gardens by downloading the latest version of 2.5 (build 211?). At home I run Active State 2.5 211.1.



ActiveState must not be keeping up. The latest version is 214. See here: http://sourceforge.net/projects/pywin32/files/



I believe the software is up-to-date. When I originally installed my Python COM object, the Access application ran flawlessly. However, after a week’s absence, I can’t even seem to register the COM object (which has changed).

The symptoms occur during a query that computes a value using the COM object. I get the Access message “Error ??? the object doesn’t support that method”. If I stop the query with a break point in VB, I can see that my object exists (probably from the DIM statement). However, it doesn’t seem to be associated with the Python COM object.

Everything works swimmingly at my development computer. Between last week’s visit and today’s visit, things won’t work at the Gardens.

The computer there is very low on C: disk space. Could this have an effect on win32com’s registration of the COM object?



You can free up some space on the hard drive by going to Start, Programs, Accessories, System Tools and Disk Cleanup.

I can't tell if anything is wrong with the code or not as I try to limit my COM experience. Hopefully someone else here will pipe up.

- Mike
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to