Mailing List Archive

pyscript help
Has anyone seen this ?
D:\python\win32comext\axscript\client>pyscript.py --debug
Traceback (innermost last):
File "D:\python\win32comext\axscript\client\pyscript.py", line 400, in ?
Register()
File "D:\python\win32comext\axscript\client\pyscript.py", line 388, in
Registe
r
ret = win32com.server.register.UseCommandLine(PyScript)
File "d:\python\win32com\server\register.py", line 401, in UseCommandLine
apply(RegisterClasses, classes, flags)
File "d:\python\win32com\server\register.py", line 358, in RegisterClasses
addPyComCat, dispatcherSpec, clsctx, addnPath)
File "d:\python\win32com\server\register.py", line 227, in RegisterServer
regCat = _cat_registrar()
File "d:\python\win32com\server\register.py", line 85, in _cat_registrar
pythoncom.IID_ICatRegister
pywintypes.com_error: (-2147467262, 'No such interface supported', None,
None)



I was able to control word from a test script.
Could this have something to do with being a server ?
And I this works also:
>>> import pythoncom
>>> import pywintypes
>>>

I'm running NT4 SP4, IE5 and Option pack 4.


Thanks--
--Darrell
pyscript help [ In reply to ]
Found it.

http://support.microsoft.com/support/kb/articles/q201/3/64.asp

comcat.dll version 5.0 got put on my system some how.
comcat.dll version 4.75 is what you need.

That was a painful experience !

D:\python\win32comext\axscript\client>pyscript.py
Registered: Python
Registration of Scripting Engine complete.

None of these demos work though ??
Should they ?
D:\python\win32comext\axscript\demos\client\ie\demo.htm

--Darrell
pyscript help [ In reply to ]
Life is good.
After an evening of install reboot.....
I got Aaron Watters Calculator Demo to work.
D:\python\win32comext\axscript\demos\client\ie\demo.htm
<SCRIPT LANGUAGE="Python">
Removed the "<!--"


and "-->"
</SCRIPT>

I just wanted to see an ASP something or other work.

Replaced comcat.dll with an older one.
NT4 SP5
IE5
And I'm afraid to install option pack 4.

--Darrell
pyscript help [ In reply to ]
On Sun, 6 Jun 1999 02:12:15 -0400, Darrell <news@dorb.com> wrote:
>
>I just wanted to see an ASP something or other work.
>
>Replaced comcat.dll with an older one.
>NT4 SP5
>IE5
>And I'm afraid to install option pack 4.

Don't be afraid. Just don't go overboard. Of course, the recommended
order is:

1) Install NT
2) Apply SP3 (Yes, SP3)
3) Install Option Pack
4) Apply SP4+ (either SP4 or SP5)

The reason for this is that SP4+ modifies some of the items that the
Option Pack installs/modifies/replaces.

--
Michael W. Ryan, MCP | OTAKON 1999
mryan@netaxs.com | Convention of Otaku Generation
http://www.netaxs.com/~mryan/ | http://www.otakon.com/

PGP fingerprint: 7B E5 75 7F 24 EE 19 35 A5 DF C3 45 27 B5 DB DF
PGP public key available by fingering mryan@unix.netaxs.com (use -l opt)