Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1188975

Bug#1065405: rocm_agent_enumerator: invalid escape sequence

From Cordell Bloor <cgmb@slerp.xyz>
Newsgroups linux.debian.bugs.dist
Subject Bug#1065405: rocm_agent_enumerator: invalid escape sequence
Date 2024-03-04 01:10 +0100
Message-ID <Ie441-efe6-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Package: rocminfo
Version: 5.7.1-1
Severity: normal
X-Debbugs-Cc: cgmb@slerp.xyz

Dear Maintainer,

There are warnings emitted on stderr when running rocm_agent_enumerator:

# rocm_agent_enumerator
/usr/bin/rocm_agent_enumerator:152: SyntaxWarning: invalid escape sequence '\A'
  line_search_term = re.compile("\A\s+Name:\s+(amdgcn-amd-amdhsa--gfx\d+)")
/usr/bin/rocm_agent_enumerator:154: SyntaxWarning: invalid escape sequence '\A'
  line_search_term = re.compile("\A\s+Name:\s+(gfx\d+)")
/usr/bin/rocm_agent_enumerator:175: SyntaxWarning: invalid escape sequence '\w'
  target_search_term = re.compile("1002:\w+")
gfx000
gfx906

These regular expressions should use raw strings.

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.6.15-amd64 (SMP w/32 CPU threads; PREEMPT)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages rocminfo depends on:
ii  kmod                31+20240202-2
ii  libc6               2.38-6
ii  libgcc-s1           14-20240221-2.1
ii  libhsa-runtime64-1  5.7.1-1
ii  libstdc++6          14-20240221-2.1
ii  pciutils            1:3.10.0-2+b1
ii  python3             3.12.1-1

rocminfo recommends no packages.

rocminfo suggests no packages.

-- no debconf information

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#1065405: rocm_agent_enumerator: invalid escape sequence Cordell Bloor <cgmb@slerp.xyz> - 2024-03-04 01:10 +0100

csiph-web