Failing to run whole Jupyter notebook in PyCharm 2019.3.1

I am trying to use this new feature of Pycharm 2019's new look Jupyter of running/debugging a whole notebook like a normal python script. I can run cells with no problem but trying to run/debug the whole notebook (which, by the way, is interspersed with markdown cells), gives following error:  

"collapsed": false
NameError: name 'false' is not defined

OSX 10.14.5. / PyCharm 2019.3.1. / Python 3.7/ Anaconda3/ Jupyter 1.0.0 (core 4.5) 

What can I do to fix this please?

5 comments
Comment actions Permalink

I also don't succeed in placing a breakpoint and debugging a cell - neither work and do nothing.

0
Comment actions Permalink

@Shahinzibaee How do you run the whole notebook? Please describe in more detail what you're doing.

@Bart - What happens when you place caret inside a cell and press Ctrl+F8 ?

0
Comment actions Permalink

I can't run the whole notebook. That's why I posted here. 

As I understand it, we should be able to run a whole notebook (which as I understand it is a new feature in PyCharm 2019 with the new Jupyter format) in the same way as we run a normal python script, namely add the run configuration, and click the green go triangle button (or the green bug) button in the top right of the IDE. 

There's no more detail that I can think of to describe this. It just doesn't run the cells. 

0
Comment actions Permalink

> PyCharm 2019.3.1

You've probably meant 2019.1.3

But this feature will appear in 2019.2, which is not yet released.

You can test it in EAP build though: https://www.jetbrains.com/pycharm/nextversion/

0
Comment actions Permalink

yes of course I meant 2019.1.3.

Looking forward to 2019.2.

If I have time I will test it in EAP.

0

Please sign in to leave a comment.