From: nerdyslacker <nerdyslacker@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [ISSUE] onboard-1.4.1_12 fails after upgrade python 3.12
Date: Wed, 18 Oct 2023 23:53:25 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46767@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 8067 bytes --]
New issue by nerdyslacker on void-packages repository
https://github.com/void-linux/void-packages/issues/46767
Description:
### Is this a new report?
Yes
### System Info
Void 6.5.7_1 x86_64
### Package(s) Affected
onboard-1.4.1_12
### Does a report exist for this bug with the project's home (upstream) and/or another distro?
_No response_
### Expected behaviour
1. Byte-compile on install.
2. Start after installing.
### Actual behaviour
During the installation I got SyntaxWarnings
```
Byte-compiling python3.12 code for module Onboard...
usr/lib/python3.12/site-packages/Onboard/Appearance.py:924: SyntaxWarning: invalid escape sequence '\w'
_key_ids_pattern = re.compile('[\w-]+(?:[.][\w-]+)?', re.UNICODE)
usr/lib/python3.12/site-packages/Onboard/Appearance.py:1066: SyntaxWarning: invalid escape sequence '\w'
key_ids = [x for x in re.findall('\w+(?:[.][\w-]+)?', text) if x]
usr/lib/python3.12/site-packages/Onboard/LayoutLoaderSVG.py:98: SyntaxWarning: invalid escape sequence '\('
self._layout_regex = re.compile("([^\(]+) (?: \( ([^\)]*) \) )?",
usr/lib/python3.12/site-packages/Onboard/SpellChecker.py:324: SyntaxWarning: invalid escape sequence '\s'
SPLITWORDS = re.compile("[^-_\s]+", re.UNICODE|re.DOTALL)
usr/lib/python3.12/site-packages/Onboard/TextDomain.py:144: SyntaxWarning: invalid escape sequence '\s'
strings = re.split('(\s+)', context)
usr/lib/python3.12/site-packages/Onboard/TextDomain.py:161: SyntaxWarning: invalid escape sequence '\s'
"""
usr/lib/python3.12/site-packages/Onboard/TextDomain.py:291: SyntaxWarning: invalid escape sequence '\s'
_growth_sections_pattern = re.compile("[^\s?#@]+", re.DOTALL)
usr/lib/python3.12/site-packages/Onboard/TextDomain.py:447: SyntaxWarning: invalid escape sequence '\['
"^In \[[0-9]*\]: ", # ipython
usr/lib/python3.12/site-packages/Onboard/TextDomain.py:450: SyntaxWarning: invalid escape sequence '\?'
"^\?", # vi reverse search
usr/lib/python3.12/site-packages/Onboard/TextDomain.py:451: SyntaxWarning: invalid escape sequence '\$'
"\$ ", # generic prompt
usr/lib/python3.12/site-packages/Onboard/TextDomain.py:459: SyntaxWarning: invalid escape sequence '\('
"^\(.*\)`.*': ", # bash incremental search
usr/lib/python3.12/site-packages/Onboard/TextDomain.py:739: SyntaxWarning: invalid escape sequence '\w'
_url_pattern = re.compile("([\w-]+)|(\W+)", re.UNICODE)
usr/lib/python3.12/site-packages/Onboard/WordSuggestions.py:1253: SyntaxWarning: invalid escape sequence '\S'
_section_begin_pattern = re.compile("\S*\s*$")
usr/lib/python3.12/site-packages/Onboard/WordSuggestions.py:1254: SyntaxWarning: invalid escape sequence '\S'
_section_end_pattern = re.compile("\S*(?=\s*)")
usr/lib/python3.12/site-packages/Onboard/pypredict/lm_wrapper.py:302: SyntaxWarning: invalid escape sequence '\s'
""" .*?
usr/lib/python3.12/site-packages/Onboard/pypredict/lm_wrapper.py:368: SyntaxWarning: invalid escape sequence '\s'
tokenize_pattern = """
usr/lib/python3.12/site-packages/Onboard/pypredict/lm_wrapper.py:467: SyntaxWarning: invalid escape sequence '\w'
if not re.match("""
usr/lib/python3.12/site-packages/Onboard/pypredict/lm_wrapper.py:504: SyntaxWarning: invalid escape sequence '\d'
result = re.search("ngram (\d+)=\d+", line)
usr/lib/python3.12/site-packages/Onboard/pypredict/lm_wrapper.py:624: SyntaxWarning: invalid escape sequence '\w'
target_word = re.search("^([\w]|[-'])*", prefix_to_end, re.UNICODE).group()
usr/lib/python3.12/site-packages/Onboard/utils.py:151: SyntaxWarning: invalid escape sequence '\d'
"""
usr/lib/python3.12/site-packages/Onboard/utils.py:220: SyntaxWarning: invalid escape sequence '\s'
pattern = re.compile('>\n\s+([^<>\s].*?)\n\s+</', re.DOTALL)
usr/lib/python3.12/site-packages/Onboard/utils.py:221: SyntaxWarning: invalid escape sequence '\g'
pretty_xml = pattern.sub('>\g<1></', ugly_xml)
usr/lib/python3.12/site-packages/Onboard/utils.py:356: SyntaxWarning: invalid escape sequence '\:'
"""
usr/lib/python3.12/site-packages/Onboard/utils.py:1542: SyntaxWarning: invalid escape sequence '\w'
"""(?:
usr/lib/python3.12/site-packages/Onboard/Appearance.py:924: SyntaxWarning: invalid escape sequence '\w'
_key_ids_pattern = re.compile('[\w-]+(?:[.][\w-]+)?', re.UNICODE)
usr/lib/python3.12/site-packages/Onboard/Appearance.py:1066: SyntaxWarning: invalid escape sequence '\w'
key_ids = [x for x in re.findall('\w+(?:[.][\w-]+)?', text) if x]
usr/lib/python3.12/site-packages/Onboard/LayoutLoaderSVG.py:98: SyntaxWarning: invalid escape sequence '\('
self._layout_regex = re.compile("([^\(]+) (?: \( ([^\)]*) \) )?",
usr/lib/python3.12/site-packages/Onboard/SpellChecker.py:324: SyntaxWarning: invalid escape sequence '\s'
SPLITWORDS = re.compile("[^-_\s]+", re.UNICODE|re.DOTALL)
usr/lib/python3.12/site-packages/Onboard/TextDomain.py:144: SyntaxWarning: invalid escape sequence '\s'
strings = re.split('(\s+)', context)
usr/lib/python3.12/site-packages/Onboard/TextDomain.py:161: SyntaxWarning: invalid escape sequence '\s'
"""
usr/lib/python3.12/site-packages/Onboard/TextDomain.py:291: SyntaxWarning: invalid escape sequence '\s'
_growth_sections_pattern = re.compile("[^\s?#@]+", re.DOTALL)
usr/lib/python3.12/site-packages/Onboard/TextDomain.py:447: SyntaxWarning: invalid escape sequence '\['
"^In \[[0-9]*\]: ", # ipython
usr/lib/python3.12/site-packages/Onboard/TextDomain.py:450: SyntaxWarning: invalid escape sequence '\?'
"^\?", # vi reverse search
usr/lib/python3.12/site-packages/Onboard/TextDomain.py:451: SyntaxWarning: invalid escape sequence '\$'
"\$ ", # generic prompt
usr/lib/python3.12/site-packages/Onboard/TextDomain.py:459: SyntaxWarning: invalid escape sequence '\('
"^\(.*\)`.*': ", # bash incremental search
usr/lib/python3.12/site-packages/Onboard/TextDomain.py:739: SyntaxWarning: invalid escape sequence '\w'
_url_pattern = re.compile("([\w-]+)|(\W+)", re.UNICODE)
usr/lib/python3.12/site-packages/Onboard/WordSuggestions.py:1253: SyntaxWarning: invalid escape sequence '\S'
_section_begin_pattern = re.compile("\S*\s*$")
usr/lib/python3.12/site-packages/Onboard/WordSuggestions.py:1254: SyntaxWarning: invalid escape sequence '\S'
_section_end_pattern = re.compile("\S*(?=\s*)")
usr/lib/python3.12/site-packages/Onboard/pypredict/lm_wrapper.py:302: SyntaxWarning: invalid escape sequence '\s'
""" .*?
usr/lib/python3.12/site-packages/Onboard/pypredict/lm_wrapper.py:368: SyntaxWarning: invalid escape sequence '\s'
tokenize_pattern = """
usr/lib/python3.12/site-packages/Onboard/pypredict/lm_wrapper.py:467: SyntaxWarning: invalid escape sequence '\w'
if not re.match("""
usr/lib/python3.12/site-packages/Onboard/pypredict/lm_wrapper.py:504: SyntaxWarning: invalid escape sequence '\d'
result = re.search("ngram (\d+)=\d+", line)
usr/lib/python3.12/site-packages/Onboard/pypredict/lm_wrapper.py:624: SyntaxWarning: invalid escape sequence '\w'
target_word = re.search("^([\w]|[-'])*", prefix_to_end, re.UNICODE).group()
usr/lib/python3.12/site-packages/Onboard/utils.py:151: SyntaxWarning: invalid escape sequence '\d'
"""
usr/lib/python3.12/site-packages/Onboard/utils.py:220: SyntaxWarning: invalid escape sequence '\s'
pattern = re.compile('>\n\s+([^<>\s].*?)\n\s+</', re.DOTALL)
usr/lib/python3.12/site-packages/Onboard/utils.py:221: SyntaxWarning: invalid escape sequence '\g'
pretty_xml = pattern.sub('>\g<1></', ugly_xml)
usr/lib/python3.12/site-packages/Onboard/utils.py:356: SyntaxWarning: invalid escape sequence '\:'
"""
usr/lib/python3.12/site-packages/Onboard/utils.py:1542: SyntaxWarning: invalid escape sequence '\w'
"""(?:
Updating ldconfig(8) cache...
```
After the installation when I tried to run the app I got this:
```
01:49:33.490 WARNING Config: mousetweaks GSettings schema not found, mousetweaks integration disabled.
Segmentation fault (core dumped)
```
### Steps to reproduce
1. Install onboard
2. Start onboard
next reply other threads:[~2023-10-18 21:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-18 21:53 nerdyslacker [this message]
2023-10-19 7:20 ` mhmdanas
2023-10-19 13:02 ` nerdyslacker
2023-10-19 14:39 ` sgn
2023-10-19 15:05 ` sgn
2023-10-20 2:37 ` [ISSUE] [CLOSED] " sgn
2023-10-20 10:01 ` MechDR
2023-10-20 10:02 ` MechDR
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46767@inbox.vuxu.org \
--to=nerdyslacker@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).