post-install script fail

Bug #1917975 reported by Andriy Tymchenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gramps (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

during installation install script gave out this

===
Setting up gramps (5.1.2-1) ...
/usr/lib/python3/dist-packages/gramps/gen/plug/_manager.py:86: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if BasePluginManager.__instance is not 1:
/usr/lib/python3/dist-packages/gramps/gen/plug/_pluginreg.py:1138: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if PluginRegister.__instance is not 1:
/usr/lib/python3/dist-packages/gramps/gui/pluginmanager.py:74: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if GuiPluginManager.__instance is not 1:
/usr/lib/python3/dist-packages/gramps/plugins/export/exportvcalendar.py:205: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if date_string is not "":
/usr/lib/python3/dist-packages/gramps/plugins/lib/maps/messagelayer.py:116: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  self.message += "\n%s" % message if self.message is not "" else message
===

program has not been launched yet

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: gramps 5.1.2-1
ProcVersionSignature: Ubuntu 5.4.0-65.73-generic 5.4.78
Uname: Linux 5.4.0-65-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.16
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: MATE
Date: Sat Mar 6 08:12:53 2021
InstallationDate: Installed on 2020-10-25 (132 days ago)
InstallationMedia: Ubuntu-MATE 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
PackageArchitecture: all
SourcePackage: gramps
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Andriy Tymchenko (silpol) wrote :
Revision history for this message
Andriy Tymchenko (silpol) wrote :

after installation finished, launch of gramps in command line without any data imported gives 100% repeatable stack snippet after each launch, several times

===
/usr/lib/python3/dist-packages/gramps/gen/plug/_pluginreg.py:1138: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if PluginRegister.__instance is not 1:
/usr/lib/python3/dist-packages/gramps/gen/plug/_manager.py:86: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if BasePluginManager.__instance is not 1:
/usr/lib/python3/dist-packages/gramps/gui/pluginmanager.py:74: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if GuiPluginManager.__instance is not 1:
/usr/lib/python3/dist-packages/gramps/plugins/lib/maps/messagelayer.py:116: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  self.message += "\n%s" % message if self.message is not "" else message
===

Ross Gammon (rosco2)
Changed in gramps (Ubuntu):
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Ross Gammon (rosco2) wrote :

Hi Andriy,

Thanks for taking the time to report this. According to the Gramps Users mailing list, these warnings are known about and have mostly been fixed in Gramps 5.1.3.

These warnings should be harmless, and warn the developer that the code written for older python versions is not the latest way to write code in the current version.

Please report back if this causes Gramps to behave incorrectly in any way.

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

This bug was fixed in the package gramps - 5.1.4-1

---------------
gramps (5.1.4-1) unstable; urgency=medium

  [ Pino Toscano ]
  * Remove the old gramps.xpm icon

  [ Ross Gammon ]
  * New upstream release
  * Fixes Dutch translation (Closes: #979525)
  * Fixes Python 3.8 deprecation warnings (Closes: #970140),
    (LP: #1917975)
  * Update copyright file
  * Fix probably-alive text failure with patch
  * Bump standards version, no changes required
  * Install a higher resolution icon for Appstream

 -- Ross Gammon <email address hidden> Sun, 05 Dec 2021 21:56:40 +0100

Changed in gramps (Ubuntu):
status: Confirmed → Fix Released
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.