Page MenuHome

Blenderkit _ AttributeError: '_RestrictContext' object has no attribute 'user_preferences'
Open, Needs Triage by DeveloperPublic

Description

System Information
Operating system: Windows 10
Graphics card: NVIDIA Quadro RTX 4000 8GB Graphics Card

Blender Version
Broken: 2.80

Short description of error
blenderkit addon won't install from user preferences.

Exact steps for others to reproduce the error
download 64 bit blender2.8_ check blenderkit box in user preferences.

Details

Type
Bug

Event Timeline

This has most probably to do with a previous installation of BlenderKit.
Blender doesn't pick the newer version from the release. It was one of the many API changes before release, so not really a bug.
Please check your User folder where addons get usually installed, if you find BlenderKit there, just delete it.

This problem that comes to us in many forms could be fixed with blender actually checking for the version of an addon before trying to read it. Now the logic is that if a version of the addon is in the custom scripts folder, Blender tries to read it not taking versioning into account.