Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Bug reports ➜ registering script engine (python)

registering script engine (python)

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Tartaros   (1 post)  Bio
Date Tue 29 Jul 2003 12:20 AM (UTC)

Amended on Tue 29 Jul 2003 12:33 AM (UTC) by Tartaros

Message
I have an issue with the registering of python dll. I installed the mushclient (tried 2 times) and my python did not work (actually it works for normal python apps)...it just refused to register the script engine no matter what i did...
I have windows ME btw.
Dunno what to do with it...?

here is what it keeps crying:

Error number: -2147221005
Event: finding CLSID of scripting language "Python"
Description: Error -2147221005 occurred when finding CLSID of scripting language "Python":

Invalid class string

Called by:
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #1 on Tue 29 Jul 2003 08:13 AM (UTC)
Message
There is a difference between Python apps (which use the executable) and Python scripting (which uses the DLL).

There is a "register" Python app somewhere in the (Python) download - you need to find that and run it. Reinstalling MUSHclient won' t do much.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Blasphemy   (2 posts)  Bio
Date Reply #2 on Sat 03 Jan 2004 07:15 AM (UTC)
Message
I'm having the exact same problem, but I can't find a register app. I've installed python and all, searched for anything that will help but I still get the same error.
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #3 on Sat 03 Jan 2004 06:44 PM (UTC)
Message
Have you read this:

http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=1666

In particular this sentence: "After installing it, run C:\python22\lib\site-package\win32comext\client\pyscript.py --register to enable the IActiveScript registry entries.".

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Blasphemy   (2 posts)  Bio
Date Reply #4 on Mon 05 Jan 2004 02:27 AM (UTC)
Message
Ok found it. Apparently python doesn't come with the stuff I need for scripting, and I had python 2.3. I downloaded the windows stuff for 2.3 but there was some bizarre error during install, so I removed both and got python 2.2 and the windows extensions for that and it worked fine. Thanks for the help.
Top

Posted by Ked   Russia  (524 posts)  Bio
Date Reply #5 on Fri 14 May 2004 05:23 PM (UTC)
Message
Even though this is old... There was some issue with ActivePython beyond version 2.2.2 (build 224) - which was the last one of the breed that I managed to get to work - that prevented win32 extensions from registering correctly and me from upgrading to Python 2.3. Installing Python 2.3.3 from python.org and win32all 163 on top of that worked like a charm though. So if you want to use the latest version of Python with Mushclient then use the original distributions from python.org.
Top

Posted by Bobble   Canada  (76 posts)  Bio
Date Reply #6 on Mon 14 Mar 2005 02:17 PM (UTC)
Message
I'm having a bit of a problem similar to Blasphemy. I installed python 2.4 from the python.org site, but I can't locate the pyscript file. The "site-packages" directory exists, but is completely empty.

Did they remove all pacakages from the base installation of python?

I tried searching for the pyscript download, but what I got didn't seem to help the problem much. Any help would be appreciated.

Open the watch.
Top

Posted by Ked   Russia  (524 posts)  Bio
Date Reply #7 on Tue 15 Mar 2005 07:57 AM (UTC)
Message
You need Python (which you have) plus the package called "pywin32". A link to that is usually present on the www.python.org download page for each new version. Install pywin32 and it should start working.
Top

Posted by Bobble   Canada  (76 posts)  Bio
Date Reply #8 on Tue 15 Mar 2005 04:02 PM (UTC)

Amended on Tue 15 Mar 2005 04:03 PM (UTC) by Bobble

Message
Thanks Ked! Python scripting seems to be working dandy now.

For those who are wondering, you can get python at:
www.python.org


You can download the pywin32 package from sourceforge:
http://sourceforge.net/project/showfiles.php?group_id=78018&package_id=79063

After installing it, you'll find the pyscript.py file in
\Python24\Lib\site-packages\win32comext\axscript\client\pyscript.py

Which is a slightly different location than described in previous posts.

Open the watch.
Top

Posted by Malur   (4 posts)  Bio
Date Reply #9 on Fri 09 Oct 2009 11:24 PM (UTC)
Message
I know it's been a while on this forum post. But has anyone had any luck getting Python3.1 to work. I've tried ActivePython and pywin32. I have been unfortunate in getting getting windows 7 to register python as a scripting engine for MUSH.
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


35,362 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.