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.

W&B process failed to launch, see: wandb\debug.log

See original GitHub issue

wandb --version && python --version && uname

  • Weights and Biases version: 0.9.0
  • Python version:3.7
  • Operating System:win10

Description

I run my program in pycharm 2020 and init wandb with this code:wandb.init(project="future_trade_test", sync_tensorboard=True), and it show this error:

Traceback (most recent call last):
  File "C:\Users\zkx74\Anaconda3\lib\site-packages\wandb\internal_cli.py", line 106, in <module>
    main()
  File "C:\Users\zkx74\Anaconda3\lib\site-packages\wandb\internal_cli.py", line 98, in main
    headless(args)
  File "C:\Users\zkx74\Anaconda3\lib\site-packages\wandb\internal_cli.py", line 54, in headless
    util.sentry_reraise(e)
  File "C:\Users\zkx74\Anaconda3\lib\site-packages\wandb\util.py", line 94, in sentry_reraise
    six.reraise(type(exc), exc, sys.exc_info()[2])
  File "C:\Users\zkx74\Anaconda3\lib\site-packages\six.py", line 696, in reraise
    raise value
  File "C:\Users\zkx74\Anaconda3\lib\site-packages\wandb\internal_cli.py", line 52, in headless
    user_process_pid, stdout_master_fd, stderr_master_fd)
  File "C:\Users\zkx74\Anaconda3\lib\site-packages\wandb\run_manager.py", line 1140, in wrap_existing_process
    stderr_read_file = os.fdopen(stderr_read_fd, 'rb')
  File "C:\Users\zkx74\Anaconda3\lib\os.py", line 1027, in fdopen
    return io.open(fd, *args, **kwargs)
OSError: [WinError 6] 句柄无效。
wandb: ERROR W&B process (PID 20148) did not respond
wandb: ERROR W&B process failed to launch, see: wandb\debug.log
Traceback (most recent call last):
  File "E:/PycharmProjects/test_parallel3/run_paraellel3.py", line 14, in <module>
    wandb.init(project="future_trade_test", sync_tensorboard=True)
  File "C:\Users\zkx74\Anaconda3\lib\site-packages\wandb\__init__.py", line 1123, in init
    _init_headless(run)
  File "C:\Users\zkx74\Anaconda3\lib\site-packages\wandb\__init__.py", line 312, in _init_headless
    "W&B process failed to launch, see: {}".format(path))
wandb.run_manager.LaunchError: W&B process failed to launch, see: wandb\debug.log

The wired thing is if I run it with debug mode, wandb init normally. And I can also run another project with wandb normally. The project which have this problem is copied from my friend who is also using Wandb, I guess this may have some connections with the bug?

Here is my debug.log:

2020-06-08 17:00:42,080 DEBUG   MainThread:20148 [git_repo.py:repo():30] git repository is invalid
2020-06-08 17:00:42,163 DEBUG   MainThread:20148 [run_manager.py:__init__():547] Initialized sync for future_trade_test/uip8waey

What I Did

Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
issue-label-bot[bot]commented, Jun 8, 2020

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.93. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

0reactions
farizrahman4ucommented, Mar 2, 2021

Should be working on wandb/client now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

W&B process failed to launch, see: wandb\debug.log #1089
Description. I run my program in pycharm 2020 and init wandb with this code: wandb.init(project="future_trade_test", sync_tensorboard=True) ...
Read more >
Agent bug? File not found error - W&B Help - WandB community
Hi I'm using kaggle with Pytorch and W&B Weights and Biases version: 0.12.11 Python version: 3.7.12 Description: When using the attached ...
Read more >
Saving weights and logs at step 1252 · flax-community/pino-bigbird ...
"Unable to display metrics through TensorBoard because the package is not ... + with open(os.path.join(save_dir, "opt_state.msgpack"), "wb") as f:.
Read more >
Version Control Data and Models with W&B Artifacts - YouTube
In this video, Weights & Biases Deep Learning Educator Charles Frye demonstrates how to instrument an ML pipeline with Artifacts, a version ...
Read more >
Debugging Neural Networks with PyTorch and W&B
In this post, we'll see what makes a neural network under perform and ways we ... Using wandb.log() I was able to log...
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