nutti / Screencast-Keys

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

Can't enable add-on in Blender 3.3.1 LTS. #134

Closed HixonECG closed 1 year ago

HixonECG commented 1 year ago

System Information

Expected behavior

Installing and enabling the addon

Description about the bug**

I installed the latest, and when I click on the checkbox to enable the addon, I get this error:

Traceback (most recent call last):
  File "C:\Program Files\WindowsApps\BlenderFoundation.Blender_3.3.1.0_x64__ppwjx1n5r4v9t\Blender\3.3\scripts\modules\addon_utils.py", line 369, in enable
    mod.register()
  File "C:\Users\Admin\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\screencast_keys\__init__.py", line 153, in register
    register_updater(bl_info)
  File "C:\Users\Admin\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\screencast_keys\__init__.py", line 100, in register_updater
    updater.init(config)
TypeError: AddonUpdaterManager.init() missing 1 required positional argument: 'config'

Screenshots/Files [Optional]

image

Additional comments [Optional]

JOppelix commented 1 year ago

I found a way to get Screencast 3.8 working with Blender 3.3.1 LTS on Windows 10:

image image
nutti commented 1 year ago

@HixonECG

Could you reinstall this add-on or try workaround from @JOppelix ? This issue has already fixed in the latest version (v3.8).

HixonECG commented 1 year ago

Apparently... I STUPIDLY installed this using the Microsoft Store, thinking "Oh, it will automatically update Blender for me so I won't forget". But instead, it locks all the files behind impenetrable permissions that I can not override. I have tried using the PowerShell, I tried changing the registry, I tried using the takeown/take ownership command, I tried changing the advanced security user permissions, but nothing works. I am fed up with how Microsoft wants to completely control all aspects of these folders, making it impossible for users to go in and... say... manually install an add-on. I am going to delete it and install Blender from the website like I should have from the start. I will report back if I can get it to work that way.

HixonECG commented 1 year ago

I am happy to report that it does now seem to work! That fixed it. I didn't even need to manually install it, I just needed to NOT use the Microsoft Store version of Blender. So... as far as I can tell, using the Microsoft Store is the worst thing you can do, and there is no way to regain full permissions and control over your files and programs. I deleted it as best as I could from there and reinstalled Blender from their website. Now that I had complete control, everything works just fine.

Except for one thing... when I select "Show Mouse Events" and choose "Event History + Hold Status", the mouse click names stop showing up. It just shows the icon for the mouse as I click the buttons, but the mouse click names go away. image image

nutti commented 1 year ago

when I select "Show Mouse Events" and choose "Event History + Hold Status", the mouse click names stop showing up.

This is same as #131 The unstable version fixes this issue.

HixonECG commented 1 year ago

Thanks. I'll look into it. Good work on the add-on!