Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addon上でアップデートが出来ない #51

Open
land-Y opened this issue Feb 17, 2022 · 0 comments
Open

Addon上でアップデートが出来ない #51

land-Y opened this issue Feb 17, 2022 · 0 comments

Comments

@land-Y
Copy link

land-Y commented Feb 17, 2022

ファイルサーバーにBlender本体と、アドオンを配置していると
PolyQuiltのアドオンプロパティ上からアップデートが出来ない。

location: :-1
Error: Python: Traceback (most recent call last):
File "V:\WorkGroup\scripts\3.00\scripts\addons\PolyQuilt\pq_preferences.py", line 68, in execute
updater.update(self.branch_name)
File "V:\WorkGroup\scripts\3.00\scripts\addons\PolyQuilt\utils\addon_updater.py", line 320, in update
_make_workspace(self.__config.addon_directory)
File "V:\WorkGroup\scripts\3.00\scripts\addons\PolyQuilt\utils\addon_updater.py", line 84, in _make_workspace
shutil.rmtree(dir_path)
File "V:\Blender\stable\blender-3.0.1-windows-x64\3.0\python\lib\shutil.py", line 748, in rmtree
return _rmtree_unsafe(path, onerror)
File "V:\Blender\stable\blender-3.0.1-windows-x64\3.0\python\lib\shutil.py", line 630, in _rmtree_unsafe
onerror(os.rmdir, path, sys.exc_info())
File "V:\Blender\stable\blender-3.0.1-windows-x64\3.0\python\lib\shutil.py", line 628, in _rmtree_unsafe
os.rmdir(path)
PermissionError: [WinError 32] プロセスはファイルにアクセスできません。別のプロセスが使用中です。: '\\FILE\cvELD_Blender_r\WorkGroup\scripts\3.00\scripts\addons\addon_updater_workspace'

location: :-1

ーーーーーーーーーーーーーーーーーーー

環境変数は.batファイルから起動し、
以下の配置でスクリプトとコンフィグの設定を行っています。

@echo off
@SETLOCAL enabledelayedexpansion

set BLENDER_USER_CONFIG=V:\WorkGroup\config\kaz\3.00
set BLENDER_USER_SCRIPTS=V:\WorkGroup\scripts\3.00\scripts
set CYCLES_OPENCL_TEST=NONE

cd "V:\Blender\stable\blender-3.0.1-windows-x64"
start blender.exe -P V:\WorkGroup\scripts\3.00\scripts\startup_run.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant