Genie Discord forum

Author Avatarmcheart
6/1/2023, 6:26:26 PM

I am trying to start and build a new project on Vscode, unfortunately, the starting process seems to be stuck in a loop.

Author Avatarabhimanyuaryan
6/3/2023, 11:01:00 AM

Would you like to attempt again? Terminate the Julia/VSCode process from the activity monitor/task manager. What is the version of Julia? What is the version of GenieBuilder?

Author AvatarGenerallyClueless
6/23/2023, 6:33:51 PM

Hi, I am experiencing exctly this same issue.

Author AvatarGenerallyClueless
6/23/2023, 6:36:06 PM

In my case, it appears that Genie Builder does not know where to look for julia

Author AvatarGenerallyClueless
6/23/2023, 6:36:36 PM

I am using linux and have added julia to the $PATH variable

Author AvatarGenerallyClueless
6/23/2023, 6:37:43 PM

Can anyone tell me where GB expects to find Julia?? I can add a static link to my julia bin

Author AvatarGenerallyClueless
6/23/2023, 6:41:12 PM

๐Ÿ˜ณ admittedly, I am very new to Julia.. I have used it for a couple of hours throughout the past two weeks... so maybe I did something out-of-the-ordinary during my installation (like install julia in a folder in my home drive, rather than /usr or /etc ... or somewhere "more special")

Author AvatarGenerallyClueless
6/23/2023, 6:42:46 PM

I have no problem running other julia in VScode... so I doubt it's a problem ๐Ÿฅบ

Author AvatarGenerallyClueless
6/23/2023, 6:45:34 PM

... yes, I have done the basic troubleshooting like restart VS Code after installation of the extension.... and yes, I removed the extension and reinstalled it.

Author AvatarGenerallyClueless
6/23/2023, 6:48:58 PM

This snippet shows that VSCode has the correct path... so I'm not sure if it is a simple configuration issue, or something else ๐Ÿ˜ž

Author AvatarPere
6/23/2023, 8:31:27 PM

@GenerallyClueless what OS are you on? It appears that Julia is not in your PATH variable, hence why it is not found when Genie Builder runs the startup command. To confirm that this is the issue, type "julia" in a terminal

If you're on Linux or Mac, you'll have to add your Julia install to the path by editing your profile config (.bashrc or .zshrc)

https://zwbetz.com/how-to-add-a-binary-to-your-path-on-macos-linux-windows/

Author AvatarGenerallyClueless
6/23/2023, 8:33:35 PM

Yup @Pere I had not correctly added julia to my path. Previously, I had added it to the path without using quotes ๐Ÿ˜ณ ๐Ÿ˜ณ It is working now.

Author AvatarGenerallyClueless
6/23/2023, 8:36:52 PM

Thank you for your advice. I had even gone as far as editing the /etc/environment file ... but for some reason this path was never reflected in the VSC terminal... until I added it using PATH="path to julia bin folder:$PATH" <---- the " " are very important hereโ€ผ๏ธ

Author AvatarGenerallyClueless
6/23/2023, 8:37:25 PM

๐Ÿ† thanks again @Pere

Author AvatarGenerallyClueless
6/23/2023, 8:42:52 PM

@mcheart if you had not resolved your server startup issue, this might help?