grichter opened this issue on Feb 20, 2010 · 5 posts
grichter posted Sat, 20 February 2010 at 8:39 AM
Have an old script written in 2003 by Ajax called SavePose. it makes a call to
import SimpleDialog.
I can find the file SimpleDialog.py in my copy of Poser6 under Runtime:Python:lib:lib-tk:
The script worked all the way up to P7 and PoserPro. Now it does not work under P8 or PoserPro2010. I assume under P8 or PoserPro2010 it is looking for these libs files elsewhere or outside the Poser runtime environment on my hard drive or should I just copy the lib file from Poser 6 and throw it in Poser8 and PoserPro2010?
Thanks in advance for any help
Gary
Gary
"Those who lose themselves in a passion lose less than those who lose their passion"
Dizzi posted Sat, 20 February 2010 at 9:27 AM
The script is working fine for me with Poser Pro 2010 on Windows.
grichter posted Sat, 20 February 2010 at 9:34 AM
Well I assume it is a Mac thing then. Need to find out where it is looking for simpledialog and glob so I can place them there.
Dumb question even if you are on windows. Is there a folder named lib in your runtime:Python folder in PoserPro 2010?
Gary
"Those who lose themselves in a passion lose less than those who lose their passion"
Dizzi posted Sat, 20 February 2010 at 9:37 AM
Yes, it's there. And Simpledialog.py is in runtime:python:lib:lib-tk.
grichter posted Sat, 20 February 2010 at 9:44 AM
Thanks. I took a leep and copied and moved it there and it now the script doesn't crash
Gary
"Those who lose themselves in a passion lose less than those who lose their passion"