Forum: Poser Python Scripting


Subject: python and poser 4 HELP

DarkElegance opened this issue on Jun 11, 2003 ยท 9 posts


DarkElegance posted Wed, 11 June 2003 at 11:47 AM

ok I have a few python scripts for light. I have gotten a couple here at free stuff but I cant seem to get one that is a light utility to work. it is for a light panel and when I click it ...nothing happens. from the thumb nail that was shown it seems a light panel window was suppose to show but I get nothing. the only python script I really used befor this was to delet all lights. that works but...I cant seem to get anything else to work. HELP

https://www.darkelegance.co.uk/



Commission Closed till 2025



ockham posted Wed, 11 June 2003 at 2:31 PM

Are you using PC or Mac? The Mac requires special attention to run the more complex Python scripts that have "panels". On a PC, you should get at least an error message; I'm a bit puzzled by the fact that nothing at all happens!

My python page
My ShareCG freebies


DarkElegance posted Wed, 11 June 2003 at 3:02 PM

I have a pc and nothing not an error window nothing

https://www.darkelegance.co.uk/



Commission Closed till 2025



ockham posted Wed, 11 June 2003 at 4:10 PM

Are you using my script "LightPanel2.py" ?

My python page
My ShareCG freebies


DarkElegance posted Wed, 11 June 2003 at 5:31 PM

http://www.renderosity.com/freestuff.ez?Topsectionid=1&Form.SortOrder=UserName&Start=25&Sectionid=6 it is the one on that page, third row down. it is by Ocknam but my script doesnt have a 2 on it.

https://www.darkelegance.co.uk/



Commission Closed till 2025



ockham posted Wed, 11 June 2003 at 9:11 PM

Attached Link: http://ockhamsbungalow.com/Python/Lightpanel2.zip

Try downloading again. I remember fixing a fairly serious bug in that script, but I don't know if that's where your problem is. To be sure we're talking about the same thing, here's a direct link.

My python page
My ShareCG freebies


DarkElegance posted Wed, 11 June 2003 at 11:55 PM

ok I dled that one from the link it still didnt have a 2 on the name but I installed it and just tried it and nothing..no error window no nothing it acts as if I didnt even click it I have the other python set that has the local lights and delet lights and that one Iuse all the time but for some reason I cant get this other one to work actually I cant get most of them to work I guess if they are suppose to open a window or panel or something

https://www.darkelegance.co.uk/



Commission Closed till 2025



DarkElegance posted Thu, 12 June 2003 at 12:04 AM

ok I dont know if this helps I have something I got from the python thingy. it has a browse on it to look for phython scripts I ran it it located some in the poser file {some not all} but whenI clicked on them it said something about not finding a module named poser?

https://www.darkelegance.co.uk/



Commission Closed till 2025



ockham posted Thu, 12 June 2003 at 10:47 AM

I suspect there is something missing in your system, but I can't tell what it is. A couple of hints: if you mean that you picked up an interpreter from Python.Org website, don't worry about what it says. Using scripts INSIDE Poser is a very different matter from using Python in a more general way, and the info from Python.Org doesn't fit very well. The bit about not finding a "module named poser" is also meaningless. All of our Poser scripts begin with the statement "import poser" which picks up necessary information from inside Poser itself. More importantly, let's look at your Poser version. Some of the earlier sub-versions of Propack did not handle Python well. Hit the Help menu in Poser and click "About" to get the full version information. You should see 4.2.1.179 for the last version of ProPack. If your Poser version is before that, you should go to Curious Labs and download the last one. Even if you do have the latest, it might be worthwhile to run a fresh download and install anyway, because I think you may have some missing files in the Poser directory.

My python page
My ShareCG freebies