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

fix: Add workaround for warning from nbconvert. #19

Merged
merged 2 commits into from
Jul 26, 2023

Conversation

mbelak-dtml
Copy link
Collaborator

When executing a notebook during export to HTML, nbconvert prints the following warning:

0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.

The workaround is to temporarily set the environment variable according to the suggestion in the warning. It can be safely disabled since we do not need debugging.

When executing a notebook during export to HTML, `nbconvert` prints the following warning:
```
0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
```

The workaround is to temporarily set the environment variable according to the suggestion in the warning.
It can be safely disabled since we do not need debugging.
@mbelak-dtml mbelak-dtml requested a review from lukany July 25, 2023 14:34
@mbelak-dtml mbelak-dtml self-assigned this Jul 25, 2023
edvart/report.py Outdated Show resolved Hide resolved
@lukany lukany added this pull request to the merge queue Jul 26, 2023
Merged via the queue into datamole-ai:main with commit 2ea1c9b Jul 26, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants