On 13 Jun 2002, Patricia J. Hawkins wrote:

> Hmmm.  Rather than stare at the python paths myself, I'd make my
> editor do the comparison -- I can miss a typo, my editor won't.

Sure.  I was speaking mostly figuratively.  I've been primarily using
scripts and other tools to analyze the differences (supplemented by
eyeballs, though -- you never can tell what you'll see that your tools
missed).

> If you can't fix it, make it worse, and see what you learn... I'd
> try to break the working account by renaming the module that's
> failing to load.  Do you get the same error message in the currently
> working account?

No, I get the message "No module named pythoncom" when I do that.  The
original problem has "The specified module could not be found."  (This
was raised by an attempt to invoke pythoncom.CoCreateInstance()).

> If you don't learn anything that way, put it back, and change the
> python path on the working account.  What happens now?

The python paths are already identical.  If I remove essential pieces
from sys.path on the working account, I get:

ImportError: No module named win32com.client

Also, since the module cited in the stack trace is pythoncom, and that's
located by a registry key, I'm not sure how sys.path would have come
into play.

> As user 1, do a system-wide search on the name of the module that's
> failing to load.  Is another one sitting around that user 1 can see,
> but user 2 can't see?

There is only one copy of pythoncom22.dll (which is the implemented
pointed to by the registry for this module) on the machine.  The
registry has only one key for the module.

> I'm not familiar with Win2k user/group permissions, but on Unix, I'd
> check whether the module is readable only by user, not user & group.

Both users are members of the Administrators group, and this group has
the equivalent of rwx for pythoncom22.dll.

Thanks again for your suggestions.  Still puzzled, though.

-- 
Bob Kline
mailto:[EMAIL PROTECTED]
http://www.rksystems.com


_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython

Reply via email to