Forum: Poser - OFFICIAL


Subject: "tkinter" errors in Poser8 python with Unimesh Realism Kit. How to fix?

cyberscape opened this issue on Sep 27, 2009 · 6 posts


cyberscape posted Sun, 27 September 2009 at 8:44 PM

Tried finding newer support than 2007 on the Unimesh Realism Kit - not much luck.
I noted that the readme for poser8 warns of a newer Tkinter version for python and to expect errors from older scripts. So... how do I go about fixing this error below....


E:Program Files (x86)Smith MicroPoser 8RuntimePythonlibwhrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
Traceback (most recent call last):
  File "E:Program Files (x86)Smith MicroPoser 8RuntimePythonposerScriptsScriptsMenuFaceOffUnimeshRealismKit.py", line 1566, in ?
    SkinShader = SkinShaderDlg(tk)
  File "E:Program Files (x86)Smith MicroPoser 8RuntimePythonposerScriptsScriptsMenuFaceOffUnimeshRealismKit.py", line 1096, in init
    Label(self.StatusFrame, text='Selected Figure  : ').grid(row=0, col=0, sticky="e")
  File "E:Program Files (x86)Smith MicroPoser 8RuntimePythonliblib-tkTkinter.py", line 1790, in grid_configure
    self.tk.call(
_tkinter.TclError: ambiguous option "-col": must be -column, -columnspan, -in, -ipadx, -ipady, -padx, -pady, -row, -rowspan, or -sticky


The first part is easy... change "whrandom" to "random" near the start of the script. It's the last line that has me confused. Do I actually have to change EVERY instance of 'col' to 'column'? And will this fix the problem or is there something more to it?

My first impression of P8 is... "F@#K YEAH! Firefly finally renders fast! P7 wasn't bad at all but, the new library system is definitely an improvement (though not as pretty)."

------------------------------------------------------------------------------------------------------------- 

AMD FX-9590 4.7ghz 8-core, 32gb of RAM, Win7 64bit, nVidia GeForce GTX 760

PoserPro2012, Photoshop CS4 and Magix Music Maker

--------------------------------------------------------------

...and when the day is dawning...I have to say goodbye...a last look back into...your broken eyes.