Add-on not loaded: "bl_ext.blender_org.looptools", cause: No module named "bl_ext.blender_org.looptools" #124457

Closed
opened 2024-07-10 15:34:23 +02:00 by MACHIN3 · 5 comments

System Information
Operating system: Linux-6.6.10-76060610-generic-x86_64-with-glibc2.35 64 Bits, X11 UI
Graphics card: NVIDIA GeForce RTX 3080 Ti Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 550.54.14

Blender Version
Broken: version: 4.2.0 Beta, branch: blender-v4.2-release, commit date: 2024-07-06 04:49, hash: 11b1919bcfe3

Short description of error
A bit of a niche issue, I came across this while automating addon installation via the extensions platform.

image

See https://www.youtube.com/watch?v=Z8DBqi1Im8M for a quick demo how to reproduce this issue.

Steps

  • install addon from the Blender exstensions repo
  • save your preferences with the addon activated, and quit Blender
  • remove the addon from disk, in my case I remove the entire extensions folder at .../.config/blender/4.2/extensions/
  • start Blender and it will rightfully detect that the addon is missing
  • trying to install it now, again from the repo will throw the error above
  • despite that it still was installed successfully. even though it cant be activated from the addons tab either
  • restarting Blender resolves this
**System Information** Operating system: Linux-6.6.10-76060610-generic-x86_64-with-glibc2.35 64 Bits, X11 UI Graphics card: NVIDIA GeForce RTX 3080 Ti Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 550.54.14 **Blender Version** Broken: version: 4.2.0 Beta, branch: blender-v4.2-release, commit date: 2024-07-06 04:49, hash: `11b1919bcfe3` **Short description of error** A bit of a niche issue, I came across this while automating addon installation via the extensions platform. ![image](/attachments/63c09cc3-62d4-41fb-8d2b-946a5a37baab) See https://www.youtube.com/watch?v=Z8DBqi1Im8M for a quick demo how to reproduce this issue. **Steps** * install addon from the Blender exstensions repo * save your preferences with the addon activated, and quit Blender * remove the addon from disk, in my case I remove the entire extensions folder at `.../.config/blender/4.2/extensions/` * start Blender and it will rightfully detect that the addon is missing * trying to install it now, again from the repo will throw the error above * despite that it still was installed successfully. even though it cant be activated from the addons tab either * restarting Blender resolves this
MACHIN3 added the
Type
Report
Severity
Normal
Status
Needs Triage
labels 2024-07-10 15:34:24 +02:00
Contributor

There were lot of changes during alpha and beta that might have caused this, and I'm assuming it did. Can you delete extensions folder from /blender/4.2/ and let Blender generate it again? And then test.

There were lot of changes during alpha and beta that might have caused this, and I'm assuming it did. Can you delete extensions folder from `/blender/4.2/` and let Blender generate it again? And then test.
Author

I mean I tested exactly like this. I always deleted the entire extensions foldwer. Which would then result in the missing addon message, as expected, but also lead to the failed activation after new installation. But again, a simple Blender restart and the addon activates automatically.

This is not a major issue at all, just wanted to mention it, as I was confused as to what was going on until I noticed it has to do with the saved prefs of the addon being activated, when it actually was no longer found on disk.

I mean I tested exactly like this. I always deleted the entire extensions foldwer. Which would then result in the missing addon message, as expected, but also lead to the failed activation after new installation. But again, a simple Blender restart and the addon activates automatically. This is not a major issue at all, just wanted to mention it, as I was confused as to what was going on until I noticed it has to do with the saved prefs of the addon being activated, when it actually was no longer found on disk.
Contributor

Sorry I didn't make myself clear. Don't delete loop tools folder, delete entire extensions folder and let Blender generate it again. I had couple of problems myself because during beta lot of things changed about how and which files Blender recognizes, and regenerating them fixed it.

Sorry I didn't make myself clear. Don't delete loop tools folder, delete entire `extensions` folder and let Blender generate it again. I had couple of problems myself because during beta lot of things changed about how and which files Blender recognizes, and regenerating them fixed it.
Author

This is what I'm saying Nika :) I removed looptools by deleting the entire extensions folder every time. I even show it in the video. This is how I reproduce the issue.

I have just tested by just removing the looptools folder within extensions/blender_org, and that does not seem to have the problem.

This is what I'm saying Nika :) I removed looptools by deleting the entire extensions folder every time. I even show it in the video. This is how I reproduce the issue. I have just tested by just removing the looptools folder within extensions/blender_org, and that does not seem to have the problem.
Member

I believe blender now expects extension directory to exist and deleting that dir may lead python to not search in that directory hence it can't find the extension. Installing the extension would ensure the dir exists, and restarting with the dir already existing will have no issue.

@dfelinto any ideas? Should we forcefully ensure the dir exists upon starting blender?

I believe blender now expects `extension` directory to exist and deleting that dir may lead python to not search in that directory hence it can't find the extension. Installing the extension would ensure the dir exists, and restarting with the dir already existing will have no issue. @dfelinto any ideas? Should we forcefully ensure the dir exists upon starting blender?
YimingWu added
Module
Python API
Status
Confirmed
and removed
Status
Needs Triage
labels 2024-07-11 15:48:38 +02:00
Blender Bot added
Status
Resolved
and removed
Status
Confirmed
labels 2024-07-12 08:27:01 +02:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#124457
No description provided.