Unable to open scripts after opening on new computer

Hello,

I just opened JupyterLab on my new computer for the first time. I’m trying to open a script from my files but I am getting the following error. What do I do?

Thanks!

It’s kind of hard to tell really anything from the screenshot.

There may be more informative logs in:

  • the process that launched jupyterlab
  • the browser console tab (usually revealed with f12)
1 Like

This is what I see in the browser console. Does this help at all?

I launched JupyterLab via Anaconda Navigator

As a first cut, please try copying and opening from somewhere other than OneDrive.

The next, to get better process logs, try launching jupyterlab “the hard way”:

  • from the start menu (or perhaps Navigator, it’s been a while), start an Anaconda Prompt (black screen, blinking cursor)
  • navigate to the folder of interest:
    • cd c:\short-path-not-one-drive
  • start JupyterLab
    • jupyter lab

This console will stay open, and show informative logs. Be careful about posting them, as they will contain things like the “token” required to log in to your running JupyterLab: by default, it should only work for localhost, but…

2 Likes

I see. I was able to open the script when I copied it to somewhere outside of my OneDrive.

When I was on my laptop before, I was able to open scripts saved in my OneDrive. Do you have any idea why I’m not able to do that now? That’s where I save all my work, especially because there is confidential information in it so I’d prefer not to save anything locally. Let me know :slight_smile:

Unfortunately, as a non-windows user, I don’t know of any further workarounds. I can only recommend a deeper search of this forum, and potentially the various jupyter github organizations for existing discussions and issues.