Extend documentation on environment variables to avoid trying to store unusable directories in them #88997
Labels
No Label
Meta
Good First Issue
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 & Devices
Module
Python API
Module
Rendering & Cycles
Module
Sculpt, Paint & Texture
Module
User Interface
Module
VFX & Video
Priority
High
Priority
Low
Priority
Normal
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Information 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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-manual#88997
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 960/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 432.00
Blender Version
Broken: version: 2.93.0, branch: master, commit date: 2021-06-02 11:21, hash:
blender/blender@84da05a8b8
Short description of error
When BLENDER_SYSTEM_SCRIPTS is set to a valid directory containing addons, modules, and startup directories, Blender starts with a partially drawn and responsive user interface. The docs don't specify what is exactly required from directories stored in environment variables.
Exact steps for others to reproduce the error
Added subscriber: @frameshift
Added subscriber: @iss
Changed status from 'Needs Triage' to: 'Needs User Info'
Is this behavior limited to Microsoft Store version?
I wasn't able to reproduce this issue
I just tried with a fresh download of the portable version, same issue. I'll check another workstation tomorrow.
Changed status from 'Needs User Info' to: 'Needs Triage'
Exact same problem on my other workstation (Microsoft Store installation as well).
Changed status from 'Needs Triage' to: 'Needs User Info'
Thanks that would be good to know the result.
Please run file
blender_factory_startup.cmd
and check if this resloves the issue. I have noticed that your startup file is modified and this could be reason to partial UI in combination with custom scripts folder, perhaps broken addon?After you close Blender please upload 2 log files that will be created.
Changed status from 'Needs User Info' to: 'Needs Triage'
Starting with factory settings yields the exact same problem, only with the default interface. A broken add-on would have surprised me anyway, because the directory in the environment variable is the exact same one I used to have specified in Blender's File Paths preferences, and everything worked fine.
Here are the log files. I couldn't find anything in them related to environment variables though.
blender_debug_output.txt
blender_system_info.txt
This has brought to my attention that my second workstation has a blender.org installer version, so I think installing via Microsoft Store isn't necessarily related to the issue.
Unusable user interface after launching a Microsoft Store version of Blender with BLENDER_SYSTEM_SCRIPTS setto Unusable user interface with BLENDER_SYSTEM_SCRIPTS setHere is how I have set my environment:
Copy folder
blender-2.93\2.93\scripts
toD:\scripts
Then set
BLENDER_SYSTEM_SCRIPTS
toD:\scripts
Is that correct?
Not exactly in my case. Mine is almost empty, with only a few custom addons. Like I said, it used to work perfectly when it was set via Blender's Preferences (File Paths > Data > Scripts).
I have tried BLENDER_USER_SCRIPTS instead now, which seems to work. Is BLENDER_SYSTEM_SCRIPTS supposed to contain all addons Blender ships with? If that's the case, it would be a useful thing to mention in the docs.
Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
Added subscriber: @Blendify
Technically this is mentioned in https://docs.blender.org/manual/en/latest/editors/preferences/file_paths.html#data
That Scripts field is for "An additional location to search for Python scripts."
BLENDER_SYSTEM_SCRIPTS
overrides default scripts location completely therefore requires full set of scripts.Will leave up to @Blendify if this needs clarification
That's exactly my point - that page only mentions the field in Preferences.
BLENDER_USER_SCRIPTS seems to act the same way, which I would expect from BLENDER_SYSTEM_SCRIPTS as well, only system-wide.
Since that's not the case and it does, as you say, expect the full set of scripts, it would be useful to mention this in the docs on environment variables, which are pretty vague: https://docs.blender.org/manual/en/latest/advanced/command_line/arguments.html?highlight=environment%20variables#environment-variables
Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'
Yes, this is something that should be fixed on https://docs.blender.org/manual/en/latest/advanced/command_line/arguments.html#environment-variables
Unusable user interface with BLENDER_SYSTEM_SCRIPTS setto Extend documentation on environment variables to avoid trying to store unusable directories in themAdded subscriber: @writersdoc22
from manual of 3.4 version onwards there are texts about the overriding blender script variables,
please clarify if these changes are sufficient.
The functionality of this was changed in Blender 4.2, see
f7797a90f6
The documentation was updated in:
6132f60733
These should prevent the issue raised here.