You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PLEASE READ THE FOLLOWING AND USE THE TEMPLATE TO POST YOUR ISSUE
Questions not directly related to the RetopoFlow project are considered general and should be posted elsewhere (e.g. git, blender, python, etc).
Before raising the issue, please check the following first:
Read through the README.md file in the branch used to assure the process taken is correct
Check the existing issues and pull requests to make sure the issue has not already been reported and/or fixed.
You can replicate the bug and will provide as much info as possible with blend files, screenshots, logfiles, as well as show the expected result and actual result.
Issue Template
Please prefix your issue name with one of the following: [BUG][PROPOSAL][QUESTION]
Retopoflow Version: 3.4.3
Blender Version/Hash: 4.0.2
Platform Version/Distribution: Windows.
Issue:
Most studios install addons on a central shared server, to avoid having to install all addons to each and every computer.
For security reasons, our addons filer server is readonly.
But Retopoflow, tries to write its temporary or config files to the addon directory, which is read-only, so it fails, and prevents the addon to work.
It would be a lot better to write on the usually advised data directory (which is C:\Users[UserLogin]\AppData\Roaming\Blender Foundation\Blender\4.0\datafiles...... ).
Blender even provides a way to automatically get the path :
bpy.utils.user_resource("DATAFILES", path=yourSubDir, create=False)
Doc : https://docs.blender.org/api/current/bpy.utils.html#bpy.utils.user_resource
Here is our current workaround :
Completely disable the updater (we don't want the users to start an update themselves, anyway, as it's the admin job).
In RetopoFlow\config\options.py , replace this :
Options.fndb = get_path_from_addon_root(retopoflow_files['options filename'])
by this :
Options.fndb = bpy.utils.user_resource("DATAFILES", path=retopoflow_files['options filename'], create=False)
In RetopoFlow\config\options.py , replace this :
return get_path_from_addon_root(retopoflow_files[key])
by this :
return bpy.utils.user_resource("DATAFILES", path=retopoflow_files[key], create=False)
The text was updated successfully, but these errors were encountered:
alainxi
changed the title
[BUG]
[BUG] RetopoFlow tries to write in the addon folder, it forbids studio deploy
Mar 14, 2024
PLEASE READ THE FOLLOWING AND USE THE TEMPLATE TO POST YOUR ISSUE
Questions not directly related to the RetopoFlow project are considered general and should be posted elsewhere (e.g. git, blender, python, etc).
Before raising the issue, please check the following first:
Issue Template
Please prefix your issue name with one of the following: [BUG] [PROPOSAL] [QUESTION]
Retopoflow Version: 3.4.3
Blender Version/Hash: 4.0.2
Platform Version/Distribution: Windows.
Issue:
Most studios install addons on a central shared server, to avoid having to install all addons to each and every computer.
For security reasons, our addons filer server is readonly.
But Retopoflow, tries to write its temporary or config files to the addon directory, which is read-only, so it fails, and prevents the addon to work.
It would be a lot better to write on the usually advised data directory (which is C:\Users[UserLogin]\AppData\Roaming\Blender Foundation\Blender\4.0\datafiles...... ).
Blender even provides a way to automatically get the path :
bpy.utils.user_resource("DATAFILES", path=yourSubDir, create=False)
Doc : https://docs.blender.org/api/current/bpy.utils.html#bpy.utils.user_resource
Here is our current workaround :
Completely disable the updater (we don't want the users to start an update themselves, anyway, as it's the admin job).
In RetopoFlow\config\options.py , replace this :
Options.fndb = get_path_from_addon_root(retopoflow_files['options filename'])
by this :
Options.fndb = bpy.utils.user_resource("DATAFILES", path=retopoflow_files['options filename'], create=False)
In RetopoFlow\config\options.py , replace this :
return get_path_from_addon_root(retopoflow_files[key])
by this :
return bpy.utils.user_resource("DATAFILES", path=retopoflow_files[key], create=False)
The text was updated successfully, but these errors were encountered: