Bug#1072959: python3-paraview: Errors when setting up package

Christian Holm Christensen cholmcc at gmail.com
Mon Jun 10 22:34:58 BST 2024


Package: python3-paraview
Version: 5.12.1+dfsg-2
Severity: normal
X-Debbugs-Cc: cholmcc at gmail.com


When installing the package, the following errors are reported

=== Start error log ===
Setting up python3-paraview (5.12.1+dfsg-2) ...
/usr/lib/python3/dist-packages/paraview/benchmark/logparser.py:11:
SyntaxWarning: invalid escape sequence '\d'
  _timere = '([-+]?\d*\.?\d+([eE][-+]?\d+)?) +seconds'
/usr/lib/python3/dist-packages/paraview/benchmark/logparser.py:12:
SyntaxWarning: invalid escape sequence '\w'
  _match_filter = re.compile('Execute (\w+) id: +(\d+), +' + _timere)
/usr/lib/python3/dist-packages/paraview/benchmark/logparser.py:13:
SyntaxWarning: invalid escape sequence '\w'
  _match_vfilter = re.compile('Execute (\w+) *, +' + _timere)
/usr/lib/python3/dist-packages/paraview/benchmark/logparser.py:16:
SyntaxWarning: invalid escape sequence '\d'
  'TreeComp (Send|Receive) (\d+) (to|from) (\d+) uchar (\d+), +' + _timere)
/usr/lib/python3/dist-packages/paraview/benchmark/logparser.py:22:
SyntaxWarning: invalid escape sequence '\w'
  _match_render = re.compile('(\w+|\w+ Dev) Render, +' + _timere)
/usr/lib/python3/dist-packages/paraview/smtesting.py:88: SyntaxWarning: invalid
escape sequence '\$'
  regExp = re.compile("\${DataDir}")
/usr/lib/python3/dist-packages/paraview/smtrace.py:358: SyntaxWarning: invalid
escape sequence '\g'
  gid = re.sub(regex, "\g<2>", arrayName)
/usr/lib/python3/dist-packages/paraview/smtrace.py:362: SyntaxWarning: invalid
escape sequence '\g'
  arrayName = re.sub(regex, "\g<3>", arrayName)
/usr/lib/python3/dist-packages/paraview/tpl/cinemasci/cis/cisview.py:268:
SyntaxWarning: "is not" with 'str' literal. Did you mean "!="?
  if not results[0][0] is "":
/usr/lib/python3/dist-packages/paraview/tpl/cinemasci/cis/imageview.py:208:
SyntaxWarning: "is" with 'str' literal. Did you mean "=="?
  if params["type"] is "url":
/usr/lib/python3/dist-packages/vtkmodules/util/vtkMethodParser.py:304:
SyntaxWarning: invalid escape sequence '\S'
  patn = re.compile ("  \S")
/usr/lib/python3/dist-packages/vtkmodules/web/testing.py:687: SyntaxWarning:
invalid escape sequence '\.'
  fnamePattern = re.compile("([^\.\/\\\]+)\.py")
/usr/lib/python3/dist-packages/paraview/tpl/cinemasci/cis/cisview.py:268:
SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if not results[0][0] is "":
/usr/lib/python3/dist-packages/paraview/tpl/cinemasci/cis/imageview.py:208:
SyntaxWarning: "is" with a literal. Did you mean "=="?
  if params["type"] is "url":
=== End error log ===

Most of these seem to be trivial coding errors (probably from upstream). For
example, the errors in /usr/lib/python3/dist-
packages/paraview/benchmark/logparser.py seems easily fixed by making the
strings "raw" strings.



-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.7.12-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-paraview depends on:
ii  libc6             2.38-12.1
ii  libgcc-s1         14.1.0-1
ii  libopenmpi3t64    4.1.6-13.3
ii  libpython3.11t64  3.11.9-1
ii  libpython3.12t64  3.12.3-1
ii  libstdc++6        14.1.0-1
ii  paraview          5.12.1+dfsg-2
ii  python3           3.11.8-1

python3-paraview recommends no packages.

python3-paraview suggests no packages.

-- no debconf information


-- 
Christian Holm Christensen -------------------------------------------------
 Sankt Hans Gade 23, 4, DK-2200 Copenhagen
 http://cern.ch/cholm, +4524618591



More information about the debian-science-maintainers mailing list