Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] CLI mode flag results in error for nxdt_host.py #163

Open
PolyCatDev opened this issue Apr 30, 2024 · 1 comment
Open

[BUG] CLI mode flag results in error for nxdt_host.py #163

PolyCatDev opened this issue Apr 30, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@PolyCatDev
Copy link

Problem

Error while trying to run nxdt_host.py in CLI mode.
GUI mode works perfectly tho.

Steps to reproduce

  1. Set up py enviroment
  2. run python nxdt_host.py -c

Log

nxdumptool host script v0.4. Copyright (c) 2020-2024, DarkMatterCore.
Output directory: "/var/home/polycat/Downloads/nxdumptool/host/nxdumptool".

Traceback (most recent call last):
  File "/var/home/polycat/Downloads/nxdumptool/host/nxdt_host.py", line 1430, in <module>
    ret = main()
          ^^^^^^
  File "/var/home/polycat/Downloads/nxdumptool/host/nxdt_host.py", line 1419, in main
    cliInitialize()
  File "/var/home/polycat/Downloads/nxdumptool/host/nxdt_host.py", line 1375, in cliInitialize
    usbCommandHandler()
  File "/var/home/polycat/Downloads/nxdumptool/host/nxdt_host.py", line 1057, in usbCommandHandler
    if not usbGetDeviceEndpoints():
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/home/polycat/Downloads/nxdumptool/host/nxdt_host.py", line 607, in usbGetDeviceEndpoints
    assert g_stopEvent is not None
AssertionError

OS

Fedora Linux Silverblue 40

@PolyCatDev PolyCatDev added the bug Something isn't working label Apr 30, 2024
@PolyCatDev
Copy link
Author

ok. I looked around in the code and I tracked down the issue to the usbCommandHandler() function. It might be Linux thing. Imma have a look at it on a Win machine when I can.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant