Missing Tip of the Day on Ubuntu 22.04 after installing 5.2.2 deb package

A Facebook user reports that after installing 5.2.2 on his Ubuntu system from the .deb file, Gramps cannot find the tips.xml file.

Can someone check that installer?

[Errno 2] The file or directory does not exist: '/usr/share/gramps/tips.xml'
image

A re-install did not resolve. But a manual install of the missing file worked.

So the 5.2.2 .deb file he downloaded is probably defective.

Hi. :raising_hand_man:
You are talking about me and my system. :blush:
You can question me if you need feedback.
About my system: ubuntu 22.04.4 spanish

2 Likes

I got it from Github. I did not check in another system, before or after.

1 Like

@Nick-Hall
How do we validate the 5.2.2 .deb file on GitHub? If it is missing the tips.xml file, installing it to the wrong location, or not setting a path correctly to find that file, then what else might be incorrect?

I used de command find to try locate tips.xml in another path. No results

Óscar,

There are TWO .deb files in that 5.2.2 GitHub repository that differ by about half a megabyte in size and 15 seconds in timestamp (one is labeled 20.04 and the other is 22.04) which is the target version of Ubuntu:

What size was your download?

1 Like

At the very least, the Source ZIP has a couple more .xml files than the .deb archive:

  • grampswidgets.xml
  • tips.xml

1 Like

No idea whether these lines were ever executed, but there’s a section in the debian folder that removes a few files, including tips.xml.

2 Likes

This appears to be the problem. I have uploaded v5.2.2-2 for Ubuntu 20.04 and 22.04.

The grampswidgets.xml file is only used by developers using the Glade editor. I’m not sure why we don’t include it, but we can discuss that later.

2 Likes

Óscar posted a nice notice about the updated files to the Spanish facebook group.

Thanks to @codefarmer and @Nick-Hall !

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.