qmk/qmk_firmware

[Bug] Flashing via docker does not work

Open

#24.698 aperta il 9 dic 2024

Vedi su GitHub
 (1 commento) (1 reazione) (0 assegnatari)C (43.867 fork)batch import
bughelp wanted

Metriche repository

Star
 (20.368 star)
Metriche merge PR
 (Merge medio 20g 9h) (27 PR mergiate in 30 g)

Descrizione

Describe the Bug

$ RUNTIME=podman util/docker_build.sh kinesis/kint36:workman:flash
Traceback (most recent call last):
  File "/home/hasufell/.local/bin/qmk", line 5, in <module>
    from qmk_cli.script_qmk import main
ModuleNotFoundError: No module named 'qmk_cli'
podman run --rm -it --privileged -v /dev:/dev:rw -w /qmk_firmware -v /home/hasufell/git/qmk_firmware-master:/qmk_firmware:z --group-add keep-groups -e SKIP_GIT= -e SKIP_VERSION= -e MAKEFLAGS= ghcr.io/qmk/qmk_cli make kinesis/kint36:workman:flash
QMK Firmware 0.11.68
Making kinesis/kint36 with keymap workman and target flash

arm-none-eabi-gcc (15:8-2019-q3-1+b1) 8.3.1 20190703 (release) [gcc-8-branch revision 273027]
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Size before:
   text	   data	    bss	    dec	    hex	filename
      0	  28044	      0	  28044	   6d8c	kinesis_kint36_workman.hex

Copying kinesis_kint36_workman.hex to qmk_firmware folder                                           [OK]

Size after:
   text	   data	    bss	    dec	    hex	filename
      0	  28044	      0	  28044	   6d8c	kinesis_kint36_workman.hex

Flashing for bootloader: halfkay
Teensy Loader, Command Line, Version 2.1
Read ".build/kinesis_kint36_workman.hex": 28044 bytes, 2.7% usage
Unable to claim interface, check USB permissions
Waiting for Teensy device...
 (hint: press the reset button)
Unable to claim interface, check USB permissions
Unable to claim interface, check USB permissions
Unable to claim interface, check USB permissions
Unable to claim interface, check USB permissions
^Cmake[1]: *** [platforms/chibios/flash.mk:98: flash] Interrupt
make: *** [Makefile:414: kinesis/kint36:workman:flash] Interrupt
make: *** wait: No child processes.  Stop.

Keyboard Used

kinesis/kint36

Link to product page (if applicable)

No response

Operating System

OpenSUSE Tumbleweed

qmk doctor Output

Don't have a `qmk` binary, since I'm using docker.

Is AutoHotKey / Karabiner installed

  • AutoHotKey (Windows)
  • Karabiner (macOS)

Other keyboard-related software installed

No response

Additional Context

No response

Guida contributor