nutti / Screencast-Keys

Blender Add-on: Screencast Keys
GNU General Public License v3.0
1.27k stars 112 forks source link

Latest and unstable versions of Screencast Keys working on first 3.1 Stable release #100

Closed jmiller-simutronics closed 2 years ago

jmiller-simutronics commented 2 years ago

System Information

Expected behavior
The behavior you expect about the feature you reported.

Description about the bug
The description about the bug.

Screenshots/Files [Optional]
It is good to solve the bug if you attach the screenshots or .blend file.

Additional comments [Optional] Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 3.1\3.1\scripts\modules\addon_utils.py", line 387, in enable mod.register() File "C:\Users\count\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\screencast_keys__init__.py", line 151, in register bpy.utils.register_class(preferences.DisplayEventTextAliasProperties) ValueError: register_class(...): already registered as a subclass 'DisplayEventTextAliasProperties'

jmiller-simutronics commented 2 years ago

That error is from the latest stable version of Screencast Keys. I couldn't get the unstable version to even show up after installation.

nutti commented 2 years ago

Many people faced this issue, but this relates to #61 . Please check it.

Viclio commented 2 years ago

I have the exact same issue with Blender 3.1 I tried as well a manual install, both with latest stable and unstable. Unstable doesn't register in the preferences panel. Same error message with 3.6 as jmiller

nutti commented 2 years ago

@Viclio

Did you try the workaround mentioned #61

This is a common issue, but there is a workaround.

Sharaf5 commented 2 years ago

Similar issue on linux with another line of code

Traceback (most recent call last):
  File "/snap/blender/1925/3.1/scripts/modules/addon_utils.py", line 387, in enable
    mod.register()
  File "/home/<user>/.config/blender/3.1/scripts/addons/screencast_keys/__init__.py", line 154, in register
    utils.bl_class_registry.BlClassRegistry.register()
  File "/home/<user>/.config/blender/3.1/scripts/addons/screencast_keys/utils/bl_class_registry.py", line 63, in register
    bpy.utils.register_class(class_["class"])
ValueError: bpy_struct "SK_Preferences" registration error: 'font_size' IntProperty could not register (see previous error)

@nutti reinstailling and reseting didn't work at all - however it worked inside UPBGE runnig with no environment didn't help for snaped blender - so I think it's not environment I think it's snap or execution restrictions but don't know how to fix it yet

nutti commented 2 years ago

@AbdelazizSharaf001

This is different issue. Could you check #73. Above patch is not included in stable version, but you can try unstable version instead.

nutti commented 2 years ago

Today, Screencast Keys v3.7 is released. I think all issues discussed here will be solved to install new version.

Viclio commented 2 years ago

It works ! Thxs ;)

jmiller-simutronics commented 2 years ago

Thanks for the speedy update.

On Mon, Mar 14, 2022 at 6:01 AM Viclio @.***> wrote:

It works ! Thxs ;)

— Reply to this email directly, view it on GitHub https://github.com/nutti/Screencast-Keys/issues/100#issuecomment-1066644926, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKBSJDOZYHEARUR4E46ARIDU74L6JANCNFSM5QKKZRCA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>