Syntax error in LayoutLoaderSVG.py shipped with this package

Bug #1880114 reported by Rudolf Leitgeb
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
onboard (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

During upgrade from 19.10 to 20.04 I saw an error message flying by:

/usr/lib/python3/dist-packages/Onboard/LayoutLoaderSVG.py in line 447

There currently is the following code:

                raise Exceptions.LayoutFileError("Unrecognized modifier %s in" \
                    "definition of %s" (strerror, full_id))

Obviously this should be:

                raise Exceptions.LayoutFileError("Unrecognized modifier {} in" \
                    "definition of {}".format(strerror, full_id))

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: onboard 1.4.1-2ubuntu7
ProcVersionSignature: Ubuntu 5.4.0-31.35-generic 5.4.34
Uname: Linux 5.4.0-31-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Fri May 22 10:25:57 2020
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-11-11 (1653 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
SourcePackage: onboard
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Rudolf Leitgeb (rudolf-leitgeb) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "patch containing bug fix" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in onboard (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.