abhishekkrthakur / colabcode

Run VSCode (codeserver) on Google Colab or Kaggle Notebooks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Starting with `mount_drive=True` hangs startup

gbraad opened this issue · comments

When the option to mount the drive is specified;

ColabCode(port=10000, password="pass", authtoken="[ngroktoken]", mount_drive=True)

... it will only start as:

Code Server can be accessed on: NgrokTunnel: "https://[tunnelid[.ngrok.io" -> "http://localhost:10000"

... and just hang. Any idea?

Actually;

ColabCode(port=10000, password="pass", authtoken="[ngroktoken]", mount_drive=False, lab=True)

does the same. It does start JupyterLab, but prevents Code from starting as the Lab process needs to be active and long-running.

I just tested it and it seems to be working fine. when mounting drive, you need to click on the link that is presented to you then authorize the colab to access drive and wait till its done mounting.