Genie Discord forum

I tried to start Genie Builder but got the error: "cannot bind to port; may already be in use or access denied". I am using windows and Julia version 1.8.2.

@eli always stop/shut down your server using Ctrl+C key. this will close the genie server and free the port. Right now your that port is already occupied. You can restart your PC, this will automatically free your port. or else you can change the port number in configuration and run the server on some other port.

on *nix you can also kill all the Julia processes via terminal, with sudo killall julia

sometimes the apps don't get properly stopped - we'll look into it

on windows you could kill all julia processes with taskkill /F /IM julia.exe /T

then just restart the Genie Builder server (and/or VSCode)

Thank you both! I tried restarting the PC yesterday and the error occurred again, but restarting again today seems to have fixed it. However, launching the no code editor still results in a blank screen:

Also, I have only gotten the Genie Builder Server running after changing App Server Port to 8000. When set to the default 10101, it doesn't seem to finish starting. But with 8000, I still get the blank screen.

@essenciary Any ideas what I'm doing wrong?

@eli can you try with the GB insider version on VScode? Also, try resetting the environment by deleting the ~/.julia/geniebuilder folder

Will try now!

@Pere So I uninstalled GB and installed GB insider, then deleted ~/.julia/geniebulder and left the port at default 10101. Now when I click Start Server it goes through the loading process and Current Status changes from "starting" to "running" for a few moments before changing back to "stopped". It allow me to click "create app" but then gives the error that it appears no server is running. It appears there are julia processes running in the background for the server because when I run the kill all julia processes it kills 2 processes.

I thought I would try GB Insider in Windows Subsystem for Linux to get around a potential problem with windows. Unfortunately, this didn't work either. The server appeared to start correctly. However, when I tried to launch an app there was an issue with the GenieBuilder environment not being instantiated. After manually instantiating the environment, I ran into the following error:

@eli don't know what to say, should work equally well on windows

what versions of Julia, VSCode and GenieBuilder are you using?

I suggest opening an issue on Github so we can dive in it

Genie Builder is now working for me!