abhishekkrthakur / colabcode

Run VSCode (codeserver) on Google Colab or Kaggle Notebooks
MIT License
2.07k stars 276 forks source link

Starting with `mount_drive=True` hangs startup #86

Closed gbraad closed 3 years ago

gbraad commented 3 years ago

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?

gbraad commented 3 years ago

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.

abhishekkrthakur commented 3 years ago

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.