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

WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/ppadb/device.py:34: SyntaxWarning: invalid escape sequence '\s' #119760

Closed
yarafie opened this issue Jun 16, 2024 · 3 comments

Comments

@yarafie
Copy link

yarafie commented Jun 16, 2024

The problem

Getting the below Warningd

2024-06-16 05:52:59.633 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/ppadb/device.py:34: SyntaxWarning: invalid escape sequence '\s'
INSTALL_RESULT_PATTERN = "(Success|Failure|Error)\s?(.)"
2024-06-16 05:52:59.634 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/ppadb/command/transport/init.py:95: SyntaxWarning: invalid escape sequence '['
result_pattern = "^[([\s\S]
?)]: [([\s\S]?)]\r?$"
2024-06-16 05:52:59.639 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/ppadb/plugins/device/utils.py:35: SyntaxWarning: invalid escape sequence '\s'
pattern = "ACTIVITY\s([\w.]+)/([\w.]+)\s[\w\d]+\spid=([\d]+)"
2024-06-16 05:52:59.639 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/ppadb/plugins/device/utils.py:48: SyntaxWarning: invalid escape sequence '\s'
total_meminfo_re = re.compile('\s
TOTAL\s*(?P\d+)'
2024-06-16 05:52:59.639 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/ppadb/plugins/device/utils.py:49: SyntaxWarning: invalid escape sequence '\s'
'\s*(?P<private_dirty>\d+)'
2024-06-16 05:52:59.639 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/ppadb/plugins/device/utils.py:50: SyntaxWarning: invalid escape sequence '\s'
'\s*(?P<private_clean>\d+)'
2024-06-16 05:52:59.639 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/ppadb/plugins/device/utils.py:51: SyntaxWarning: invalid escape sequence '\s'
'\s*(?P<swapped_dirty>\d+)'
2024-06-16 05:52:59.639 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/ppadb/plugins/device/utils.py:52: SyntaxWarning: invalid escape sequence '\s'
'\s*(?P<heap_size>\d+)'
2024-06-16 05:52:59.639 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/ppadb/plugins/device/utils.py:53: SyntaxWarning: invalid escape sequence '\s'
'\s*(?P<heap_alloc>\d+)'
2024-06-16 05:52:59.639 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/ppadb/plugins/device/utils.py:54: SyntaxWarning: invalid escape sequence '\s'
'\s*(?P<heap_free>\d+)')
2024-06-16 05:52:59.639 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/ppadb/plugins/device/utils.py:85: SyntaxWarning: invalid escape sequence '\d'
pattern = "userId=([\d]+)"
2024-06-16 05:52:59.639 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/ppadb/plugins/device/utils.py:102: SyntaxWarning: invalid escape sequence '\d'
pattern = "versionName=([\d.]+)"
2024-06-16 05:52:59.642 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/ppadb/plugins/device/wm.py:12: SyntaxWarning: invalid escape sequence '\s'
SIZE_RE = 'Physical size:\s([\d]+)x([\d]+)'
2024-06-16 05:52:59.643 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/ppadb/plugins/device/traffic.py:36: SyntaxWarning: invalid escape sequence '\d'
pattern = "userId=([\d]+)"
2024-06-16 05:52:59.645 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/ppadb/plugins/device/cpustat.py:90: SyntaxWarning: invalid escape sequence '\s'
"cpu\s+([\d]+)\s([\d]+)\s([\d]+)\s([\d]+)\s([\d]+)\s([\d]+)\s([\d]+)\s([\d]+)\s([\d]+)\s([\d]+)\s")

What version of Home Assistant Core has the issue?

core-2024.6.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

No response

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@home-assistant
Copy link

Hey there @JeffLIrion, @ollo69, mind taking a look at this issue as it has been labeled with an integration (androidtv) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of androidtv can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign androidtv Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


androidtv documentation
androidtv source
(message by IssueLinks)

@elupus
Copy link
Contributor

elupus commented Jun 16, 2024

Upstream issue Swind/pure-python-adb#111

@mib1185
Copy link
Contributor

mib1185 commented Jun 16, 2024

@mib1185 mib1185 closed this as not planned Won't fix, can't repro, duplicate, stale Jun 16, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jul 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants