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.

west update -jN fails on windows

See original GitHub issue

With west v0.12.0a2, on my windows 10 box running python 3.9.0:

C:\Users\Marti\zephyrproject>west update -j5
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
  File "c:\users\marti\v\west-0.12\lib\site-packages\west\app\project.py", line 874, in _update_concurrent_thread
    self.update(project)
  File "c:\users\marti\v\west-0.12\lib\site-packages\west\app\project.py", line 1132, in update
    log.banner(f'updating {project.name_and_path}:')
  File "c:\users\marti\v\west-0.12\lib\site-packages\west\log.py", line 91, in banner
    inf('===', *args, colorize=True)
  File "c:\users\marti\v\west-0.12\lib\site-packages\west\log.py", line 82, in inf
    print(*args)
OSError: [WinError 6] The handle is invalid

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\Marti\AppData\Local\Programs\Python\Python39-32\lib\multiprocessing\pool.py", line 125, in worker
    result = (True, func(*args, **kwds))
  File "c:\users\marti\v\west-0.12\lib\site-packages\west\app\project.py", line 880, in _update_concurrent_thread
    sys.stdout.flush()
OSError: [WinError 6] The handle is invalid
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:\Users\Marti\AppData\Local\Programs\Python\Python39-32\lib\runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\Marti\AppData\Local\Programs\Python\Python39-32\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\Marti\v\west-0.12\Scripts\west.exe\__main__.py", line 7, in <module>
  File "c:\users\marti\v\west-0.12\lib\site-packages\west\app\main.py", line 779, in main
    app.run(argv or sys.argv[1:])
  File "c:\users\marti\v\west-0.12\lib\site-packages\west\app\main.py", line 106, in run
    self.run_command(argv)
  File "c:\users\marti\v\west-0.12\lib\site-packages\west\app\main.py", line 336, in run_command
    cmd.run(args, unknown, self.topdir, manifest=self.manifest)
  File "c:\users\marti\v\west-0.12\lib\site-packages\west\commands.py", line 140, in run
    self.do_run(args, unknown)
  File "c:\users\marti\v\west-0.12\lib\site-packages\west\app\project.py", line 814, in do_run
    self.update_all()
  File "c:\users\marti\v\west-0.12\lib\site-packages\west\app\project.py", line 980, in update_all
    (failed, updated) = self.update_project_list(projects)
  File "c:\users\marti\v\west-0.12\lib\site-packages\west\app\project.py", line 938, in update_project_list
    failed, updated = self.update_project_list_parallel(projects)
  File "c:\users\marti\v\west-0.12\lib\site-packages\west\app\project.py", line 909, in update_project_list_parallel
    for index, successful in enumerate(
  File "C:\Users\Marti\AppData\Local\Programs\Python\Python39-32\lib\multiprocessing\pool.py", line 870, in next
    raise value
OSError: [WinError 6] The handle is invalid

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
M1chacommented, Aug 11, 2021

Yes I have a VM and will try to repro and debug it there.

0reactions
marc-hbcommented, Oct 14, 2021

Huge revert of the whole feature submitted in #549

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix Windows Update errors - Microsoft Support
This guided walk-through provides steps to fix problems with Windows Updates for Windows 8.1 and 7, such as taking a long time to...
Read more >
How to fix Windows Update problems on Windows 10
If Windows Update isn't working or showing an error, then use this guide to troubleshoot and resolve most frequent problems on Windows 10....
Read more >
Enabling Windows support for your Amazon EKS cluster
Disable Windows IPAM in the amazon-vpc-cni ConfigMap. kubectl patch configmap/amazon-vpc-cni \-n ...
Read more >
How to Fix Windows Update's Error 0x8024a205
This particular error occurs when the update being installed is incompatible with the device running it, or when the download times out due...
Read more >
KOMPLETE KONTROL Error Message: "Loading Issue. Could ...
Could not load Plug-in." (Windows). Symptom. When trying to load a preset from the KOMPLETE KONTROL browser, you might receive the following error...
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