Comments (7)
Further info related to the error:
It occurs when enabling the addon programmatically using:
addon_utils.enable
:
Traceback (most recent call last):
File ".../blender/python/startup/startup.py", line 124, in _auto_enable_addons
auto_enable_addons(addons_root_path)
File ".../blender/python/startup/startup.py", line 87, in auto_enable_addons
bpy.ops.wm.save_userpref()
File "C:/Program Files/Blender Foundation/Blender 3.3/3.3/scripts/modules/bpy/ops.py", line 97, in __call__
import bpy
File "C:/Program Files/Blender Foundation/Blender 3.3/3.3/python/lib/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
File "C:/Program Files/Blender Foundation/Blender 3.3/3.3/scripts/modules/bpy/__init__.py", line 61, in <module>
main()
File "C:/Program Files/Blender Foundation/Blender 3.3/3.3/scripts/modules/bpy/__init__.py", line 58, in main
utils.load_scripts()
File "C:/Program Files/Blender Foundation/Blender 3.3/3.3/scripts/modules/bpy/utils/__init__.py", line 301, in load_scripts
_initialize()
File "C:/Program Files/Blender Foundation/Blender 3.3/3.3/scripts/modules/addon_utils.py", line 29, in _initialize
enable(addon.module)
File "C:/Program Files/Blender Foundation/Blender 3.3/3.3/scripts/modules/addon_utils.py", line 355, in enable
if mod.bl_info.get("blender", (0, 0, 0)) < (2, 80, 0):
AttributeError: module 'bqt' has no attribute 'bl_info'
The fix is to re-add the bl_info
dict to bqt __init__.py
file:
bl_info = {
"name": "Qt for Blender",
"author": "Tech-Artists.org",
"version": (0, 2),
"blender": (2, 80, 3),
"description": "Qt for Blender",
"warning": "",
"wiki_url": "",
}
from bqt.
awesome, look forward to the PR next week
from bqt.
any chance you have this fix still lying around anywhere? @munkybutt
from bqt.
if it's only the bl info, i can do this myself
from bqt.
Hey bud - yeah it is just the top level dict called bl_info
that is required
from bqt.
1ec8e4e added bl_info to the bqt/__init__.py
.
The startup in dist doesn't has bl_info added, but i plan to delete this file, see #61
from bqt.
removed the leftover empty addon, finsihing the cleanup. closing this.
from bqt.
Related Issues (20)
- technical writing kickoff HOT 20
- create page to explain black
- move demo code to wiki HOT 2
- alt/ctrl/shift not work well when there is an other window(like preference window) pop up HOT 2
- demo code not working because QApplication is None HOT 3
- Qthead: not correct context HOT 3
- Enabling QT will affect the capture of UI controls HOT 6
- bqt add-on plugget install error: SSL CERTIFICATE VERIFY FAILED HOT 4
- Cannot download bqt with plugget HOT 4
- blender window content stretches on rescaling of the window HOT 1
- [bug] drag vector properties will move mouse out of the position when using wrap mode
- bqt crashes with PySide2.QtWebEngineWidgets
- Tooltips on QPushButton widgets trigger a warning HOT 2
- auto parent bug HOT 1
- causes parent bug on buttonizer
- can't edit many value in same time HOT 2
- QFileDialog seems broken since 1.3.1 HOT 3
- qt_core.py might select the PySide version that is not intended HOT 1
- Crashes on setup test HOT 11
- unify requirements HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bqt.