Script cannot be enabled #87545
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
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
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#87545
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Deepin 20.2
Graphics card: Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2)
Blender Version
Broken:
blender-2.93.0-2cc3a89cf60d-linux64 && blender-2.92.0 && blender-2.91.2
Short description of error
1.Open the Blender 2.93 Reference Manual
2.Add the following script to the Text editor in Blender
3.Click the Run Script button
3.Open the Operator Search menu and type in “Move X by One” (the bl_label)
4.Click to disable script, it will report an error
error code:
Traceback (most recent call last):
RuntimeError: unregister_class(...):, missing bl_rna attribute from 'RNAMeta' instance (may not be registered)
Added subscriber: @fn930211969
Added subscriber: @rjg
Changed status from 'Needs Triage' to: 'Needs User Info'
You seem to be doing something different than your instructions state as the script is installed as an add-on. Just by running the script from the text editor won't make it appear in the add-on preferences.
It seems the steps you've actually performed were:
frist.py
and then manually saved it toblender/2.93/scripts/addons
frist.py
into the text editor.Is that correct?
Hi, thank you for answering the questions for me in your busy schedule. First of all, you questioned that my operation process is incorrect, but the same process is no problem on the windows platform (I have tried it)! Or you are sending me the correct operation process, I need to confirm it, thank you.
@fn930211969 What I meant is that the screenshots you've added don't match the description of your steps. It seems that you have installed the add-on first, hence it's visible in the preferences, and you are running it from text editor as well. By running the same script in the editor you would try to register the operator a second time, which will cause trouble when trying to deactivate the add-on that originally registered the operator. The steps I've posted result in the error you're describing in your report and I would like to know if those are the steps you've actually taken.
Yes, my main problem is that I can’t find this custom script in Operator Search, even though I have enabled and loaded this custom script
In order to find operators that haven't been added to any menu, you need to enable Developer Extras in the preferences. See blender/documentation#87180 for detailed instructions.
Thank you, I have solved the problem。
Changed status from 'Needs User Info' to: 'Resolved'