Forum Moderators: nerd Forum Coordinators: nerd
Poser 12 F.A.Q (Last Updated: 2025 Jan 20 8:00 pm)
Welcome to the Poser Forums! Need help with these versions, advice on upgrading? Etc...you've arrived at the right place!
Looking for Poser Tutorials? Find those HERE
Did you remove the corresponding directory, under "Runtime:Python:addons" (I mean: the "Runtime" folder in which the executable is located)?
𝒫𝒽𝓎𝓁
(っ◔◡◔)っ
👿 Win11 on i9-13900K@5GHz, 64GB, RoG Strix B760F Gamng, Asus Tuf Gaming RTX 4070 OC Edition, 1 TB SSD, 6+4+8TB HD
👿 Mac Mini M2, Sequoia 15.2, 16GB, 500GB SSD
👿 Nas 10TB
👿 Poser 13 and soon 14 ❤️
did you install it for p12 - or for a different version of Poser? Have you checked the poserStartup.py script ?
you will find a couple of lines in there which say :
_loadAddons(runtimeRoot)
for runtimePath in poser.Libraries():
_loadAddons(runtimePath)
try editing them to read :
_loadAddons(runtimeRoot)
for runtimePath in poser.Libraries():
if not "dson" in runtimePath:
_loadAddons(runtimePath)
Locked Out
structure posted at 5:37PM Thu, 10 December 2020 - #4406982
did you install it for p12 - or for a different version of Poser? Have you checked the poserStartup.py script ?
you will find a couple of lines in there which say :
_loadAddons(runtimeRoot) for runtimePath in poser.Libraries(): _loadAddons(runtimePath)
try editing them to read :
_loadAddons(runtimeRoot) for runtimePath in poser.Libraries(): if not "dson" in runtimePath: _loadAddons(runtimePath)
Hi thanks for the reply tried that does not work same error appears
Hi guys problem solved added the line if not "dson" in runtimePath: After the lines try: addonpath = os.path.join(runtimeRoot, "Runtime", "Python", "addons") sys.path.append(addonpath) for addon in os.listdir(addonpath): fullpath = os.path.join(addonpath, addon) if "Kinect" in fullpath:
in the poserStartup.py
Thanks for your suggestions and help
Al
OK. I did the Structure addon and the Firecircle edit. I still get the same error message.
I don't know anything about writing code. I had to get a code writing program in order to complete these two steps. I don't think that when I buy a program, I should have to learn code and be able to edit the program in order to be able to effectively use it. You should make the correction yourself and issue and update. And you shouldn't release a program before it has been thoroughly tested. Was it really a good idea to edit Python if it made dson unusable. I was hoping that you were working towards a product more compatible with genesis characters. OK. Now, I have to figure out how to deal with the Lights issue.
malcolm474 posted at 8:08PM Thu, 31 December 2020 - #4409084
OK. I did the Structure addon and the Firecircle edit. I still get the same error message.
I don't know anything about writing code. I had to get a code writing program in order to complete these two steps. I don't think that when I buy a program, I should have to learn code and be able to edit the program in order to be able to effectively use it. You should make the correction yourself and issue and update. And you shouldn't release a program before it has been thoroughly tested. Was it really a good idea to edit Python if it made dson unusable. I was hoping that you were working towards a product more compatible with genesis characters. OK. Now, I have to figure out how to deal with the Lights issue.
About dson: I haven't checked dson's install routine, but I've seen that in other programs: you may install them twice, even more, but only one uninstall routines remains. That's weird. I don't know if that's the case for dson, but if you installed it for a previous Poser version, and re-installed it for Poser 12, you can't be sure that the uninstall routine removed the previous or Poser 12's installed version.
That's why you should take a look at Poser 12's "runtime:python:addons" folder, under Poser 12's executable folder, and if it's till there, delete it.
About the Lights issue: which one are you talking about? I mean: there are: the problem with infinite lights' shadows (it must be fixed in a next release), the fact that there are new default lights, the double-click behavior with lights?
𝒫𝒽𝓎𝓁
(っ◔◡◔)っ
👿 Win11 on i9-13900K@5GHz, 64GB, RoG Strix B760F Gamng, Asus Tuf Gaming RTX 4070 OC Edition, 1 TB SSD, 6+4+8TB HD
👿 Mac Mini M2, Sequoia 15.2, 16GB, 500GB SSD
👿 Nas 10TB
👿 Poser 13 and soon 14 ❤️
Well, I didn't actually uninstall dson. So now I have and the problem has been solved. Tada. Sorry. The light issue was that light sets accumulated without replacing the old light set. Now, I am hitting the replace button in library. Actually, I don't mind doing that. So, I'm OK. Find somebody else who's ranting and raving. Thank you.
Sorry to raise this zombie, but I have driven myself nuttier trying to implement this very simple code change. I get nothing but indentation error messages when I try the original modification and the proposed modification. I feel like my head is full of cotton and I'm not thinking clearly, but I'm sober, so that's a bit less likely than otherwise.
(And just to pour acid on my wounds, I just discovered that my own simplistic Shadow Camera Rename freebie now is flagged for syntax errors, so the syntax must have changed as well. Python has got me in a stranglehold and is starting to squeeze. I might as well be a dead parrot for all that I'm accomplishing.)
Thalek posted at 3:44 AM Tue, 3 May 2022 - #4438060
Indentation errors are usually caused by conflicting tabs and spaces at the beginning of lines,Sorry to raise this zombie, but I have driven myself nuttier trying to implement this very simple code change. I get nothing but indentation error messages when I try the original modification and the proposed modification. I feel like my head is full of cotton and I'm not thinking clearly, but I'm sober, so that's a bit less likely than otherwise.
(And just to pour acid on my wounds, I just discovered that my own simplistic Shadow Camera Rename freebie now is flagged for syntax errors, so the syntax must have changed as well. Python has got me in a stranglehold and is starting to squeeze. I might as well be a dead parrot for all that I'm accomplishing.)
Syntax has changed in python 3 - you would need to post the code here for us to be able to assist you with it.
however if the syntax error is a print command...
new syntax is :
print("text here")
printable items MUST be in brackets
Locked Out
I do believe that you've hit upon my problem: Notepad2 apparently defaults to Tabs as Spaces. I'll check that out in a little while.
And at least part of the problem has been solved with the print statements: Nope, they weren't in brackets or parentheses. Of course, now, it doesn't like how I handled printing variables.
You offer to assist with the code is most gracious, and I humbly and desperately accept: I learned just barely enough Python to write the tools (Shadow Cam lister, and Shadow Cam renamer), and then promptly forgot everything I learned.
# script to set all Shadow Cam names to the
# same name as the light it works with.
import poser
scene = poser.Scene()
def main():
for actor in scene.Actors() :
if actor.IsLight() :
kid = actor.Children()
for cam in kid:
if cam.IsCamera():
vu = cam.Name()
cam.SetName(actor.Name())
print ('%s renamed to %s.') % (vu, actor.Name())
break
main()
print ('\n Renaming completed.')
This is about the line
print ('%s renamed to %s.') % (vu, actor.Name())
the correct ways, still Python2-compatible, are:
print ('%s renamed to %s.' % (vu, actor.Name()))
or:
print ('%s renamed to %s.'.format(vu, actor.Name()))
Starting with Python3, the most efficient way is:
print (f'{vu} renamed to {actor.Name()}.')
note the "f" before the string to print, and the fact that your variables and python calls are between {....}
I find this more easy to read, as I precisely know what will appear where.
𝒫𝒽𝓎𝓁
(っ◔◡◔)っ
👿 Win11 on i9-13900K@5GHz, 64GB, RoG Strix B760F Gamng, Asus Tuf Gaming RTX 4070 OC Edition, 1 TB SSD, 6+4+8TB HD
👿 Mac Mini M2, Sequoia 15.2, 16GB, 500GB SSD
👿 Nas 10TB
👿 Poser 13 and soon 14 ❤️
Tested :
Locked Out
Odd that you didn't get a syntax error; I did. At any rate, removing the word "break" fixed my problem, and it's working again in Poser 12, for which I thank you and Y-Phil.
Please tell me that all of these changes and breakages of older scripts are actually worth it to those who code in Python regularly, because it's pretty frustrating to me. Presumably to the others who had scripts die and can't fix them, too.
At any rate, as Chromestar quipped, "One down, millions to go".
Since we don't have any control on Python's evolution, we're doing our best to upgrade the script we can work on, such as SnarlyGribbly's
𝒫𝒽𝓎𝓁
(っ◔◡◔)っ
👿 Win11 on i9-13900K@5GHz, 64GB, RoG Strix B760F Gamng, Asus Tuf Gaming RTX 4070 OC Edition, 1 TB SSD, 6+4+8TB HD
👿 Mac Mini M2, Sequoia 15.2, 16GB, 500GB SSD
👿 Nas 10TB
👿 Poser 13 and soon 14 ❤️
Python 2 reached EOL on Jan 1 2020.
that being the case, in order for poser to stay relevant, it needed to upgrade to a version of python which is maintained.
Is it worth it? That is a subjective question. I have seen people type that python 2 is much preferred and more people use it. That might be true, but for coders, pushing boundaries, getting the most out of your software, and moving forward is always a good thing. (again that's my opinion - subjective.)
Locked Out
Is it worth it? That is a subjective question. I have seen people type that python 2 is much preferred and more people use it. That might be true, but for coders, pushing boundaries, getting the most out of your software, and moving forward is always a good thing. (again that's my opinion - subjective.)
And I share your point of view.
𝒫𝒽𝓎𝓁
(っ◔◡◔)っ
👿 Win11 on i9-13900K@5GHz, 64GB, RoG Strix B760F Gamng, Asus Tuf Gaming RTX 4070 OC Edition, 1 TB SSD, 6+4+8TB HD
👿 Mac Mini M2, Sequoia 15.2, 16GB, 500GB SSD
👿 Nas 10TB
👿 Poser 13 and soon 14 ❤️
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.
Being naive i installed dson before it became common knoledge that it no longer works. I have since uninstaled it but now every time i start poser this message appears: An error occurred importing addon dson : ERROR: DLL load failed: The specified module could not be found If anyone knows where to find the dson remnants and delete them i would be much obliged The window this appears in is titled main Wacros