Page MenuHome

Load previous settings error
Closed, ResolvedPublicBUG

Description

System Information
Operating system: Windows-10-10.0.17763 64 Bits
Graphics card: GeForce GTX 970/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.64

Blender Version
Broken: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash: rBf6cb5f54494e, installed via Steam
Worked: -

Short description of error
Clicking Load 2.79 settings on splash screen produces error.

Exact steps for others to reproduce the error

  1. Start up Blender
  2. Click "Load 2.79 settings" on splash screen
  3. Receive error message, see below.
  4. No settings are loaded.

Based on the default startup.

Error:
Traceback (most recent call last):

File "D:\Program Files (x86)\Steam\steamapps\common\Blender\2.80\scripts\startup\bl_operators\userpref.py", line 115, in execute
  shutil.copytree(self._old_path(), self._new_path(), symlinks=True)
File "D:\Program Files (x86)\Steam\steamapps\common\Blender\2.80\python\lib\shutil.py", line 315, in copytree
  os.makedirs(dst)
File "D:\Program Files (x86)\Steam\steamapps\common\Blender\2.80\python\lib\os.py", line 221, in makedirs
  mkdir(name, mode)

FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'C:\\Users\\Nepu\\AppData\\Roaming\\Blender Foundation\\Blender\\2.80'

Event Timeline

What is there in C:\Users\Nepu\AppData\Roaming\Blender Foundation\Blender\2.80? Does it contain any files? Did you run any build of 2.80 before?

Sybren A. Stüvel (sybren) lowered the priority of this task from 90 to 30.Aug 2 2019, 12:26 PM
Bastien Montagne (mont29) changed the task status from Unknown Status to Invalid.Aug 20 2019, 12:14 PM
Bastien Montagne (mont29) claimed this task.

More than a week without reply or activity. Due to the policy of the tracker archiving for until required info/data are provided.

The folder contains a lot of files yes. Prior to the full 2.80 release, I did not run any other version of it, I was using 2.79.

Sybren A. Stüvel (sybren) changed the task status from Invalid to Unknown Status.Oct 30 2019, 12:03 PM
Sybren A. Stüvel (sybren) raised the priority of this task from 30 to High.

I can confirm this issue, I've run into it too on various occasions. The root of the issue is that shutil.copytree() requires that the destination directory doesn't exist yet. If this does exist, for example by the file browser writing the recently visited locations to bookmarks.txt, the 'Copy Old Settings' button fails.

Brecht Van Lommel (brecht) renamed this task from Load 2.79 settings error to Load previous settings error.Wed, Jan 15, 3:30 PM
Brecht Van Lommel (brecht) moved this task from Backlog to bcon3: Bugs on the BF Blender (2.82) board.

I ran into this today, it's a pretty bad first experience when this happens when switching to a new version, so marking as a 2.82 blocker.