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 ➜ Python ➜ Getting Python to work with Mushclient

Getting Python to work with Mushclient

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


Posted by Delu   (4 posts)  Bio
Date Mon 13 Dec 2010 02:17 AM (UTC)

Amended on Mon 13 Dec 2010 02:19 AM (UTC) by Delu

Message
My friend is having problems getting Python to work with Mushclient. She has ActivePython 2.66 installed.

These are the errors she's getting when she tries to install a plugin written in Python (this plugin works perfectly fine for me):

Quote:

[WARNING] C:\Working folder\joy documents\MUSH\MUSHclient\worlds\plugins\Loki_System.xml
Line 124: Could not initialise script engine (Cannot load)


Quote:

Error number: -2147221164
Event: loading scripting engine
Description: Error -2147221164 occurred when loading scripting engine: Class not registered
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #1 on Mon 13 Dec 2010 03:50 AM (UTC)
Message
Search this forum for "2147221164". There are a few posts about it. Make sure your friend downloaded the 32-bit installer (x86) and not the 64-bit one.

The latest version seems to be ActivePython 2.7.1.3 from this site:

http://www.activestate.com/activepython/downloads


- Nick Gammon

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

Posted by Delu   (4 posts)  Bio
Date Reply #2 on Mon 13 Dec 2010 04:06 AM (UTC)
Message
Yes, she downloaded the 32-bit installer.

I've looked through the threads in this forum for that error, but most of them seem to have to do with the python.org install of Python, and recommend ActivePython as the solution. As she started out with ActivePython in the first place, I'm not quite sure what she's supposed to do.

She's also tried running PythonPath}\Lib\site-packages\win32comext\axscript\client\pyscript.py.
Top

Posted by Worstje   Netherlands  (899 posts)  Bio
Date Reply #3 on Mon 13 Dec 2010 04:16 AM (UTC)
Message
Upto now, I haven't been able to figure out what makes it work for some people and not for others, as I never was able to troubleshoot these installation issues with someone who had them. I've had a couple of friends who have had these issues, but somehow they either never solved it or it never came up again. Personally, I haven't had that problem.

My best guess is that you ought to make sure to run as an administrator when you install Python. The COM related stuff requires administrator privileges, and maybe something is bugged in there that it doesn't ask you to give it those privileges, and that it silently fails.

Again: I'm just guessing. But running the appropriate stuff as an admin might help (be it the installer, the ax_client.py script, or both.)
Top

Posted by Rakon   USA  (123 posts)  Bio
Date Reply #4 on Sun 19 Dec 2010 02:17 AM (UTC)
Message
In addition to the ActivePython, you need to ensure you have the pywin32 bindings downloaded and installed

http://sourceforge.net/projects/pywin32/

After that, run the ax_client script and restart MUSH.

Yes, I am a criminal.
My crime is that of curiosity.
My crime is that of judging people by what they say and think, not what they look like.
My crime is that of outsmarting you, something that you will never forgive me for.
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.


23,258 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.