wandb: ERROR: Abnormal program exit
wandb --0.10.0 && python --3.6.12
- Weights and Biases version: 0.10.0
- Python version: 3.6
- Operating System: Linux Ubuntu 18.06
Description
Cannot run wandb.init()
What I Did
(kg) junhao@compute006:~$ python
Python 3.6.12 |Anaconda, Inc.| (default, Sep 8 2020, 23:10:56)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import wandb
>>> wandb.init()
wandb: (1) Create a W&B account
wandb: (2) Use an existing W&B account
wandb: (3) Don't visualize my results
wandb: Enter your choice: 2
wandb: You chose 'Use an existing W&B account'
wandb: You can find your API key in your browser here: https://app.wandb.ai/authorize
wandb: Paste an API key from your profile and hit enter:
wandb: Appending key for api.wandb.ai to your netrc file: /home/junhao/.netrc
Problem at: <stdin> 1 <module>
Traceback (most recent call last):
File "/home/junhao/anaconda3/envs/kg/lib/python3.6/site-packages/wandb/sdk/wandb_init.py", line 479, in init
run = wi.init()
File "/home/junhao/anaconda3/envs/kg/lib/python3.6/site-packages/wandb/sdk/wandb_init.py", line 358, in init
_backend=backend, _disable_warning=True, _settings=self.settings
File "/home/junhao/anaconda3/envs/kg/lib/python3.6/site-packages/wandb/sdk/wandb_login.py", line 95, in _login
res = _backend.interface.communicate_login(key, anonymous)
File "/home/junhao/anaconda3/envs/kg/lib/python3.6/site-packages/wandb/interface/interface.py", line 438, in communicate_login
"Couldn't communicate with backend after %s seconds" % timeout
wandb.errors.error.Error: Couldn't communicate with backend after 5 seconds
wandb: ERROR Abnormal program exit
Traceback (most recent call last):
File "/home/junhao/anaconda3/envs/kg/lib/python3.6/site-packages/wandb/sdk/wandb_init.py", line 479, in init
run = wi.init()
File "/home/junhao/anaconda3/envs/kg/lib/python3.6/site-packages/wandb/sdk/wandb_init.py", line 358, in init
_backend=backend, _disable_warning=True, _settings=self.settings
File "/home/junhao/anaconda3/envs/kg/lib/python3.6/site-packages/wandb/sdk/wandb_login.py", line 95, in _login
res = _backend.interface.communicate_login(key, anonymous)
File "/home/junhao/anaconda3/envs/kg/lib/python3.6/site-packages/wandb/interface/interface.py", line 438, in communicate_login
"Couldn't communicate with backend after %s seconds" % timeout
wandb.errors.error.Error: Couldn't communicate with backend after 5 seconds
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/junhao/anaconda3/envs/kg/lib/python3.6/site-packages/wandb/sdk/wandb_init.py", line 513, in init
six.raise_from(Exception("problem"), error_seen)
File "<string>", line 3, in raise_from
Exception: problem
>>> B
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 5
- Comments: 23 (2 by maintainers)
Issue-Label Bot is automatically applying the label
bugto this issue, with a confidence of 0.84. Please mark this comment with π or π to give our bot feedback!Links: app homepage, dashboard and code for this bot.
To me downgrading wandb to 0.9.7 mitigated the problem. It seems to be a problem with the newest version only.
@vanpelt I am currently experiencing this issue now as well.
Same for me, I performed no changes on my env, and the script does not want to run anymore. Tried updating wandb without success.
Yep, definitely back. But itβs happened to me for the first time ever today without any package up/down-grade.
fyi, this seems to have worked for me: submit a job with
WANDB__SERVICE_WAIT=300 python code.py
edit: adding link where I foudn this solution, https://github.com/wandb/wandb/issues/4224
I am still experiencing similar issues, see out put below.
Iβm getting a similar error with the following stack trace:
with wandb v0.13.5
Any advice as to how to get around this? It seems to be failing sporadically as some jobs keep on running and others crash with this error periodically