spyder97526 opened this issue on Sep 11, 2006 · 3 posts
spyder97526 posted Mon, 11 September 2006 at 4:51 AM
Hi all, I'm having some probs with the programs that I used to use in P5, but when I try to load them in P6, it either shuts P6 down or tanks the Python scripting.
I am trying to use Morphos, Mimic and the Enviroment Creator, (Not all at the same time) but when I try to load the python scripts I cant get them to work.
Anyone know wher eI can an answer on how to get them to load properly so I can use them, or do I have to stick to P5 in order to use them?
Thanks!
PhilC posted Mon, 11 September 2006 at 5:17 AM
Are they installed within your Poser 6 runtime? You will not generally be able to run scripts located in your Poser 5 directories from Poser 6.
What python error messages are you getting? If you high light the text then Ctrl+C you can copy the text.
Sometimes Poser "forgets" where it has installed its Python folder. If this is the case the error mesages will give some indication. The cure is to reinstall Poser 6 plus service releases.
Do any of the scripts have Poser 5 file paths hard coded into them? If so they may need to be edited.
Thats all I can think of off the top of my head :)
spyder97526 posted Mon, 11 September 2006 at 4:15 PM
Thanks for replying Phil,
I try to install the MorphosINSTALL.py, and I get this message in return:
'Unable to install Morphos. (No free slots in MainButtons.py!'
I read how to free up the buttons in the python menu, and even when I release all of them to the ... stage, then load the install.py into the menu, and attempt to install that way - I get the same message.
So I try to load up Morphos to run it in in case it actually installed it and I get this message:
'Traceback (most recent call last):
File "
File "
File "
AttributeError: 'NoneType' object has no attribute 'ActorByInternalName'
Not knowing anything about python other than it does cool stuff - I have NO friggin clue what that ^ is! lol
I use Ctrl+click to edit the python, and I see the install has these lines:
def InstallMorphos():
try:
FilePath = os.path.join("Runtime", "Python", "poserScripts", "mainButtons.py")
File = open(FilePath, "r")
FileLines = File.readlines()
File.close()
except:
print "Unable to open MainButtons.py - please ensure this script is running from the Poser4 directory"
return
Dunno if that helps or not....
Then I try to install the Environment Creator 2, and on the install, its telling me I need some buttons free....Then after I try to exit the install after it fails, my morphos opens the figure windows I tried to open earlier when I thought it might have installed...
Is my Poser possessed?? LOL
Hrm..just took a look at something - should my python scripts be installed in the 'poserScripts' folder? I click one of the empty ... buttons to install a .py, and that folder is the one that opens, not the Python folder.