Jupyter Notebook Run Error

Hi I am currently working on Pycharm 2020.1.3 on Ubuntu 19.10, but I can't run any ipynb file with it. Creating even a brand new, empty file from within pycharm and attempting to run a cell brings up the error:

Unexpected character ('<' (code 60)): expected a valid value (JSON String, Number, Array, Object or token 'null', 'true' or 'false')
at [Source: (String)"<!DOCTYPE HTML>

<meta charset="utf-8">

<title>Jupyter Notebook</title>
<link id="favicon" rel="shortcut icon" type="image/x-icon" href="/static/base/images/favicon.ico?v=97c6417ed01bdc0ae3ef32ae4894fd03">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link rel="stylesheet" href="/static/components/jquery-ui/themes/smoothness/jquery-ui.min.css?v=3c2a865c832a1322285c55c6ed99abb2" type="text/css" />
<link rel="stylesheet" href="/static/components/jq"[truncated 8709 chars]; line: 1, column: 2]


This error appears with any .ipynb notebook, rendering it a useless feature. Is there a way to fix this?

Comment actions Permalink

Does it work when you use a Managed server?

It seems to be similar to https://youtrack.jetbrains.com/issue/PY-40446 though.

Comment actions Permalink

Do you mean whether the notebook works when using jupyter from the command line in browser? If so, then yes.

Comment actions Permalink

I meant the managed server in PyCharm:

But it's good to know that it works in the command line.


Comment actions Permalink

Hey Sergey,

right I misunderstood that then. I just tested it with the managed server and it works on that as well.

Comment actions Permalink

So it happens only when you use that specific (configured) server, right?
How do you start it?


Please sign in to leave a comment.