Strange "db changed" Debugging warning

I never did create a GitHub account, sorry, but these discussions about building the Windows AIO for v6.0.7 suggested that trying to help would be beyond my skills.

Now that the AIO for v6.0.7 is available though, I have installed it. As usual after an update the first time I opened Gramps, a console window opened behind the main window. In the past that console has been empty. This time though it said:

db changed:  <sqlite.SQLite object at 0x0000022932b1a510>

I have no idea what that means, other than the obvious that something in the db was changed. Despite this, Gramps appears to be working as expected.

My previous post describes what happened when I installed the v6.0.7 AIO on my desktop PC, running Win 11.

I’ve just run the installer on my Win 11 laptop. This time there was nothing in the console.

These two Windows machines have identical copies of my Gramps db, the tree on the laptop was mirrored from the one on the desktop a few days ago. However, the applications are subtly different because just after I’d mirrored the tree, I manually installed the CardView addon on my desktop PC. This one addon is the only difference between my two instances of Gramps.

That type of message is something that I’d only expect to see once.

I think that it reflects a Schema update to the database. But @nick would have to confirm that.

If so, the message could benefit by being made less cryptic. Such as appending “converted db schema from 20 to 21”

On the same machine, yes, but I’m talking about two separate installations of Gramps on two different machines. Why did it not appear when I ran the installer on my laptop when the db on that device is a mirrored copy of (aka identical to) the db on the desktop PC?

1 Like

I don’t think that message comes from gramps… at least I couldn’t find it in the source code nor of addons source.

1 Like

So where did it come from? Surely it must be something to do with this Gramps update?

@emyoulation There is no schema update with Gramps 6.0.7.

Speculation follows…
One possibility is that you have 3P addons installed from outside the Gramps addons list, so a search of the code did not yield any results. Compare the list of addons on your two installations in case they are different; may help identify why you see the message only one one PC.

The message looks like some code (possibly a 3P addon) may be monitoring for db changed events. Is it possible that you updated your tree on one PC and then copied it over to another?

My guess is that this message is harmless. You may still want to make sure your data integrity is not compromised so do whatever you must to validate that.

True. But @Stuck never mentioned which version of Gramps generated the database being updated. And we have not yet established whether the handle 0x0000022932b1a510 is for a Tree database… or an object within a tree.

Forgive my ignorance but what is a 3P addon? The addons I have are from the list in Plugin Manager (which includes those from the FamilyTreeView project and the Isotammi project). Plus, on the desktop PC only, the manually installed CardView.

Last time I did that they were the same. Subsequently the only change I’ve made is to manually add the CardView addon to the desktop PC.

Yes, may master version of my tree is the one my desktop PC. All data entry is done on that device. The tree on my laptop is only ever browsed. It is updated by overwriting with a fresh copy of the db on my desktop PC.

It was v6.0.6 but that too was the version that was being updated on my laptop.

In summary, as far as I know the only difference between the two installations was that the desktop PC included CardView.

1 Like

Perhaps that was a typo? Possibly the D3 Ancestral and Descendant Charts.

It is a 3-pack of addons:

It occurred to me after I asked the question that it probably means ‘third party addons’. Note how the original mention of the term was in the context of addons from outside the Gramps addons list.

2 Likes

The “db changed” message probably comes from the Isotammi addon “DeepConnectionsGraph”. I had forgot to remove the message. Fixed.

3 Likes

I do have that addon but it’s on both the machine that triggered the message and the one that didn’t. I’ve updated both instances of the addon now, thank you.

1 Like