2

I installed it on ubuntu, just direct extract from gz2 package. Here described a way to import previous setting. However, there is no such option at 1st time I start the new version

>>> bpy.utils.user_resource("CONFIG")
'/home/user/.config/blender/2.76/config/'

ls /home/user/.config/blender/2.76
ls: cannot access /home/user/.config/blender/2.76: No such file or directory

We can see there is no config file at all. Still there is no such option on splash screen.

I also tried:

>>> bpy.ops.wm.copy_prev_settings()
Error: Source path '/home/user/.config/blender/2.75' exists

However, this is not true. The only folder exist in that /home/user/.config/blender is 2.71 There must be some bugs?

Wang
  • 121
  • 4
  • How did you install blender? What operating system are you on? – gandalf3 Nov 05 '15 at 03:10
  • @gandalf3 I updated the post – Wang Nov 05 '15 at 03:12
  • Curious.. I'm on archlinux, and everything works as expected (also installing from the blender.org archive). Is there anything in any of the other configuration locations? (not sure why there would be.. But I can't think of anything else atm) – gandalf3 Nov 05 '15 at 03:16
  • @gandalf3 I get it. It seems like in WM_OT_copy_prev_settings, it will automatically check if ver_old exists. It actually have a wrong error message. The message should be 2.75 does not exist. Does that means it can only import from 2.75? – Wang Nov 05 '15 at 03:51
  • That appears to be it. You should be able to simply copy/move the configuration directory from whatever the last version you had to ~/.config/blender/2.76. AFAIK that's all copy_prev_settings() does to begin with. – gandalf3 Nov 05 '15 at 04:42
  • @gandalf3 Thanks! I think we should improve this function to convert invalid settings. So far I found several config items were wrong. For example some addons changed their names. Maybe some variables also changed their names. – Wang Nov 05 '15 at 04:46
  • Huh.. That's very bizarre. Can you tell which addons these were? In the meantime I've reported the misleading error message. – gandalf3 Nov 05 '15 at 04:56
  • @gandalf3 It is not bizarrre. Those addons have been updated and reorganized in newer version. addons in 2.7.1: ['io_import_scene_dxf', 'node_efficiency_tools'] addons in 2.7.6: ['io_import_dxf', 'node_wrangler'] i think in each version, we should create a change list, then let the import function try to automatically migrate those options. – Wang Nov 05 '15 at 06:09
  • Oh, I see. I thought addons you had installed were magically renaming themselves or something :P That sounds nice, but then someone has to maintain the changelist.. – gandalf3 Nov 05 '15 at 06:27

0 Answers0