PhysicalAddons / physical-starlight-and-atmosphere

issue tracker
16 stars 2 forks source link

PSA 1.5.1 won't enable #73

Open ParodyVerse opened 2 years ago

ParodyVerse commented 2 years ago

Describe the bug When I try to enable the addon it gives this error: image

General information

To Reproduce Download the addon and install. press the checkbox to enable and it won't enable.

Screenshots

TysonParks commented 2 years ago

I have the same issue. In fact I can't get any version of PSA to enable after 1.4.3 Beta. I have this issue on both my Apple Silicon 2021 MacBook Pro and my 2018 MacBook Pro.

Describe the bug When I try to enable the addon it gives this error: Version 1.4.4:

Traceback (most recent call last): File "/Applications/Blender 3.1.2.app/Contents/Resources/3.1/scripts/modules/addon_utils.py", line 351, in enable mod = import(module_name) File "/Users/tysonparks/Library/Application Support/Blender/3.1/scripts/addons/physical-starlight-atmosphere/init.py", line 22, in from . preferences import RIG_OT_OpenDocumentation, RIG_MT_addon_preferences, update_toolbar_label ImportError: cannot import name 'RIG_OT_OpenDocumentation' from 'physical-starlight-atmosphere.preferences' (/Users/~/Library/Application Support/Blender/3.1/scripts/addons/physical-starlight-atmosphere/preferences.py)

Version 1.5.0:

Traceback (most recent call last): File "/Applications/Blender 3.1.2.app/Contents/Resources/3.1/scripts/modules/addon_utils.py", line 351, in enable mod = import(module_name) File "/Users/tysonparks/Library/Application Support/Blender/3.1/scripts/addons/physical-starlight-atmosphere/init.py", line 39, in from . preferences import RIG_OT_OpenDocumentation, RIG_MT_addon_preferences, update_toolbar_label ImportError: cannot import name 'RIG_OT_OpenDocumentation' from 'physical-starlight-atmosphere.preferences' (/Users/~/Library/Application Support/Blender/3.1/scripts/addons/physical-starlight-atmosphere/preferences.py)

Version 1.5.1:

Traceback (most recent call last): File "/Applications/Blender 3.1.2.app/Contents/Resources/3.1/scripts/modules/addon_utils.py", line 351, in enable mod = import(module_name) File "/Users/tysonparks/Library/Application Support/Blender/3.1/scripts/addons/physical-starlight-atmosphere/init.py", line 39, in from . preferences import RIG_OT_OpenDocumentation, RIG_MT_addon_preferences, update_toolbar_label ImportError: cannot import name 'RIG_OT_OpenDocumentation' from 'physical-starlight-atmosphere.preferences' (/Users/~/Library/Application Support/Blender/3.1/scripts/addons/physical-starlight-atmosphere/preferences.py)

General information

To Reproduce Remove previous PSA addons. Download the addon and install. Press the checkbox to enable and it won't enable.

karlisup commented 2 years ago

I appreciate your patience! Usually, when updating from an older version although the addon is removed/deleted it gets cached and could cause an error related to the class registration. A restart of the Blender should fix the issue. Does the issue still persist today and did the restart help?

We will investigate how we can improve the addon so this doesn't repeat in the future as this has been a quite popular issue throughout all these years.

TysonParks commented 2 years ago

I appreciate your patience! Usually, when updating from an older version although the addon is removed/deleted it gets cached and could cause an error related to the class registration. A restart of the Blender should fix the issue. Does the issue still persist today and did the restart help?

We will investigate how we can improve the addon so this doesn't repeat in the future as this has been a quite popular issue throughout all these years.

Hi @karlisup thanks for your reply. Yes this did work for me after a couple restarts with PSA 1.5.1 in Blender 3.1.2! Thank you.

Restart did not work for me in Blender 3.2 Beta, but that may be expected until after it moves to final release.