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] qmk_firmware/./util/uf2conv.py:217: SyntaxWarning: invalid escape sequence '\s' #23160

Closed
2 tasks
haunt98 opened this issue Feb 27, 2024 · 3 comments · Fixed by #23163
Closed
2 tasks

Comments

@haunt98
Copy link

haunt98 commented Feb 27, 2024

Describe the Bug

I try to compile sofle v2, using rp2040 convert but qmk show this error instead

/Users/XXX/qmk_firmware/./util/uf2conv.py:217: SyntaxWarning: invalid escape sequence '\s'
  words = re.split('\s+', line)

Keyboard Used

sofle v2

Link to product page (if applicable)

No response

Operating System

macos

qmk doctor Output

Ψ QMK Doctor is checking your environment.
Ψ CLI version: 1.1.2
Ψ QMK home: /Users/anon/qmk_firmware
Ψ Detected macOS 14.3.1 (Apple Silicon).
Ψ Userspace enabled: False
Ψ Git branch: master
Ψ Repo version: 0.23.9
Ψ - Latest master: 2024-02-21 14:35:39 -0800 (4e04da397e) -- [Keyboard] Add the Compensator (#23103)
Ψ - Latest upstream/master: 2024-02-21 14:35:39 -0800 (4e04da397e) -- [Keyboard] Add the Compensator (#23103)
Ψ - Latest upstream/develop: None
Ψ - Common ancestor with upstream/master: 2024-02-21 14:35:39 -0800 (4e04da397e) -- [Keyboard] Add the Compensator (#23103)
Ψ - Common ancestor with upstream/develop: None
Ψ CLI installed in virtualenv.
Ψ All dependencies are installed.
Ψ Found arm-none-eabi-gcc version 8.5.0
Ψ Found avr-gcc version 8.5.0
Ψ Found avrdude version 7.3
Ψ Found dfu-programmer version 1.1.0
Ψ Found dfu-util version 0.11
Ψ Submodules are up to date.
Ψ Submodule status:
Ψ - lib/chibios: 2023-04-15 13:48:04 +0000 --  (11edb1610)
Ψ - lib/chibios-contrib: 2023-07-17 11:39:05 +0200 --  (da78eb37)
Ψ - lib/googletest: 2021-06-11 06:37:43 -0700 --  (e2239ee6)
Ψ - lib/lufa: 2022-08-26 12:09:55 +1000 --  (549b97320)
Ψ - lib/vusb: 2022-06-13 09:18:17 +1000 --  (819dbc1)
Ψ - lib/printf: 2022-06-29 23:59:58 +0300 --  (c2e3b4e)
Ψ - lib/pico-sdk: 2023-02-12 20:19:37 +0100 --  (a3398d8)
Ψ - lib/lvgl: 2022-04-11 04:44:53 -0600 --  (e19410f8)
Ψ QMK is ready to go

Is AutoHotKey / Karabiner installed

  • AutoHotKey (Windows)
  • Karabiner (macOS)

Other keyboard-related software installed

No response

Additional Context

No response

@fauxpark
Copy link
Member

Looks like that string is missing the r prefix to mark it as a raw literal.

@zvecr zvecr linked a pull request Feb 27, 2024 that will close this issue
14 tasks
@zvecr zvecr closed this as completed Feb 28, 2024
@redblobgames
Copy link

Looks like that string is missing the r prefix to mark it as a raw literal.

I think that may be true in lib/python/qmk/cli/mass_compile.py and lib/python/qmk/cli/bux.py too

@zvecr
Copy link
Member

zvecr commented Mar 21, 2024

Looks like that string is missing the r prefix to mark it as a raw literal.

I think that may be true in lib/python/qmk/cli/mass_compile.py and lib/python/qmk/cli/bux.py too

#22562

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants