Failed to query for notebook name
See original GitHub issuewandb --version && python --version && uname
- Weights and Biases version: 0.9.2
- Python version: 3.6.10 :: Anaconda, Inc.
- Operating System: Linux
Description
According to https://docs.wandb.com/library/integrations/jupyter#notebook-name, you can get rid of the error message
Failed to query for notebook name, you can set it manually with the WANDB_NOTEBOOK_NAME environment variable
by setting
os.environ['WANDB_NOTEBOOK_NAME'] = 'some text here'
However, this did not work when I ran wandb.init()
after import torch
.
What I Did
Python 3.6.10 |Anaconda, Inc.| (default, May 8 2020, 02:54:21)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.13.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import wandb
In [2]: import os
In [3]: os.environ['WANDB_NOTEBOOK_NAME'] = 'some text here'
In [4]: wandb.init()
<IPython.core.display.HTML object>
Out[4]: W&B Run: https://app.wandb.ai/tshmak/uncategorized/runs/1s4m5go1
In [5]: import torch
In [6]: wandb.init()
<IPython.core.display.HTML object>
Failed to query for notebook name, you can set it manually with the WANDB_NOTEBOOK_NAME environment variable
SIGWINCH handler was not None: <Handlers.SIG_DFL: 0>
Out[6]: W&B Run: https://app.wandb.ai/tshmak/uncategorized/runs/2dsu7jlm
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:13 (4 by maintainers)
Top Results From Across the Web
Failed to query for notebook name #1153 - wandb ... - GitHub
Failed to query for notebook name, you can set it manually with the WANDB_NOTEBOOK_NAME environment variable. by setting.
Read more >Tracking Jupyter Notebooks - Documentation - Weights & Biases
If you're seeing the error message "Failed to query for notebook name, you can set it manually with the WANDB_NOTEBOOK_NAME environment variable," you...
Read more >Notebook validation failed Jupyter - Stack Overflow
First select all the cells in the Jupyter Notebook, then press the "cut/scissors" button ... Code to resave a notebook with the cell...
Read more >Jupyter · GitBook
If you're seeing the error message "Failed to query for notebook name, you can set it manually with the WANDB_NOTEBOOK_NAME environment variable," you...
Read more >I am trying to run a simple sql query from Jupyter notebook ...
I am trying to run a simple sql query from Jupyter notebook and I am running into the below error: Failed to find...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I also still have this issue using JupyterLab. Seeting the OS environment variable does not fix it either.
Issue-Label Bot is automatically applying the label
bug
to this issue, with a confidence of 0.73. Please mark this comment with 👍 or 👎 to give our bot feedback!Links: app homepage, dashboard and code for this bot.