ActivePython and WSH problem

Mark Hammond MarkH at ActiveState.com
Thu Jun 7 19:19:41 EDT 2001


JohnB wrote:

> However, on running it, the following error is displayed "...pytest.wsf(6,
> 14) Windows
> Script Host: The value for the attribute is not valid : language".
> I've seen it claimed on the net that this should work, so I suspect my
> ActivePython install didn't register something as a script engine for
> Windows Scripting Host, or I'm doing something stupid. Any ideas?


Almost certainly a problem with ActivePython (that will be fixed next 
version :)

Go to a command-prompt, change to the win32comext\axscript\client 
directory, and execute the following commands:

python pyscript.py --unregister
python pyscript.py

And all should be fine.

Mark.




More information about the Python-list mailing list