Thu, Nov 28, 4:04 PM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Nov 28 11:20 am)



Subject: TRACE BACK ERROR


marvlin ( ) posted Mon, 23 November 2015 at 4:27 PM ยท edited Thu, 21 November 2024 at 6:47 PM

Hello again ๐Ÿ˜‡

I thought |I had better start a new thread with this one.

The issue I have is quite simple really:

  1. I loaded a G2 figure
  2. I deleted all the lights
  3. I loaded a new light
  4. I changed the light into an area light
  5. A window appeared saying the below and it carried it on saying it LOL

Traceback (most recent call last):

File "/Applications/Poser Pro 2014/Runtime/Python/addons/Reality/init.py", line 732, in refreshRealityData

File "/Applications/Poser Pro 2014/Runtime/Python/addons/Reality/init.py", line 970, in updateSceneData

File "/Applications/Poser Pro 2014/Runtime/Python/addons/Reality/init.py", line 459, in hasLightChanged

File "/Applications/Poser Pro 2014/Runtime/Python/addons/Reality/init.py", line 362, in getLightData

KeyError: 4

For info, I no longer have PP2014 installed.

Any ideas?

i7 5930K 3.60Ghz | ASUS X99-S Motherboard | Crucial Ballistix Sport 32GB DDR4 2400MHz RAM | NVIDIA TitanX | Antec 1000w Power supply | Windows 10 x64 Home


PhilC ( ) posted Mon, 23 November 2015 at 5:05 PM

I have found that PYC files have the path hard coded into them. That is the path to the file on the computer that they were compiled on not the path on the computer that they are run on.

At least I have found this in relation to some Wardrobe Wizard files, others may be similar.


marvlin ( ) posted Tue, 24 November 2015 at 12:00 AM

PhilC posted at 5:59AM Tue, 24 November 2015 - #4240573

I have found that PYC files have the path hard coded into them. That is the path to the file on the computer that they were compiled on not the path on the computer that they are run on.

At least I have found this in relation to some Wardrobe Wizard files, others may be similar.

So this could be that I have not loaded the lights and indeed content to the default location favoured by the installer?

i7 5930K 3.60Ghz | ASUS X99-S Motherboard | Crucial Ballistix Sport 32GB DDR4 2400MHz RAM | NVIDIA TitanX | Antec 1000w Power supply | Windows 10 x64 Home


PhilC ( ) posted Tue, 24 November 2015 at 8:16 AM

It is probably best to install the files as the writer of the program intended rather than to some other arbitrary location.


hborre ( ) posted Tue, 24 November 2015 at 8:32 AM

Which would mean that if you change file locations you will need to edit the PYC script to reflect those changes.


marvlin ( ) posted Tue, 24 November 2015 at 11:40 AM

Hmm okay.

It just seems a bit short sighted of Smith Micro not to consider this issue.

The area light is a new function bundled with P11P.

As part of the installation process it gives you the option to install your content elsewhere.

Yet when you do the area lights stop working.

If this is the case then the installer should say that if you choose to install your content elsewhere then you can forget using area lights unless you start editing the scripts LOL.

Where would I find the pyc script for the lights so I can edit them ๐Ÿ˜‡

Thanks again for the help on this guys

i7 5930K 3.60Ghz | ASUS X99-S Motherboard | Crucial Ballistix Sport 32GB DDR4 2400MHz RAM | NVIDIA TitanX | Antec 1000w Power supply | Windows 10 x64 Home


Malysse ( ) posted Tue, 24 November 2015 at 2:01 PM

Content Advisory! This message contains profanity

I'm going to step in here even though I hate this fucking useless forum because i don't like to see SM maligned unfairly.

The advice you've been given above is nonsense.

Everything is installed in the right place. There is no .pyc script for the lights. You can't edit a .pyc script anyway.

The problem is that you've added the PP2014 runtime to your P11 installation, and the PP2014 runtime includes a (properly) installed version of the Reality addon that is incompatible with some of the new features in Poser 11, such as the new area lights. Reality is choking when trying to process a type of light it knows nothing about.

There is an update to Reality which makes it compatible with P11 on its way soon - you should have been notified about that. In the meantime, remove Reality from the PP2014 runtime, or don't link to that PP2014 runtime from within P11. Then get the updated Reality when it's available.


marvlin ( ) posted Tue, 24 November 2015 at 2:38 PM ยท edited Wed, 25 November 2015 at 2:11 PM

Content Advisory! This message contains profanity

Malysse posted at 8:37PM Tue, 24 November 2015 - #4240721

I'm going to step in here even though I hate this fucking useless forum because i don't like to see SM maligned unfairly.

The advice you've been given above is nonsense.

Everything is installed in the right place. There is no .pyc script for the lights. You can't edit a .pyc script anyway.

The problem is that you've added the PP2014 runtime to your P11 installation, and the PP2014 runtime includes a (properly) installed version of the Reality addon that is incompatible with some of the new features in Poser 11, such as the new area lights. Reality is choking when trying to process a type of light it knows nothing about.

There is an update to Reality which makes it compatible with P11 on its way soon - you should have been notified about that. In the meantime, remove Reality from the PP2014 runtime, or don't link to that PP2014 runtime from within P11. Then get the updated Reality when it's available.

Hmm, makes sense. I'll pop over to the reality website and see when the next update is.

Thanks for the help albeit a little strongly worded LOL

i7 5930K 3.60Ghz | ASUS X99-S Motherboard | Crucial Ballistix Sport 32GB DDR4 2400MHz RAM | NVIDIA TitanX | Antec 1000w Power supply | Windows 10 x64 Home


marvlin ( ) posted Tue, 24 November 2015 at 3:09 PM

Just by way of completing this thread it does appear that the reality issue was the problem. The files were located on my C drive in the old content folder. I've just manually removed then and the problem has gone.

With the benefit of hind sight It might have helped had I mentioned that I had reality installed so apologies for not doing so.

Thanks all once again.

i7 5930K 3.60Ghz | ASUS X99-S Motherboard | Crucial Ballistix Sport 32GB DDR4 2400MHz RAM | NVIDIA TitanX | Antec 1000w Power supply | Windows 10 x64 Home


bevans84 ( ) posted Wed, 25 November 2015 at 9:22 AM

I'm more curious as to why Pro11 is reading an addon installed in the 2014 runtime, or why Reality shows up under Render in Pro11. Shoot, it will even open if you click on it.



marvlin ( ) posted Wed, 25 November 2015 at 11:25 AM

bevans84 posted at 5:23PM Wed, 25 November 2015 - #4240874

I'm more curious as to why Pro11 is reading an addon installed in the 2014 runtime, or why Reality shows up under Render in Pro11. Shoot, it will even open if you click on it.

From what I can gather it is because I had imported the 2014 runtime library into my Pro11 application.

i7 5930K 3.60Ghz | ASUS X99-S Motherboard | Crucial Ballistix Sport 32GB DDR4 2400MHz RAM | NVIDIA TitanX | Antec 1000w Power supply | Windows 10 x64 Home


nerd ( ) posted Wed, 25 November 2015 at 11:38 AM
Forum Moderator

You can add your 2014 runtime, just make sure you remove the "Python" folder. You will end up with duplicated and as with this case out dated scripts. You should add any add-ons such as Reality to the new location following the authors steps.


marvlin ( ) posted Wed, 25 November 2015 at 1:54 PM

nerd posted at 7:52PM Wed, 25 November 2015 - #4240900

You can add your 2014 runtime, just make sure you remove the "Python" folder. You will end up with duplicated and as with this case out dated scripts. You should add any add-ons such as Reality to the new location following the authors steps.

Now, I didn't know that. I've just been through my old runtimes and deleted all the python folders LOL.

I had python folders going back to poser 8

i7 5930K 3.60Ghz | ASUS X99-S Motherboard | Crucial Ballistix Sport 32GB DDR4 2400MHz RAM | NVIDIA TitanX | Antec 1000w Power supply | Windows 10 x64 Home


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.