SuperTool error message "'pp' not defined"

I upgraded from 5.1.6 to 5.2.3 on my Win10 system. I used the Program manager to load a lot of add ons including the Supertool.
However when I go to run the tool it gives me an error message of “pp” not defined.
I have no idea what this could be or where to look.
Help would be appreciated.
It ran fine before the upgrade and I did not remove or change anything before that.

try starting Gramps from the Console. See if that gives more extensive error messaging to the Console window.

Sorry, just got back to this progrm of SuperTool not lauching. I opened Gramps from the command window and then launched SuperTool. This is what I got.

(gramps:12484): GLib-GIO-WARNING **: 12:36:04.762: C:\Program Files\GrampsAIO64-5.2.3\lib\gdbus.exe dbus binary failed to launch bus, maybe incompatible version
Traceback (most recent call last):
  File "C:\Program Files\GrampsAIO64-5.2.3\gramps\gen\plug\_manager.py", line 274, in load_plugin
    _module = self.import_plugin(pdata)
              ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\GrampsAIO64-5.2.3\gramps\gen\plug\_manager.py", line 308, in import_plugin
    module = __import__(pdata.mod_name)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Dave\AppData\Roaming\gramps\gramps52\plugins\SuperTool\SuperTool.py", line 103, in <module>
    pp(a)
    ^^
NameError: name 'pp' is not defined

So there is a problem with gdbus.exe and with pp(a) not being defined at line 103.
Need some help from a developer… TIA

Dave

Sounds like we need @kku to look at this thread.

This was a bug in SuperTool that was fixed a while ago in the 1.3.3 version. Please install the latest version of Supertool and try again.

1 Like

I’m confused. This is a new (upgrade) install. I used the Addon Manager to install ALL the Isotammi tools. Many show them as version 1.3.3, so why would an old version be there and why is the Addon manager not doing the upgrade if necessary?

Just to add, a number of the tools do run, but the “Supertool” one fails.

Good questions. The current version of SuperTool is 1.5.0 and the version is displayed at the bottom right corner in the tool. What version do you have?

I believe the bug was fixed in 1.3.3 about a year ago.

Have you added the Isotammi project to your instance of Addon Manager and selected it?

Yes and I have no problem with the other items in the menu like the editor. It is only when I select the “super tool” in the menu that I get the error.

Interesting since 5.2.3 is a new install and I downloaded all the addons Isotammi project with the Program Manager.
The Supertool.py date stamp in the gramps51 directory is 2023-12-09 while the date stamp on the same file in the gramps52 directory is 2023-08-23.

So I copied the gramps51 file to the gramps52 directory and now everything works.

So I have to conclude that the wrong file is being downloaded with the Addon Manager.

And to answer a previous version question, it is v1.3.3

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