Chaos Corona Forum

General Category => Porting and API => Chaos Corona for Blender => Topic started by: andrasbort on 2017-04-09, 22:08:45

Title: problem activate blender corona exporter
Post by: andrasbort on 2017-04-09, 22:08:45
Hi,
i have a problem with activated addon blender exporter (v.5 On Blender 2.78c).

When i check the activated button Blender shows me this error:

line 84 in register
if hasattr(bpy.types.PHYSICS_PT_add, 'COMPAT_ENGINES'):
AttributeError:'RNA-Types' object has no attribute 'PHYSICS_PT_add'


i didn't see this problem on other post....

What is the problem?

Thanks
Title: Re: problem activate blender corona exporter
Post by: blanchg on 2017-04-11, 05:42:28
Hi @andrasbort

I can't reproduce your error, trying with v5.1.1 and Blender 2.78c

I tried a new install of Blender too just to make sure.

Are you using a special build of Blender?  What Operating System do you have?

Not sure why the PHYSICS_PT_add wouldn't be included as part of the bpy.types, I could put in a check and try to not include it as one of the panels I display but not sure if that is the right solution?

Title: Re: problem activate blender corona exporter
Post by: andrasbort on 2017-04-11, 08:04:40
Hi,
thanks for reply!

I'm not using a special build but official Blender 2.78c version (as administrator) and i use Windows 10 (v.1607) with Blender Corona exporter v5.1.1 also.

Searching in internet nobody seems to have this problem in fact ,very strange!

It's loaded menu in Blender but addon doesn't activated...

Blender error complete shows also:

script/modules/addon_utils.py line 349 in enable mod.register()

If i try yet Blender shows other errors:

1. _init_.py in line 5 and 64

2. camera.py in line 103

i attached an image of this errors...


Thanks

Title: Re: problem activate blender corona exporter
Post by: blanchg on 2017-04-11, 21:54:27
Do you have more than one version of the exporter?
Title: Re: problem activate blender corona exporter
Post by: andrasbort on 2017-04-12, 07:34:08
No, this error occurred as soon as I installed the first time and i checked it but there aren't other version of exporter!

However i have noticed that i have two folder for scripts in Blender: once in C:\Program files\Blender Foundation\....
and once in Roaming folder: these folders have different addons...Is it normal?

Thanks
Title: Re: problem activate blender corona exporter
Post by: blanchg on 2017-04-17, 22:46:18
Can you post the full log you can toggle the console under the window menu.

Is the exporter in both locations? Program files and roaming?
Title: Re: problem activate blender corona exporter
Post by: andrasbort on 2017-04-18, 10:19:12
The exporter is in only one location...i wanted to know if it's normal that there are two folders for scripts!

I attached full log of error....

Thanks!
Title: Re: problem activate blender corona exporter
Post by: burnin on 2017-04-18, 15:00:30
yes, two script locations are perfectly normal for Blender (root & roaming)
if two (same) addons are recognized as activated, you'll get a warning in console and on addon list

eg.
in Console
(http://i.imgur.com/3VDrmqp.jpg)

in Addons
(http://i.imgur.com/PQZnANz.jpg)
Title: Re: problem activate blender corona exporter
Post by: blanchg on 2017-04-18, 23:25:04
v5.1.4 was released to fix this issue.

Though it likely means you don't have the physics panel that was in Blender 2.78 for some reason?
Title: Re: problem activate blender corona exporter
Post by: andrasbort on 2017-04-20, 10:47:48
Hi,
thanks for all replies!!

I installed new version 5.1.4 but Blender shows me other errors yet....aaaargh! (I attached system console message error).

I don't understand...I have Physics panel in Blender....

Title: Re: problem activate blender corona exporter
Post by: blanchg on 2017-04-20, 11:16:28
You definitely have more than one version of the exporter installed. Check your add-ons directories.
Title: Re: problem activate blender corona exporter
Post by: andrasbort on 2017-04-20, 12:54:43
Ok!!!!

I disinstalled corona exporter plugin, restarted Blender and now....it works!

Finally....

Thanks a lot!