Tue, Dec 24, 11:21 AM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Dec 23 7:38 pm)



Subject: WTF did Smith Micro do to Poser?


cujoe_da_man ( ) posted Sun, 03 January 2010 at 3:20 PM · edited Tue, 24 December 2024 at 11:08 AM

Well, if any of you have been following my recent posts, I've been having quite a few issues with this SR3 update.

"Can't Find Poser 7 error"
http://www.renderosity.com/mod/forumpro/showthread.php?thread_id=2790421

"Missing File Icons"
http://www.renderosity.com/mod/forumpro/showthread.php?thread_id=2791276

And so now my Python scripts refuse to work.  All of my python scripts come up with a similar error, is there anything I can do before I go and delete the entire thing and start over from scratch?

The one I use the most and the most important of all I use is the Unimesh Realism Kit.  When I try to run it, I get this:

C:Program Filese frontierPoser 7RuntimePythonlibwhrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
Traceback (most recent call last):
  File "C:Program Filese frontierPoser 7RuntimePythonposerScriptsWacrosUserDefinedUnimeshRealismKit.py", line 1566, in ?
    SkinShader = SkinShaderDlg(tk)
  File "C:Program Filese frontierPoser 7RuntimePythonposerScriptsWacrosUserDefinedUnimeshRealismKit.py", line 1096, in init
    Label(self.StatusFrame, text='Selected Figure  : ').grid(row=0, col=0, sticky="e")
  File "C:Program Filese frontierPoser 7RuntimePythonliblib-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

I haven't had this many problems at one time until the SR3 update and if I had the money, I'd skip all this BS and go to Poser 8, like I wanted to anyway.


FrankT ( ) posted Sun, 03 January 2010 at 3:31 PM · edited Sun, 03 January 2010 at 3:38 PM

Quote - tkinter.TclError: ambiguous option "-col": must be -column, -columnspan, -in, -ipadx, -ipady, -padx, -pady, -row, -rowspan, or -sticky

That would be the problem.  The script is using -col but it should be -column

There's a few threads in the Poser Python Scripting forum about this I believe (either that or the Poser Technical forum.)

You need to edit the .py script and replace any -col with -column I think

My Freebies
Buy stuff on RedBubble


PhilC ( ) posted Sun, 03 January 2010 at 3:36 PM

Poser 7 uses a later version of Python to Poser 6. The error messages are informing you that  your scripts need updating. Best check with the scripts author to see if an later version is available.


hborre ( ) posted Sun, 03 January 2010 at 6:13 PM

The workaround from the vendor's website forum is to change -col to -column as FrankT indicated.  I ran into that similar problem myself using Poser 7.


cujoe_da_man ( ) posted Mon, 04 January 2010 at 12:05 AM

thanks everyone, I'm going to look into fixing that, but my question is, why did this happen in the first place?  the SR3 update shouldn't be going and changing things inside Python scripts, they're separate from Poser


seachnasaigh ( ) posted Mon, 04 January 2010 at 12:31 AM

It's the version of Python itself which has changed, nothing was done to your aftermarket scripts.
But your aftermarket scripts were written for the older version of Python, and they don't meet the new protocol.

Poser 12, in feet.  

OSes:  Win7Prox64, Win7Ultx64

Silo Pro 2.5.6 64bit, Vue Infinite 2014.7, Genetica 4.0 Studio, UV Mapper Pro, UV Layout Pro, PhotoImpact X3, GIF Animator 5


PhilC ( ) posted Mon, 04 January 2010 at 12:32 AM

It didn't.

If you are sure that these scripts worked in Poser 7 prior to to installing the service release we would need to backtrack and see the exact history of all that you did regarding your Poser 7 installation. For example I have known folks copy their entire Poser 6 runtime folder into their Poser 7 directory. This would include the now outdated Poser 6 version of Python. Exactly what would and would not work is going to be difficult to ascertain. Suffice to say that if you are only getting these error messages now it is because you have an up to date, correctly formatted Poser 7 installation and you will need to bring those scripts up to date too.


cujoe_da_man ( ) posted Mon, 04 January 2010 at 12:48 AM · edited Mon, 04 January 2010 at 12:48 AM

ok, so I went looking for a script editor and all I'm finding are "how to" instead of actual programs, is this going to be a "notepad" type of edit?


Adom ( ) posted Mon, 04 January 2010 at 12:57 AM

You can use notepad if you want.

I use notepad++.


cujoe_da_man ( ) posted Mon, 04 January 2010 at 1:05 AM · edited Mon, 04 January 2010 at 1:09 AM

yep, I just tried it myself and it worked just fine, now to find the offending problem...

edit looking... looking... I don't find -col anywhere


PhilC ( ) posted Mon, 04 January 2010 at 1:09 AM

There are any number of word processing application out there tailor made to edit scripts but yes notepad will work.

Python comes with its own built in editor, you'll find it in
Poser 7RuntimePythonLibidlelibidle.pyw

You may need to run that independent of Poser though so for what you are doing here I suggest to just go with Notepad.


cujoe_da_man ( ) posted Mon, 04 January 2010 at 1:14 AM

ok, so it doesn't list -col, it's actually just col... if that's the right one, example:

self.DiffuseFrame.grid(row=0,col=0,sticky="ns")

That should be the col I'm looking for and need to change to column... right?

Or should I just contact the author and hope that this is something he'd be willing to fix?  After all, we all know no one uses V3 anymore rolls eyes


cujoe_da_man ( ) posted Mon, 04 January 2010 at 1:31 AM

ok, so I think I got it, went in and replaced "col=" with "column=" and it seems to be ok, but now I'm getting that stupid "locate Poser 7" error again... I think I'm just going to delete the damn thing and reinstall it without the SR3 update, it's obviously running better without it...


TrekkieGrrrl ( ) posted Mon, 04 January 2010 at 7:06 AM

 When are you getting the Locate Poser 7 error?

It kinda seems like there's something not being updated properly in the registry. Doubt that's SR3's fault though or the forum would be filled with people complaining .. and I can't remember ever having heard of that before, nor did it happen when I installed SR3 myself.

FREEBIES! | My Gallery | My Store | My FB | Tumblr |
You just can't put the words "Poserites" and "happy" in the same sentence - didn't you know that? LaurieA
  Using Poser since 2002. Currently at Version 11.1 - Win 10.



hborre ( ) posted Mon, 04 January 2010 at 9:57 AM

I'm with Trekkiegrrrl, I didn't have this problem when I installed SR3 for P7.  Everything carried over. 

BTW:  You would still encounter the same problem upgrading to P8.  I would strongely recommend searching Face_off's site for other solutions.  Or you could switch to Bagginbill's VSSProp for realistic skin shaders which doesn't rely on light settings.


basicwiz ( ) posted Mon, 04 January 2010 at 1:45 PM

SR3 didn't do anything but help my Poser 7 as well.


Rance01 ( ) posted Thu, 07 January 2010 at 10:49 AM

I think SR3 for Poser 7 is pretty important.  I would recommend you DO install it.  I'm pretty sure SR3 fixes a problem with shadows in raytraced images.  I'll have to look because I'm sure I saved the 'before SR3' and 'after SR3' image sets I have.

I too recommend looking into your Windows Registry.  Maybe there's a path statement wrong there.  Like a couple of other posters here I had no problems with the SR3 update - in fact it fixed a number of bugs in Poser 7.  Something might have gone wonky if you moved or copied a runtime.  I would try a re-install before giving up on the SR completely ...

Best Wishes,
Rªnce


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.