/usr/lib/python3/dist-packages/Onboard/LayoutLoaderSVG.py:447: SyntaxWarning: 'str' object is not callable; perhaps you missed a comma? raise Exceptions.LayoutFileError("Unrecognized modifier %s in" \
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Onboard |
New
|
Undecided
|
Unassigned | ||
onboard (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Steps to reproduce:
1. Install or reinstall Onboard with
sudo apt-get install --reinstall onboard onboard-common onboard-data
Expected results:
* no warnings
Actual results:
* the following warning is shown -
```
$ sudo apt-get install --reinstall onboard onboard-common onboard-data
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 3 reinstalled, 0 to remove and 0 not upgraded.
Need to get 5 217 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://
Get:2 http://
Get:3 http://
Fetched 5 217 kB in 2s (2 938 kB/s)
(Reading database ... 243599 files and directories currently installed.)
Preparing to unpack .../onboard-
Unpacking onboard-common (1.4.1-5build4) over (1.4.1-5build4) ...
Preparing to unpack .../onboard_
Unpacking onboard (1.4.1-5build4) over (1.4.1-5build4) ...
Preparing to unpack .../onboard-
Unpacking onboard-data (1.4.1-5build4) over (1.4.1-5build4) ...
Setting up onboard-common (1.4.1-5build4) ...
Setting up onboard (1.4.1-5build4) ...
/usr/lib/
raise Exceptions.
Processing triggers for mailcap (3.70ubuntu1) ...
Processing triggers for bamfdaemon (0.5.5+
Rebuilding /usr/share/
Processing triggers for desktop-file-utils (0.26-1ubuntu2) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu2) ...
Processing triggers for libglib2.0-0:amd64 (2.68.4-1ubuntu1) ...
Processing triggers for man-db (2.9.4-2build1) ...
Setting up onboard-data (1.4.1-5build4) ...
```
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: onboard 1.4.1-5build4
ProcVersionSign
Uname: Linux 5.13.0-19-generic x86_64
ApportVersion: 2.20.11-0ubuntu70
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: MATE
Date: Tue Oct 26 01:08:47 2021
InstallationDate: Installed on 2021-10-24 (1 days ago)
InstallationMedia: Ubuntu-MATE 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20211024)
SourcePackage: onboard
UpgradeStatus: No upgrade log present (probably fresh install)
I believe that the patch below will fix the issue:
--- /usr/lib/ python3/ dist-packages/ Onboard/ LayoutLoaderSVG .py.orig 2021-12-20 22:34:49.184112471 -0500 python3/ dist-packages/ Onboard/ LayoutLoaderSVG .py 2021-12-20 22:33:33.374611161 -0500
(strerror) = ex
raise Exceptions. LayoutFileError ("Unrecognized modifier %s in" \ strerror, full_id))
+++ /usr/lib/
@@ -445,7 +445,7 @@
except KeyError as ex:
- "definition of %s" (strerror, full_id))
+ "definition of %s".format(
value = attributes. get("action" )
if value: