armory3d / armory

3D Engine with Blender Integration
https://armory3d.org/engine
zlib License
3.07k stars 316 forks source link

Errors during compilation after updating Armory3D - Update SDK #2945

Closed Dzynek closed 1 year ago

Dzynek commented 1 year ago

Thank you for contributing to Armory!

Description Errors during compilation after updating Armory3D - Update SDK

D:\Armory3D\SDK\ArmorySDK2310\armsdk/nodejs/node.exe D:\Armory3D\SDK\ArmorySDK2310\armsdk/Kha/make krom -g direct3d11 --shaderversion 330 --parallelAssetConversion 4 --to build_test/debug --quiet Traceback (most recent call last): File "D:\Armory3D\SDK\ArmorySDK2310\armsdk/armory\blender\arm\props_ui.py", line 1182, in invoke return self.execute(context) File "D:\Armory3D\SDK\ArmorySDK2310\armsdk/armory\blender\arm\props_ui.py", line 1205, in execute make.play() File "D:\Armory3D\SDK\ArmorySDK2310\armsdk/armory\blender\arm\make.py", line 595, in play compile(assets_only=(not wrd.arm_recompile)) File "D:\Armory3D\SDK\ArmorySDK2310\armsdk/armory\blender\arm\make.py", line 404, in compile state.proc_build = run_proc(cmd, build_done) File "D:\Armory3D\SDK\ArmorySDK2310\armsdk/armory\blender\arm\make.py", line 81, in run_proc p = subprocess.Popen(cmd) File "D:\Armory3D\Blender\3.6\python\lib\subprocess.py", line 971, in init self._execute_child(args, executable, preexec_fn, close_fds, File "D:\Armory3D\Blender\3.6\python\lib\subprocess.py", line 1456, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] Nie można odnaleźć określonego pliku Error: Python: Traceback (most recent call last): File "D:\Armory3D\SDK\ArmorySDK2310\armsdk/armory\blender\arm\props_ui.py", line 1182, in invoke return self.execute(context) File "D:\Armory3D\SDK\ArmorySDK2310\armsdk/armory\blender\arm\props_ui.py", line 1205, in execute make.play() File "D:\Armory3D\SDK\ArmorySDK2310\armsdk/armory\blender\arm\make.py", line 595, in play compile(assets_only=(not wrd.arm_recompile)) File "D:\Armory3D\SDK\ArmorySDK2310\armsdk/armory\blender\arm\make.py", line 404, in compile state.proc_build = run_proc(cmd, build_done) File "D:\Armory3D\SDK\ArmorySDK2310\armsdk/armory\blender\arm\make.py", line 81, in run_proc p = subprocess.Popen(cmd) File "D:\Armory3D\Blender\3.6\python\lib\subprocess.py", line 971, in init self._execute_child(args, executable, preexec_fn, close_fds, File "D:\Armory3D\Blender\3.6\python\lib\subprocess.py", line 1456, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] Nie można odnaleźć określonego pliku

To Reproduce updating Armory3D (2023.10.0) - Update SDK

Expected behavior No errors :)

System Blender: 3.6.4 Armory: 2023.10.0 OS: Windows 11 Pro PL Graphics card: GTX 1070 8GB

Error.zip

rpaladin commented 1 year ago

Blender 2.6.4? I think you meant Blender 3.6.4?

Anyhow, I get this error a lot myself I believe. Refreshing Blender after reinstalling / updating Armory via Git usually solves the issue.

vmitro commented 1 year ago

Install the Armory Blender addon again.

Dzynek commented 1 year ago

Thanks, it's working now :)

Yes Blender 3.6.4

Restore SDK, restarted Blender and updated Update SDK, restarted Blender and it works.

Strange, because I had previously reinstalled Blender and the Armory3D plug-in and it didn't work

Dzynek commented 1 year ago

I forgot I did in Blender: File -> Default -> Load Factory Setting

rpaladin commented 1 year ago

If the issue is resolved, perhaps consider closing this issue?