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.
hborre posted Sun, 27 September 2009 at 8:47 PM
Yes, you must change every instance of 'Col' to 'Column'. I performed that in PoserPro to correct the problem.
ockham posted Sun, 27 September 2009 at 8:50 PM
Yes, you have to change every instance of "col" to "column"!
If you have a good editor like Wordpad, you should be able to
do a mass search-and-replace. Preferably search for
col=
and replace with
column=
to avoid changing other words like "color".
cyberscape posted Sun, 27 September 2009 at 9:18 PM
'Col' to 'column'... THAT DID IT!!!!!
Thanks a million you guys!
It was really the 'ipady' ,'ipadx' and 'in' stuff that confused me. Wasn't sure if all that needed changing as well. :)
And now I'm off to rewrite Faceoff''s Hyperreal for the new Eva figure! Fun stuff!!!! ;)
-------------------------------------------------------------------------------------------------------------
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.
hborre posted Sun, 27 September 2009 at 10:48 PM
If you are inclined to try it someday, Bagginsbill's VSSProp will give you comparable, if not better, results without recalculating for light settings and rewriting for other character skin textures. The link below will give you an exceptional and extensive overview of how to use this excellent process.
http://www.renderosity.com/mod/forumpro/showthread.php?thread_id=2737823&page=1
ypvs posted Sat, 17 October 2009 at 6:19 AM
Just found this link and done the search and replace. URK now seems to work OK when modifying existing URK MATs but bombs with the same tinkter errors when trying to create new MATs. Any thoughts would be gratefully received. Using Ver 1.3 of URK and Poser 8 SR1
Seems to be more stable when running through Material Room button than Python Script panel
Poser 11 , 180Gb in 8 Runtimes, PaintShop Pro 9
Windows 7 64 bit, Avast AV, Comodo Firewall
Intel Q9550 Quad Core cpu, 16Gb RAM, 250Gb + 250Gb +160Gb HD, GeForce GTX 1060