Splash Load Settings should quite gracefully on symbolic links (Windows) #73798

Closed
opened 2020-02-14 13:21:20 +01:00 by Carsten · 3 comments

System Information
Operating system: Windows-7-6.1.7601-SP1 64 Bits
Graphics card: GeForce GTX 1050 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 398.36

Blender Version
Broken: version: 2.82 (sub 6), branch: master, commit date: 2020-02-11 14:45, hash: c939b4df18
Worked: (optional)

Short description of error
Errors when trying to load old Settings.

Exact steps for others to reproduce the error

I know making symbolic links on win requires Administrator right. But the routine for copy the old settings should at least quite with an user-usefull error.

Or even better copy what is possible and then remind the user...

AL lib: (EE) UpdateDeviceParams: Failed to set 48000hz, got 44100hz instead
found bundled python: C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.
82\python
Traceback (most recent call last):

File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta

rtup\bl_operators\userpref.py", line 67, in _preferences_copytree

  os.symlink(linkto, dstname)

OSError: symbolic link privilege not held

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta
rtup\bl_operators\userpref.py", line 70, in _preferences_copytree
    preferences_copytree(srcobj, dstname)
  File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta
rtup\bl_operators\userpref.py", line 89, in preferences_copytree
    return _preferences_copytree(entries=entries, src=src, dst=dst)
  File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta
rtup\bl_operators\userpref.py", line 73, in _preferences_copytree
    except Error as err:
NameError: name 'Error' is not defined

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta
rtup\bl_operators\userpref.py", line 70, in _preferences_copytree
    preferences_copytree(srcobj, dstname)
  File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta
rtup\bl_operators\userpref.py", line 89, in preferences_copytree
    return _preferences_copytree(entries=entries, src=src, dst=dst)
  File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta
rtup\bl_operators\userpref.py", line 73, in _preferences_copytree
    except Error as err:
NameError: name 'Error' is not defined

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta
rtup\bl_operators\userpref.py", line 154, in execute
    preferences_copytree(self._old_path(), self._new_path())
  File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta
rtup\bl_operators\userpref.py", line 89, in preferences_copytree
    return _preferences_copytree(entries=entries, src=src, dst=dst)
  File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta
rtup\bl_operators\userpref.py", line 73, in _preferences_copytree
    except Error as err:
NameError: name 'Error' is not defined

location: <unknown location>:-1

location: <unknown location>:-1
Error: Traceback (most recent call last):
  File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta
rtup\bl_operators\userpref.py", line 67, in _preferences_copytree
    os.symlink(linkto, dstname)
OSError: symbolic link privilege not held

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta
rtup\bl_operators\userpref.py", line 70, in _preferences_copytree
    preferences_copytree(srcobj, dstname)
  File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta
rtup\bl_operators\userpref.py", line 89, in preferences_copytree
    return _preferences_copytree(entries=entries, src=src, dst=dst)
  File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta
rtup\bl_operators\userpref.py", line 73, in _preferences_copytree
    except Error as err:
NameError: name 'Error' is not defined

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta
rtup\bl_operators\userpref.py", line 70, in _preferences_copytree
    preferences_copytree(srcobj, dstname)
  File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta
rtup\bl_operators\userpref.py", line 89, in preferences_copytree
    return _preferences_copytree(entries=entries, src=src, dst=dst)
  File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta
rtup\bl_operators\userpref.py", line 73, in _preferences_copytree
    except Error as err:
NameError: name 'Error' is not defined

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta
rtup\bl_operators\userpref.py", line 154, in execute
    preferences_copytree(self._old_path(), self._new_path())
  File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta
rtup\bl_operators\userpref.py", line 89, in preferences_copytree
    return _preferences_copytree(entries=entries, src=src, dst=dst)
  File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta
rtup\bl_operators\userpref.py", line 73, in _preferences_copytree
    except Error as err:
NameError: name 'Error' is not defined

location: <unknown location>:-1


**System Information** Operating system: Windows-7-6.1.7601-SP1 64 Bits Graphics card: GeForce GTX 1050 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 398.36 **Blender Version** Broken: version: 2.82 (sub 6), branch: master, commit date: 2020-02-11 14:45, hash: `c939b4df18` Worked: (optional) **Short description of error** Errors when trying to load old Settings. **Exact steps for others to reproduce the error** I know making symbolic links on win requires Administrator right. But the routine for copy the old settings should at least quite with an user-usefull error. Or even better copy what is possible and then remind the user... AL lib: (EE) UpdateDeviceParams: Failed to set 48000hz, got 44100hz instead found bundled python: C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2. 82\python Traceback (most recent call last): ``` File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta ``` rtup\bl_operators\userpref.py", line 67, in _preferences_copytree ``` os.symlink(linkto, dstname) ``` OSError: symbolic link privilege not held During handling of the above exception, another exception occurred: ``` Traceback (most recent call last): File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta rtup\bl_operators\userpref.py", line 70, in _preferences_copytree preferences_copytree(srcobj, dstname) File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta rtup\bl_operators\userpref.py", line 89, in preferences_copytree return _preferences_copytree(entries=entries, src=src, dst=dst) File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta rtup\bl_operators\userpref.py", line 73, in _preferences_copytree except Error as err: NameError: name 'Error' is not defined During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta rtup\bl_operators\userpref.py", line 70, in _preferences_copytree preferences_copytree(srcobj, dstname) File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta rtup\bl_operators\userpref.py", line 89, in preferences_copytree return _preferences_copytree(entries=entries, src=src, dst=dst) File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta rtup\bl_operators\userpref.py", line 73, in _preferences_copytree except Error as err: NameError: name 'Error' is not defined During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta rtup\bl_operators\userpref.py", line 154, in execute preferences_copytree(self._old_path(), self._new_path()) File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta rtup\bl_operators\userpref.py", line 89, in preferences_copytree return _preferences_copytree(entries=entries, src=src, dst=dst) File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta rtup\bl_operators\userpref.py", line 73, in _preferences_copytree except Error as err: NameError: name 'Error' is not defined location: <unknown location>:-1 location: <unknown location>:-1 Error: Traceback (most recent call last): File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta rtup\bl_operators\userpref.py", line 67, in _preferences_copytree os.symlink(linkto, dstname) OSError: symbolic link privilege not held During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta rtup\bl_operators\userpref.py", line 70, in _preferences_copytree preferences_copytree(srcobj, dstname) File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta rtup\bl_operators\userpref.py", line 89, in preferences_copytree return _preferences_copytree(entries=entries, src=src, dst=dst) File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta rtup\bl_operators\userpref.py", line 73, in _preferences_copytree except Error as err: NameError: name 'Error' is not defined During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta rtup\bl_operators\userpref.py", line 70, in _preferences_copytree preferences_copytree(srcobj, dstname) File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta rtup\bl_operators\userpref.py", line 89, in preferences_copytree return _preferences_copytree(entries=entries, src=src, dst=dst) File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta rtup\bl_operators\userpref.py", line 73, in _preferences_copytree except Error as err: NameError: name 'Error' is not defined During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta rtup\bl_operators\userpref.py", line 154, in execute preferences_copytree(self._old_path(), self._new_path()) File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta rtup\bl_operators\userpref.py", line 89, in preferences_copytree return _preferences_copytree(entries=entries, src=src, dst=dst) File "C:\Users\cw\Desktop\blender-2.82-c939b4df18e9-windows64\2.82\scripts\sta rtup\bl_operators\userpref.py", line 73, in _preferences_copytree except Error as err: NameError: name 'Error' is not defined location: <unknown location>:-1 ```
Author

Added subscriber: @CarstenWartmann

Added subscriber: @CarstenWartmann

This issue was referenced by 92a56bbe6a

This issue was referenced by 92a56bbe6a985905ab748c29f57ab89977e83f9f

Changed status from 'Needs Triage' to: 'Resolved'

Changed status from 'Needs Triage' to: 'Resolved'
Campbell Barton self-assigned this 2020-02-15 00:41:57 +01:00
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#73798
No description provided.