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.
nruddock posted Sat, 16 December 2006 at 3:15 PM
You can safely ignore the original deprecation message, as it only a warning.
Are you getting an error mesage when you make the "whrandom" to "random" change ?
Any clues in the comments in the script as to who wrote it or where you got it from ?
Kalypso posted Sat, 16 December 2006 at 3:37 PM Site Admin
No, I'm afraid there are no clues at all in the script :( I've been trying to trace it's maker for quite some time without any luck. It's called Randomizer.py and I must have first downloaded it in December or January 2003/2004 as it's on my January 2004 Backup disc.
The problem is that I can't ignore it as the script crashes Poser 7 when I run it although it runs fine in P6. I guess I'll keep P6 installed for certain scripts like that.
nruddock posted Sat, 16 December 2006 at 4:00 PM
Does the script have a GUI ?
Is there any indication that the script is redistributable ?
(I probably have it somewhere, but it'll take time to find)
Kalypso posted Sat, 16 December 2006 at 7:39 PM Site Admin
Oops! Do I feel foolish, I've been looking at the wrong script! This one's by Stefan Werner. Here's the info I have:
I can locate ockham through Renderosity but does anyone have a clue what Stefan Werner's name here is?
nruddock posted Sun, 17 December 2006 at 5:49 AM
Quote - I can locate ockham through Renderosity but does anyone have a clue what Stefan Werner's name here is?
It's stewer.
Kalypso posted Sun, 17 December 2006 at 7:44 AM Site Admin
Thank you! I'm familiar with stewer but it never registered that he was Stefan Werner :D