Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Run from within a Jupyter Notebook

See original GitHub issue

When the following code is run from a file or from the Python interpreter, it runs as expected, collecting a new dataset. However, when run from within a Jupyter Notebook, it complains that KeyError: u'dallinger_email_password is not a valid configuration key'.

import dallinger

experiment = dallinger.experiments.Bartlett1932()
data = experiment.collect(

Test files:

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

suchowcommented, Jul 15, 2017

@MatthewWilkes I don’t see any issue with using your fork. The pexpect license is permissive, and so if your contribution to pexpect is licensed under the same terms, it shouldn’t pose any problems.

With respect to NGS2, we promised that all the code produced as part of the program would be open source and permissively licensed, not that it’s specifically MIT licensed; this meets those requirements.

MatthewWilkescommented, Sep 11, 2017

I’ve added PR #736 that works around this. Modifying pexpect turned out to be a rabbithole, it’s not possible to support its functionality adequately well enough to make something useful. A lot of the same fixes needed were in common with @jessesnyder #707 branch, which makes sense as they’re both about getting useful information from subprocesses when not using a terminal.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Running Code — Jupyter Notebook 6.5.2 documentation
Alt-Enter runs the current cell and inserts a new one below. Ctrl-Enter run the current cell and enters command mode. Managing the Kernel ......
Read more >
How to Use Jupyter Notebooks - Codecademy
To run a piece of code, click on the cell to select it, then press SHIFT+ENTER or press the play button in the...
Read more >
Running the Notebook - Jupyter Documentation
Notebooks can be executed from your terminal using the run subcommand. It expects notebook paths as input arguments and accepts optional flags to...
Read more >
Running a Jupyter notebook and its cells - YouTube
Interrupting and shutting down a Jupyter notebook · Setup Jupyter HotKey Shortcut to Run All - Avoid State problem in Jupyter Notebooks ·...
Read more >
Running Jupyter Notebooks
Running a Jupyter Notebook from Another Jupyter Notebook¶ · From the left Sidebar, select and right-click on the Jupyter notebook that has to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found