Forum: Poser Python Scripting


Subject: Poser Python and error mesage

Kalypso opened this issue on Dec 16, 2006 · 7 posts


Kalypso posted Sat, 16 December 2006 at 8:04 AM Site Admin

When trying to run a Randomizer script I have I get this message:

C:Program Filese frontierPoser 7RuntimePythonlibwhrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)

After doing a search I found this thread:  http://www.renderosity.com/mod/forumpro/showthread.php?thread_id=2676377
Face_off says "To get rid of the warning, simply edit the RealskinShader.py file, and change "whrandom" to "random". "  but when I try it on  this script (not the realskin one) it doesn't run at all.   
Can anybody tell me if there is a quick way I can edit it?  I don't remember where I got it from nor does it contain any information on the author in the script or zip file. 

If some python guru had the time to take a look at it I'd really appreciate it.