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. |