Can't open KodeStudio from blender

question
#1

Hi everyone. Total noob here. I just downloaded Armory and when I create a new script and try to edit it, blender gives me the error below. Did I install something incorrectly? It seems like it can’t find KodeStudio, but weirdly enough it will open when I create and edit a canvas.
Thanks for any help!

Traceback (most recent call last):
File “/private/var/folders/5z/38lmn33d5ygf_2dgwkd6w1nc0000gp/T/AppTranslocation/FE988BC6-67F0-4E42-9753-067A64D69B42/d/Armory.app//armsdk//armory/blender/arm/props_traits.py”, line 252, in execute
arm.utils.kode_studio(hx_path)
File “/private/var/folders/5z/38lmn33d5ygf_2dgwkd6w1nc0000gp/T/AppTranslocation/FE988BC6-67F0-4E42-9753-067A64D69B42/d/Armory.app//armsdk//armory/blender/arm/utils.py”, line 570, in kode_studio
kode_studio_mklink_mac(get_sdk_path())
File “/private/var/folders/5z/38lmn33d5ygf_2dgwkd6w1nc0000gp/T/AppTranslocation/FE988BC6-67F0-4E42-9753-067A64D69B42/d/Armory.app//armsdk//armory/blender/arm/utils.py”, line 545, in kode_studio_mklink_mac
subprocess.check_call(‘ln -fs “%s” “%s”’ % (target, source), shell=True)
File “/private/var/folders/5z/38lmn33d5ygf_2dgwkd6w1nc0000gp/T/AppTranslocation/FE988BC6-67F0-4E42-9753-067A64D69B42/d/Armory.app/Contents/Resources/2.79/python/lib/python3.5/subprocess.py”, line 271, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘ln -fs “/private/var/folders/5z/38lmn33d5ygf_2dgwkd6w1nc0000gp/T/AppTranslocation/FE988BC6-67F0-4E42-9753-067A64D69B42/d/Armory.app//armsdk//Kha” “/private/var/folders/5z/38lmn33d5ygf_2dgwkd6w1nc0000gp/T/AppTranslocation/FE988BC6-67F0-4E42-9753-067A64D69B42/d/Armory.app//armsdk//KodeStudio.app/Contents/Resources/app/kodeExtensions/kha/Kha”’ returned non-zero exit status 1

location: :-1

0 Likes

#2

There are some commit about changing the way armory open kode studio, i think this is the reason, I can’t open Kode Studio too, when i try to open it(from blender) it will open other IDE.
Look like we both are using mac, so it might only be mac problem, maybe you can file github issue.
Does anybody with windows and linux have this problem?

EDIT: It not bug, when you download armory from itch.io, you will get KodeStudio with it, what happened is that i didn’t download armory from itch rather clone Single-clone armsdk which don’t have Kode Studio, so i was actually missing it.

Since you are on MacOS:

  • Right-click on blender.app and select Show Package contents
  • Than go to armsdk folder and check if there is KodeStudio.app(has big K as icon)
0 Likes