Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dallinger debug not showing errors in models.py #6473

Open
Rowatsonn opened this issue Apr 29, 2024 · 0 comments
Open

Dallinger debug not showing errors in models.py #6473

Rowatsonn opened this issue Apr 29, 2024 · 0 comments

Comments

@Rowatsonn
Copy link

Expected Behavior

When debugging an experiment, Python errors should appear in the console (i.e. NameError etc.)

Current Behavior

In Dallinger version 10.1.0a1, adding random text to experiment.py will correctly cause an error to appear in the console. Doing the same in models.py will result in a generic error stating an "internal server error" but will not specify where the error occured. This makes debugging very difficult.

Steps to Reproduce (for bugs)

  1. Take a working experiment (e.g. Bartlett1932)
  2. Add random text into models.py and attempt to run using dallinger debug --verbose

Context

I was trying to build a new experiment, but wasn't able to properly debug early code because the experiment would not launch.

Your Environment

  • Dallinger version used: 10.1.0a1
  • Operating System and version (desktop or mobile): Desktop Ubuntu (virtual machine) 22
  • Browser and version (e.g. Chrome 39, node.js 5.4): Chrome 124
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant