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.
Entire forum
➜ MUSHclient
➜ Python
➜ Step by Step Installation of Python
Step by Step Installation of Python
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Pages: 1 2
Posted by
| SteamKnight
USA (17 posts) Bio
|
Date
| Wed 11 Nov 2009 09:03 PM (UTC) |
Message
| Hi all,
I'd really appreciate a step by step tutorial on how to get Python up and running on MUSHclient. I've already installed it, but it seems like I can't get Python and MUSHclient to recognize each other. How can I get these two to "work in harmony?" Thanks for the help. | Top |
|
Posted by
| WillFa
USA (525 posts) Bio
|
Date
| Reply #1 on Wed 11 Nov 2009 09:53 PM (UTC) |
Message
| Which distro of python did you dl? If It's the ActiveState one, it should Just Work.
If it's the official release from python.org, you'll need to run the axscript.py that's buried a bit down the install tree first.
I haven't touched it in years tho, so I'm sorry that I can't give you the step by step / full path to the axscript.py. | Top |
|
Posted by
| SteamKnight
USA (17 posts) Bio
|
Date
| Reply #2 on Wed 11 Nov 2009 09:56 PM (UTC) |
Message
|
WillFa said:
Which distro of python did you dl? If It's the ActiveState one, it should Just Work.
If it's the official release from python.org, you'll need to run the axscript.py that's buried a bit down the install tree first.
I haven't touched it in years tho, so I'm sorry that I can't give you the step by step / full path to the axscript.py.
I downloaded Python 2.6.4 from the official website and installed it on my computer, but should I reinstall it to run the axscript.py? Or can I just hit the axscript.py now? And where do I run it from?
(God, I'm sorry for all the questions. I feel like an idiot for asking.) | Top |
|
Posted by
| Twisol
USA (2,257 posts) Bio
|
Date
| Reply #3 on Wed 11 Nov 2009 09:58 PM (UTC) |
Message
| It can be a bit of a hassle to set up the other engines properly. Don't feel bad. :) |
'Soludra' on Achaea
Blog: http://jonathan.com/
GitHub: http://github.com/Twisol | Top |
|
Posted by
| WillFa
USA (525 posts) Bio
|
Date
| Reply #4 on Wed 11 Nov 2009 10:36 PM (UTC) |
Message
| Just double click the axscript.py (it's somewhere under \python2.6.4\lib...) and restart MC.
| Top |
|
Posted by
| SteamKnight
USA (17 posts) Bio
|
Date
| Reply #5 on Wed 11 Nov 2009 11:03 PM (UTC) Amended on Wed 11 Nov 2009 11:04 PM (UTC) by SteamKnight
|
Message
| Um, I'm looking at \Lib right now, and I'm not seeing a thing. Here's a link to my python26 file:
http://www.mediafire.com/?wyvmt0mwgin (copy and paste)
If someone would be able to tell me where to go, and what file to access from where, I'd be very happy. | Top |
|
Posted by
| SteamKnight
USA (17 posts) Bio
|
Date
| Reply #6 on Thu 12 Nov 2009 12:01 AM (UTC) |
Message
| Look, I apologize for making such a fuss about this, but it's either get the Achaean Python script into MUSHclient or shell out 30 bucks for zMUD (which every member of my guild seems to have and love)...and quite frankly, MUSHclient has worked for me for the several years that I've been using it. I'd hate to have to switch to something that I'm not sure will work properly. | Top |
|
Posted by
| SteamKnight
USA (17 posts) Bio
|
Date
| Reply #7 on Thu 12 Nov 2009 12:25 AM (UTC) |
Message
| Reposting the url (copy and paste):
http://www.mediafire.com/file/wyvmt0mwgin/Python26.zip
I'd seriously appreciate someone just looking through the file and seeing what the heck I need to do, because, as I've been saying, I'm lost. | Top |
|
Posted by
| WillFa
USA (525 posts) Bio
|
Date
| Reply #8 on Thu 12 Nov 2009 01:20 AM (UTC) |
Message
| Click Start.
Choose Run... (or press Win+R)
C:\python26\lib\site-package\win32comext\client\pyscript.py --register
(adjust path if you installed somewhere else. If you have errors, make sure the path hasn't changed since version 2.2 in 2002 when I did this)
Restart Mushclient.
If your guild has python installed to use the plugin, they could probably help you better. | Top |
|
Posted by
| SteamKnight
USA (17 posts) Bio
|
Date
| Reply #9 on Thu 12 Nov 2009 03:13 AM (UTC) Amended on Thu 12 Nov 2009 03:17 AM (UTC) by SteamKnight
|
Message
| Okay, I checked the official Python website, and they recommended ActivePython for computers running Windows XP. I'm downloading it now, and I'll post if there's any progress.
EDIT: I'm including the URL to a version of ActivePython that has Win32All, which I believe WillFa was talking about before:
http://www.activestate.com/activepython/ | Top |
|
Posted by
| SteamKnight
USA (17 posts) Bio
|
Date
| Reply #10 on Thu 12 Nov 2009 03:28 AM (UTC) Amended on Thu 12 Nov 2009 03:33 AM (UTC) by SteamKnight
|
Message
| Alrighty.
Things seem to be coming together a lot more smoothly than before...now if it could only just load the...
Rats.
Error number: -2147352567
Event: Execution of line 35 column 0
Description: Traceback (most recent call last):
File "<Script Block >", line 35, in <module>
__version__ = "-- Revision: 6.9c - %s$" % (string.upper(world.GetVariable("Name")))
File "C:\Python26\Lib\string.py", line 235, in upper
return s.upper()
AttributeError: 'NoneType' object has no attribute 'upper'
Line in error:
__version__ = "-- Revision: 6.9c - %s$" % (string.upper(world.GetVariable("Name")))
Called by: Immediate execution
I think the problem is that...well...darned if I know. I'm going to bed, so if somone could help me out that'd be awesome. I think I've got the client to say, "Dude! What a nice looking Python script you got there!", but there's a few compatibility problems. | Top |
|
Posted by
| David Haley
USA (3,881 posts) Bio
|
Date
| Reply #11 on Thu 12 Nov 2009 03:53 AM (UTC) |
Message
| Maybe you need to have a name (and perhaps later password?) set in the world auto-connect preferences?
It looks like it's trying to access a MUSHclient variable that it expects to find, but isn't able to. |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | Top |
|
Posted by
| Nick Gammon
Australia (23,120 posts) Bio
Forum Administrator |
Date
| Reply #12 on Thu 12 Nov 2009 04:26 AM (UTC) |
Message
| I think David is right, as usual. ;)
It looks like:
has returned a type of 'NoneType object', which is probably because the client variable "Name" does not exist. Then the script tries to convert that to upper case, which it can't do.
So it might be a case of reading the documentation for the plugin, maybe there are variables you need to set up. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Rakon
USA (123 posts) Bio
|
Date
| Reply #13 on Thu 12 Nov 2009 06:25 AM (UTC) |
Message
|
SteamKnight said:
Alrighty.
Things seem to be coming together a lot more smoothly than before...now if it could only just load the...
Rats.
Error number: -2147352567
Event: Execution of line 35 column 0
Description: Traceback (most recent call last):
File "<Script Block >", line 35, in <module>
__version__ = "-- Revision: 6.9c - %s$" % (string.upper(world.GetVariable("Name")))
File "C:\Python26\Lib\string.py", line 235, in upper
return s.upper()
AttributeError: 'NoneType' object has no attribute 'upper'
Line in error:
__version__ = "-- Revision: 6.9c - %s$" % (string.upper(world.GetVariable("Name")))
Called by: Immediate execution
I think the problem is that...well...darned if I know. I'm going to bed, so if somone could help me out that'd be awesome. I think I've got the client to say, "Dude! What a nice looking Python script you got there!", but there's a few compatibility problems.
Hi..It would appear you're using the Achaea/MUSH script of mine.
You would need to follow the instructions that come inside the ZIP file you downloaded. It will explain, in great detail, what you need to do in order to set the system up to function correctly.
IT includes at a minimum:
Where to DL Python at
How to Register Python
Where to DL Win32 python dll at
How to Register the above
Then goes on, to tell you :
'Run the racs_setup alias BEFORE CONNECTING TO ACHAEA'
The current error you're getting, is as Nick and David state: There is no 'name' variable in Mushclient, and so it returnes a NoneType error. By running the racs_setup alias, when you're NOT connected to the world, you will solve this issue as well as many others.
Try it first! Then post your results here. |
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 |
|
Posted by
| SteamKnight
USA (17 posts) Bio
|
Date
| Reply #14 on Thu 12 Nov 2009 06:05 PM (UTC) |
Message
| Okay, I think I've figured out that my MUSHclient only recognizes these DLLs: VBScript, JScript, and PHPScript. No damn idea why, and I'm getting really frustrated with the whole system in general. Rakon, your 'install' file has nothing on where to get Python or how to register it, so you might want to check your files again.
At this point, shelling out thirty bucks for Zmud, a program that most everyone on Iron Realms games seems to use, is starting to sound really good. | 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.
88,010 views.
This is page 1, subject is 2 pages long: 1 2
It is now over 60 days since the last post. This thread is closed.
Refresh page
top