/usr/share/zsnapd/scripts/zsnapd.py:116: SyntaxWarning: "is" with a literal. Did you mean "=="?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zsnapd (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hello, it appears there's a syntax error in zsnapd:
Setting up python3 (3.8.2-0ubuntu2) ...
running python rtupdate hooks for python3.8...
/usr/share/
if (__name__ is "__main__"):
running python post-rtupdate hooks for python3.8...
I spotted this while performing an apt install -f within focal:
$ sudo apt install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libboost-
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libboost-
python3-minimal python3-talloc python3.8 python3.8-minimal uno-libs-private
Suggested packages:
python3-doc python3-tk python3-venv python3.8-venv python3.8-doc binfmt-support
Recommended packages:
fonts-liberation2 | ttf-mscorefonts
The following packages will be REMOVED:
uno-libs3
The following NEW packages will be installed:
libboost-
The following packages will be upgraded:
libpython3-stdlib libreoffice-common libtalloc2 python3 python3-minimal python3-talloc
6 upgraded, 9 newly installed, 1 to remove and 26 not upgraded.
15 not fully installed or removed.
Need to get 0 B/27.1 MB of archives.
After this operation, 27.7 MB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 139122 files and directories currently installed.)
Removing uno-libs3 (6.3.4-0ubuntu1) ...
Selecting previously unselected package libuno-sal3.
(Reading database ... 139102 files and directories currently installed.)
Preparing to unpack .../00-
Unpacking libuno-sal3 (1:6.4.2-0ubuntu3) ...
Selecting previously unselected package libuno-
Preparing to unpack .../01-
Unpacking libuno-
Selecting previously unselected package libuno-cppu3.
Preparing to unpack .../02-
Unpacking libuno-cppu3 (1:6.4.2-0ubuntu3) ...
Selecting previously unselected package uno-libs-private.
Preparing to unpack .../03-
Unpacking uno-libs-private (1:6.4.2-0ubuntu3) ...
Selecting previously unselected package libuno-
Preparing to unpack .../04-
Unpacking libuno-
Selecting previously unselected package libuno-
Preparing to unpack .../05-
Unpacking libuno-
Preparing to unpack .../06-
Unpacking libreoffice-common (1:6.4.2-0ubuntu3) over (1:6.3.4-0ubuntu1) ...
Selecting previously unselected package libboost-
Preparing to unpack .../07-
Unpacking libboost-
Selecting previously unselected package python3.8-minimal.
Preparing to unpack .../08-
Unpacking python3.8-minimal (3.8.2-1ubuntu1) ...
Preparing to unpack .../09-
Unpacking libtalloc2:amd64 (2.3.0-3ubuntu1) over (2.3.0-3) ...
Preparing to unpack .../10-
Unpacking python3-
Setting up python3.8-minimal (3.8.2-1ubuntu1) ...
(Reading database ... 139172 files and directories currently installed.)
Preparing to unpack .../python3-
Unpacking python3-minimal (3.8.2-0ubuntu2) over (3.7.5-1ubuntu1) ...
Setting up python3-minimal (3.8.2-0ubuntu2) ...
(Reading database ... 139170 files and directories currently installed.)
Preparing to unpack .../python3_
running python pre-rtupdate hooks for python3.8...
Unpacking python3 (3.8.2-0ubuntu2) over (3.7.5-1ubuntu1) ...
Selecting previously unselected package python3.8.
Preparing to unpack .../python3.
Unpacking python3.8 (3.8.2-1ubuntu1) ...
Preparing to unpack .../libpython3-
Unpacking libpython3-
Setting up libuno-sal3 (1:6.4.2-0ubuntu3) ...
Setting up libreoffice-
Setting up libtalloc2:amd64 (2.3.0-3ubuntu1) ...
Setting up libboost-
Setting up python3.8 (3.8.2-1ubuntu1) ...
Setting up libpython3-
Setting up python3 (3.8.2-0ubuntu2) ...
running python rtupdate hooks for python3.8...
/usr/share/
if (__name__ is "__main__"):
running python post-rtupdate hooks for python3.8...
Setting up python3-
Setting up libuno-
Setting up uno-libs-private (1:6.4.2-0ubuntu3) ...
Setting up libuno-cppu3 (1:6.4.2-0ubuntu3) ...
Setting up libuno-
Setting up libuno-
Setting up ure (1:6.4.2-0ubuntu3) ...
Setting up libreoffice-common (1:6.4.2-0ubuntu3) ...
Installing new version of config file /etc/libreoffic
Installing new version of config file /etc/libreoffic
Setting up libreoffice-core (1:6.4.2-0ubuntu3) ...
Setting up libreoffice-math (1:6.4.2-0ubuntu3) ...
Setting up libreoffice-draw (1:6.4.2-0ubuntu3) ...
Setting up libreoffice-
Setting up libreoffice-impress (1:6.4.2-0ubuntu3) ...
Setting up libreoffice-
Setting up python3-uno (1:6.4.2-0ubuntu3) ...
Setting up libreoffice-calc (1:6.4.2-0ubuntu3) ...
Setting up libreoffice-base (1:6.4.2-0ubuntu3) ...
Setting up libreoffice-writer (1:6.4.2-0ubuntu3) ...
Setting up libreoffice-
Setting up libreoffice (1:6.4.2-0ubuntu3) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for libc-bin (2.31-0ubuntu9) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for shared-mime-info (1.15-1) ...
Thanks
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: zsnapd 0.8.11h-1ubuntu2
ProcVersionSign
Uname: Linux 5.4.0-24-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckR
Date: Wed Apr 22 01:49:26 2020
PackageArchitec
ProcEnviron:
TERM=rxvt-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: zsnapd
UpgradeStatus: Upgraded to focal on 2020-01-24 (88 days ago)