Warnings in Blender 4.0 #115211

Open
opened 2023-11-20 22:06:41 +01:00 by med-mo · 8 comments

System Information
Operating system: Windows 10 Pro 22H2
Graphics card: NVIDIA GeForce RTX 2060 NVIDIA 546.01 Nvdia studio driver

Blender Version
version: 4.0.1

Short description of error

I had three types of warnings.

1st :
At the start of Blender, I encountered warnings. I investigated to identify the issue, disabled all add-ons, reactivated them one by one.
I found that it was due to the shortcuts. So, I rebuild everything as clean, and up to that point, there were no warnings.

I restarted Blender to check, and there were no warnings. However, as soon as I export and/or change the file name to (keyboard4fix.py).
I restart Blender with the same shortcut file, only the name change, and the initial warnings reappear.
Occasionally, Blender freezes.

I couldn't reproduce when blender freezing, why I didn't put .blend files

If I revert to (new_test.py) initial name, the warnings disappear.

Screenshots "01_new test.jpg" "02_keyboarfix.jpg"

2nd :
I'm not sure if it's because of the pie menu add-on.

Screenshot "03_pie_menu warning.jpg"

3rd :
Sometimes I have random warnings right after launching Blender, and I have no idea where they might be coming from.

Screenshot "04_random warning.jpg"

**System Information** Operating system: Windows 10 Pro 22H2 Graphics card: NVIDIA GeForce RTX 2060 NVIDIA 546.01 Nvdia studio driver **Blender Version** version: 4.0.1 **Short description of error** I had three types of warnings. **1st :** At the start of Blender, I encountered warnings. I investigated to identify the issue, disabled all add-ons, reactivated them one by one. I found that it was due to the shortcuts. So, I rebuild everything as clean, and up to that point, there were no warnings. I restarted Blender to check, and there were no warnings. However, as soon as I export and/or change the file name to (keyboard4fix.py). I restart Blender with the same shortcut file, only the name change, and the initial warnings reappear. Occasionally, Blender freezes. I couldn't reproduce when blender freezing, why I didn't put .blend files If I revert to (new_test.py) initial name, the warnings disappear. _Screenshots_ "01_new test.jpg" "02_keyboarfix.jpg" **2nd :** I'm not sure if it's because of the pie menu add-on. _Screenshot_ "03_pie_menu warning.jpg" **3rd :** Sometimes I have random warnings right after launching Blender, and I have no idea where they might be coming from. _Screenshot_ "04_random warning.jpg"
med-mo added the
Priority
Normal
Status
Needs Triage
Type
Report
labels 2023-11-20 22:06:42 +01:00
Member

Hi, thanks for the report. Errors mentioned in the case-1 seems to be due to missing keymap.
re case2: print message was added intentionally in 21c88df7c7 : https://projects.blender.org/blender/blender/src/branch/main/source/blender/editors/interface/interface_layout.cc#L4002
re case3: a .blend file will help where the error is occuring.

Hi, thanks for the report. Errors mentioned in the case-1 seems to be due to missing keymap. re case2: print message was added intentionally in 21c88df7c73dc35134de061a89b088985bbccadb : https://projects.blender.org/blender/blender/src/branch/main/source/blender/editors/interface/interface_layout.cc#L4002 re case3: a .blend file will help where the error is occuring.
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-11-21 05:49:11 +01:00
Author

Hi

For the first case.
I tested on blender 4.1 and 3.6.5
4.1: I have the same warnings. With the same shortcuts file (just the name change)
3.6: I have different warnings, but only in relation to the new alt transformation feature

Even if I change the name of the file, I don't get the same warnings mentioned in the screenshots “02_keyboarfix.jpg” or "4.1.0.jpg"

Occasionally, Blender freezes.
When I want to change shortcut file, it's randomly
"freaz.jpg"

For the third case.
When I export the shortcut, this warning appears
I attached a .blend file, there is only one cube on the scene.

Hi For the first case. I tested on blender 4.1 and 3.6.5 4.1: I have the same warnings. With the same shortcuts file (just the name change) 3.6: I have different warnings, but only in relation to the new alt transformation feature Even if I change the name of the file, I don't get the same warnings mentioned in the screenshots “02_keyboarfix.jpg” or "4.1.0.jpg" Occasionally, Blender freezes. When I want to change shortcut file, it's randomly "freaz.jpg" For the third case. When I export the shortcut, this warning appears I attached a .blend file, there is only one cube on the scene.

I can confirm nr4 : issues as in image 4 (..not found in item "OperatorProperties")

Seems as they work fine when 1st importing 3.6 settings. But are reset when restarting blender. They can be "restored" by loading the keymap again. But are broken once restarting blender again.

By broken, in my case, meaning: The operator shortcuts are there, but all props are reset to default. (images attached to make it clear what the "two states" are)

p.s. I am on linux (offical arch repo build) others who use my operators on windows do not seem to have this issue.

I can confirm nr4 : issues as in image 4 (..not found in item "OperatorProperties") Seems as they work fine when 1st importing 3.6 settings. But are reset when restarting blender. They can be "restored" by loading the keymap again. But are broken once restarting blender again. By broken, in my case, meaning: The operator shortcuts are there, but all props are reset to default. (images attached to make it clear what the "two states" are) p.s. I am on linux (offical arch repo build) others who use my operators on windows do not seem to have this issue.
Author

For the first one, I think, I found a solution.

C:\Users\XXX\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\presets\keyconfig

I copy the shortcut file, which is located in this folder, and I change the name, no need to import it into blender, I find it directly in the list, and it no longer causes a warning

Maybe create, importing, and exporting shortcuts is causing problems

If I save a new other one, and reboot blender, I get again the warnings !!

For the first one, I think, I found a solution. C:\Users\XXX\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\presets\keyconfig I copy the shortcut file, which is located in this folder, and I change the name, no need to import it into blender, I find it directly in the list, and it no longer causes a warning Maybe create, importing, and exporting shortcuts is causing problems If I save a new other one, and reboot blender, I get again the warnings !!
Pratik Borhade added
Status
Needs Triage
and removed
Status
Needs Information from User
labels 2023-11-24 07:39:32 +01:00

FYI, For the console spam, and my shortcuts issues, I found a workaround that was endurable (see thread for struggle history ;>) :
Blenderartists.org Link

FYI, For the console spam, and my shortcuts issues, I found a workaround that was _endurable_ (see thread for struggle history ;>) : [Blenderartists.org Link](https://blenderartists.org/t/kekit-for-blender-2-8/1200740/2292?u=kiellog)
Author

FYI, For the console spam, and my shortcuts issues, I found a workaround that was endurable (see thread for struggle history ;>) :
Blenderartists.org Link

I am not kekit addon user

Delete shortcut user, and import or just paste the file in C:\Users\XXX\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\presets\keyconfig

Keep the warnings

> FYI, For the console spam, and my shortcuts issues, I found a workaround that was _endurable_ (see thread for struggle history ;>) : > [Blenderartists.org Link](https://blenderartists.org/t/kekit-for-blender-2-8/1200740/2292?u=kiellog) I am not kekit addon user Delete shortcut user, and import or just paste the file in C:\Users\XXX\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\presets\keyconfig Keep the warnings

Keep the warnings

I deeply regret butting in on your thread, please disregard my posts.

> Keep the warnings I deeply regret butting in on your thread, please disregard my posts.
Author

No worries, you're just trying to help

No worries, you're just trying to help
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
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
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
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
EEVEE & Viewport
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
Platform
FreeBSD
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
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#115211
No description provided.