Blender does not seem to account for Environment variables on my Windows 10 system #56265

Closed
opened 2018-08-07 17:58:02 +02:00 by Alexis Heloir · 4 comments

System Information
OS Name Microsoft Windows 10 Professionnel
Version 10.0.17134 Build 17134
System Manufacturer Dell Inc.
System Model Precision 5520
System Type x64-based PC
Processor Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz, 2901 Mhz, 4 Core(s), 4 Logical Processor(s)
BIOS Version/Date Dell Inc. 1.9.4, 4/23/2018
Total Physical Memory 15.9 GB
Available Physical Memory 8.63 GB
Total Virtual Memory 18.7 GB
Available Virtual Memory 9.75 GB
Page File Space 2.88 GB
Page File C:\pagefile.sys
Kernel DMA Protection Off
Virtualization-based security Not enabled
Device Encryption Support Elevation Required to View

Graphics card :
Name NVIDIA Quadro M1200
PNP Device ID PCI\VEN_10DE&DEV_13B6&SUBSYS_07BF1028&REV_A2\4&75D7284&0&0008
Adapter Type Quadro M1200, NVIDIA compatible
Adapter Description NVIDIA Quadro M1200
Adapter RAM (1,048,576) bytes

Blender Version
Broken:

Blender 2.79 (sub 0)

      build date: Mon 09/11/2017
      build time: 07:44 AM
      build commit date: 2017-09-11
      build commit time: 10:43
      build hash: 5bd8ac9
      build platform: Windows
      build type:
      build c flags: /W3 /w34062 /wd4018 /wd4146 /wd4065 /wd4127 /wd4181 /wd4200 /wd4244 /wd4267 /wd4305 /wd4800 /we4013 /we4431 /DWIN32 /D_WINDOWS /W3 /nologo /J /Gd /MP /openmp
      build c++ flags: /W3 /w34062 /wd4018 /wd4146 /wd4065 /wd4127 /wd4181 /wd4200 /wd4244 /wd4267 /wd4305 /wd4800 /we4013 /we4431 /DWIN32 /D_WINDOWS /W3 /GR /EHsc /nologo /J /Gd /MP /EHsc /openmp
      build link flags: /MACHINE:X64 /SUBSYSTEM:CONSOLE /STACK:2097152 /INCREMENTAL:NO  /NODEFAULTLIB:msvcrt.lib /NODEFAULTLIB:msvcmrt.lib /NODEFAULTLIB:msvcurt.lib /NODEFAULTLIB:msvcrtd.lib  /ignore:4049 /ignore:4217 /ignore:4221
      build system: CMake

Short description of error

Blender does not consider the environment variables which I declare in my startup batch script (cf. enclosed _LaunchBlender.bat).

Exact steps for others to reproduce the error

When I use the enclosed batch script to start Blender on Windows, Blender starts but the two environments variables which are declared in the batch file (BLENDER_USER_SCRIPTS and BLENDER_USER_CONFIG) are not set in the running blender session.

_LaunchBlender.bat

**System Information** OS Name Microsoft Windows 10 Professionnel Version 10.0.17134 Build 17134 System Manufacturer Dell Inc. System Model Precision 5520 System Type x64-based PC Processor Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz, 2901 Mhz, 4 Core(s), 4 Logical Processor(s) BIOS Version/Date Dell Inc. 1.9.4, 4/23/2018 Total Physical Memory 15.9 GB Available Physical Memory 8.63 GB Total Virtual Memory 18.7 GB Available Virtual Memory 9.75 GB Page File Space 2.88 GB Page File C:\pagefile.sys Kernel DMA Protection Off Virtualization-based security Not enabled Device Encryption Support Elevation Required to View Graphics card : Name NVIDIA Quadro M1200 PNP Device ID PCI\VEN_10DE&DEV_13B6&SUBSYS_07BF1028&REV_A2\4&75D7284&0&0008 Adapter Type Quadro M1200, NVIDIA compatible Adapter Description NVIDIA Quadro M1200 Adapter RAM (1,048,576) bytes **Blender Version** Broken: Blender 2.79 (sub 0) ``` build date: Mon 09/11/2017 build time: 07:44 AM build commit date: 2017-09-11 build commit time: 10:43 build hash: 5bd8ac9 build platform: Windows build type: build c flags: /W3 /w34062 /wd4018 /wd4146 /wd4065 /wd4127 /wd4181 /wd4200 /wd4244 /wd4267 /wd4305 /wd4800 /we4013 /we4431 /DWIN32 /D_WINDOWS /W3 /nologo /J /Gd /MP /openmp build c++ flags: /W3 /w34062 /wd4018 /wd4146 /wd4065 /wd4127 /wd4181 /wd4200 /wd4244 /wd4267 /wd4305 /wd4800 /we4013 /we4431 /DWIN32 /D_WINDOWS /W3 /GR /EHsc /nologo /J /Gd /MP /EHsc /openmp build link flags: /MACHINE:X64 /SUBSYSTEM:CONSOLE /STACK:2097152 /INCREMENTAL:NO /NODEFAULTLIB:msvcrt.lib /NODEFAULTLIB:msvcmrt.lib /NODEFAULTLIB:msvcurt.lib /NODEFAULTLIB:msvcrtd.lib /ignore:4049 /ignore:4217 /ignore:4221 build system: CMake ``` **Short description of error** Blender does not consider the environment variables which I declare in my startup batch script (cf. enclosed _LaunchBlender.bat). **Exact steps for others to reproduce the error** When I use the enclosed batch script to start Blender on Windows, Blender starts but the two environments variables which are declared in the batch file (BLENDER_USER_SCRIPTS and BLENDER_USER_CONFIG) are not set in the running blender session. [_LaunchBlender.bat](https://archive.blender.org/developer/F4147984/_LaunchBlender.bat)
Author

Added subscriber: @AlexisHeloir

Added subscriber: @AlexisHeloir
Member

Added subscriber: @LazyDodo

Added subscriber: @LazyDodo
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Ray molenkamp self-assigned this 2018-08-07 18:01:55 +02:00
Member

known issue see #54152 and D3079 which frustratingly have been held up

known issue see #54152 and [D3079](https://archive.blender.org/developer/D3079) which frustratingly have been held up
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
2 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#56265
No description provided.