question-mark
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.

ERROR: Abnormal program exit

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:17 (2 by maintainers)

github_iconTop GitHub Comments

6reactions
michelkokcommented, Sep 16, 2020

To me downgrading wandb to 0.9.7 mitigated the problem. It seems to be a problem with the newest version only.

6reactions
issue-label-bot[bot]commented, Sep 14, 2020

Issue-Label Bot is automatically applying the label bug to 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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ERROR: Abnormal program exit · Issue #1236 - GitHub
Error: Couldn't communicate with backend after 5 seconds wandb: ERROR Abnormal program exit Traceback (most recent call last): File ...
Read more >
ERROR Abnormal program exit - W&B Help - WandB community
I am using wandb version 0.13.5 on python 3.6.9 (Linux kernel version: 4.14.281-212.502.amzn2.x86_64). I have a problem running wandb.init() ...
Read more >
What Does Abnormal Program Termination on Microsoft Mean?
Abnormal program termination refers to a runtime error where an unexpected or unusual fault occurs and Windows must close the program.
Read more >
Runtime Error-abnormal program termination on Windows 10
Go to Start Button/>Settings/>Update & Security/> Windows Update and check for any available updates. Also suggest you to check and install all ...
Read more >
[FIX] Runtime Error Abnormal Program Termination In ...
FIX: Runtime Error Abnormal Program Termination In Windows 10/8/7 · 1. Run the SFC scan or DISM commands to fix file corruption on...
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found