#1076064 python3: rtupdate Hooks Script Fail to Execute

Package:
python3
Source:
python3
Description:
interactive high-level object-oriented language (default python3 version)
Submitter:
Emmanuel Fleury
Date:
2025-08-02 12:37:01 UTC
Severity:
normal
#1076064#5
Date:
2024-07-10 07:32:29 UTC
From:
To:
Dear Maintainer,

When I ran my update today on my unstable I got the following error log:

Setting up python3 (3.12.3-1) ...
running python rtupdate hooks for python3.12...
/usr/share/cupp/cupp.py:146: SyntaxWarning: invalid escape sequence '\ '
   print("      \                     # User")
/usr/share/cupp/cupp.py:147: SyntaxWarning: invalid escape sequence '\ '
   print("       \   \033[1;31m,__,\033[1;m             # Passwords")
/usr/share/cupp/cupp.py:148: SyntaxWarning: invalid escape sequence '\ '
   print("        \  \033[1;31m(\033[1;moo\033[1;31m)____\033[1;m         #
Profiler")
/usr/share/cupp/cupp.py:149: SyntaxWarning: invalid escape sequence '\ '
   print("           \033[1;31m(__)    )\ \033[1;m  ")
/usr/share/rlwrap/filters/ftp_filter.py:57: SyntaxWarning: invalid escape
sequence '\s'
   results = [re.split('\s+', l)[dir_filename_column[where]] for l in lines]
/usr/share/rlwrap/filters/ftp_filter.py:100: SyntaxWarning: invalid escape
sequence '\s'
   nwords = len(re.split('\s+', line))
/usr/share/rlwrap/filters/ftp_filter.py:108: SyntaxWarning: invalid escape
sequence '\s'
   command = re.search('\s*(\S+)', line).group(1)
/usr/share/rlwrap/filters/rlwrapfilter.py:4: SyntaxWarning: invalid escape
sequence '\s'
   """
/usr/share/rlwrap/filters/rlwrapfilter.py:211: SyntaxWarning: invalid escape
sequence '\S'
   m = re.match("(\S+) (.*?)\r?\n", sys.stdin.readline())
running python post-rtupdate hooks for python3.12...



Everything seems to run okay by now but I prefer report this glitch.

#1076064#10
Date:
2024-07-10 08:07:15 UTC
From:
To:
you should file these issues for the packages that contains these files.
  Please could you do that?

#1076064#15
Date:
2024-07-10 08:46:03 UTC
From:
To:
Hi,

Damn, you're right. I did fill the bug report too fast and I forgot to look at
the result of:

#> dpkg -S /usr/share/cupp/cupp.py
cupp: /usr/share/cupp/cupp.py

I will fill a bug report for the 'cupp' package, sorry for that and thanks a lot
for your quick answer.

Regards

#1076064#20
Date:
2025-07-12 12:32:21 UTC
From:
To:
Dear Maintainer,


Same issue here but for cmseek. (from kali based on testing so …)





/usr/share/cmseek/VersionDetect/atg.py:19: SyntaxWarning: invalid escape
sequence '\/'
  version = re.search('ATGPlatform\/([\d\.]+)', version).group(1)
/usr/share/cmseek/VersionDetect/umbraco.py:36: SyntaxWarning: invalid escape
sequence '\:'
  new_regex = re.findall('"version"\: "(.*?)"', temp_src)
/usr/share/cmseek/cmseekdb/basic.py:88: SyntaxWarning: invalid escape sequence
'\/'
  |    |{1}\/{5}| {1}[{5}__  {1}|{5}___ |{1}___{5} |{1}_{5}/  {0}by
{4}@r3dhax0r{5}
/usr/share/cmseek/cmseekdb/header.py:134: SyntaxWarning: invalid escape
sequence '\d'
  'Set-Cookie:
(YaBBusername=|YaBBpassword=|YaBBSession|Y2User-(\d.*?)|Y2Pass-(\d.*?)|Y2Sess-(\d.*?))=:-yabb',
/usr/share/cmseek/cmseekdb/header.py:135: SyntaxWarning: invalid escape
sequence '\d'
  'Set-Cookie: xmblv(a|b)=(\d.*?)\n:-xmb',
/usr/share/cmseek/cmseekdb/header.py:137: SyntaxWarning: invalid escape
sequence '\['
  'Set-Cookie: mybb\[(.*?)\]=:-mybb',
/usr/share/cmseek/cmseekdb/header.py:142: SyntaxWarning: invalid escape
sequence '\d'
  'Set-Cookie: ses(\d+)=:-impage',
/usr/share/cmseek/cmseekdb/sc.py:172: SyntaxWarning: invalid escape sequence
'\:'
  '(\'|")https\://afosto\-cdn(.*?)\.afosto\.com(.*?)(\'|"):-afsto',
/usr/share/cmseek/cmseekdb/sc.py:173: SyntaxWarning: invalid escape sequence
'\<'
  'Powered by(.*?)JForum(.*?)\</a\>:-jf',

And so on.

#1076064#25
Date:
2025-08-02 12:27:26 UTC
From:
To:
Dear Maintainer,

same here, but on packages playonlinux, scribus, scribus-data, cupp, apt-
listchanges and ibus.

Solution:

deinstall		: playonlinux. scribus, scribus-data and cupp
install or reinstall	: apt-listchanges and ibus

I believe this solves bug #1110068, please close or merge it with this
bugreport.

Thank you for your help!

Best

Hans