Fri, Nov 29, 1:57 AM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Nov 29 1:45 am)



Subject: Parmatic message help


Kitt_24 ( ) posted Sun, 12 December 2010 at 1:08 PM · edited Mon, 25 November 2024 at 12:32 PM

I keep receiving this message when i run the updater.

Traceback (most recent call last):
  File "C:Program Filese frontierPoser 7RuntimePythonparmaticparmaticUpdater.py", line 131, in ?
    ParmaticCameraUpdate()
  File "C:Program Filese frontierPoser 7RuntimePythonparmaticparmaticUpdater.py", line 118, in ParmaticCameraUpdate
    for mat in materials:
TypeError: iteration over non-sequence

 

Poser 7 SR3, running on vista ...

I am using a character from RobynsVeil & HeRaZa (lovely Molly Jo) and there are definitely PM nodes in the shaders, yet I get no parameter dials for those nodes after running the updater, etc. I also get that error if I switch from my main camera to another and back again. I'm very puzzled and any help would be so appreciated.

 

p.s. am sort of a newb with matmatic/parmatic, python, etc. so go easy & I might be able to follow along lol....

 

>^..^<
~all knowledge is worth having~


hborre ( ) posted Sun, 12 December 2010 at 2:33 PM

Unless someone else has a better approach, I'd say that you may be having UAC interference with Vista.  I see by your post that Poser 7 is located within your Program Files folder, an installation that many would attest causes problems with any version of Poser.  In this case, I believe Windows is interfering with the python script and blocking any changes to occur within the Program Files folder.  The only recommendation to remedy this problem, relocate or reinstall P7 into it's own folder outside the Vista's PF folder.  That should solve the script problem.  Parmatic script works very well with this character; I had no problems under XP and PoserPro 2010 to install.


Kitt_24 ( ) posted Sun, 12 December 2010 at 2:40 PM

hmm...was wondering about that...I had seen a post somewhere the other day about having poser installed in the program folder...thank you hborre...i was already contemplating a move of all my poser things to a different location and doing some major reorganization in general on my laptop...seems like a perfect time...Thanks for the quick reply!!

>^..^<
~all knowledge is worth having~


RobynsVeil ( ) posted Sun, 12 December 2010 at 3:21 PM

If I remember correctly, we've sort-of run into this issue before. It was covered in this thread. The work-around appears to do the job for the most part. If mucking around with a .py script is too daunting, let me know, and I'll send you the hacked version, Kitt_24.

Monterey/Mint21.x/Win10 - Blender3.x - PP11.3(cm) - Musescore3.6.2

Wir sind gewohnt, daß die Menschen verhöhnen was sie nicht verstehen
[it is clear that humans have contempt for that which they do not understand] 

Metaphor of Chooks


markschum ( ) posted Sun, 12 December 2010 at 5:30 PM

for mat in materials:
TypeError: iteration over non-sequence

This is saying that there are no materials, so the script hots an error.

either dont call the routine, or handle the error. adding an

if mat:

line into the script will skip over the section of code and prevent thr error.


RobynsVeil ( ) posted Sun, 12 December 2010 at 5:36 PM

That thread I mentioned pretty much has the code that needs inserting. However, some people find Python a bit daunting... lol

for actor in scene.Actors():
    if not actor.IsProp():
        continue
    try:
        materials=actor.Materials()
    except:
        continue
    if not materials:
        continue
    for mat in materials:
        ....

Monterey/Mint21.x/Win10 - Blender3.x - PP11.3(cm) - Musescore3.6.2

Wir sind gewohnt, daß die Menschen verhöhnen was sie nicht verstehen
[it is clear that humans have contempt for that which they do not understand] 

Metaphor of Chooks


Kitt_24 ( ) posted Mon, 13 December 2010 at 12:01 PM

Happy Dance! :o) Adding that one line to the code fixed it and I now have the parameter dials & all is working smoothly. Thank you one and all for the help.

RV I love this character she's gorgeous!!! Yay, it seems my forum lurking and reading has paid off somewhat....I learn so much here and all of it well spent reading time. I've also read the stuff on your site about the nodes and such, all of the info here, at RDNA & BBs site have opened up a whole new world in Poser for me...love it!

>^..^<
~all knowledge is worth having~


RobynsVeil ( ) posted Mon, 13 December 2010 at 2:37 PM

You deserve a lot of credit for being curious and being willing to try new things, Kitt.... good ON you. Thank you for the nice words about Molly Jo and about the stuff on the site. All credit for anything halfway intelligent needs to go to Bagginsbill, who taught us all we "know" on here. (Some of it is still filtering in, hence the quotes around the word 'know' :biggrin: )

But yes, spending time reading pretty much anything by BB is time well-spent. 😄

Monterey/Mint21.x/Win10 - Blender3.x - PP11.3(cm) - Musescore3.6.2

Wir sind gewohnt, daß die Menschen verhöhnen was sie nicht verstehen
[it is clear that humans have contempt for that which they do not understand] 

Metaphor of Chooks


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.