Error installing plugin, works in 3.0 but not 3.1

So this plugin works perfectly fine in 2.93-3.0. But in 3.1 I install it and when I click the checkbox to activate it I first get this error

Then, when I click acttivate again I get this other error

Now, the plugin appears activated and functioning in the Blender window, however I cannot access the preferences to tell it what files to use (its an asset manager)
image

Now, if I copy the exact same plugin folder from \AppData\Roaming\Blender Foundation\Blender\3.0
into \AppData\Roaming\Blender Foundation\Blender\3.1, then the plugin functions perfectly fine with no errors at all…?

I’ve attached the file, if anyone has ANY ideas i’ll be eternally greatful.

AssetManager.zip (157.5 KB)

Update: this asset manager seems to be compatible with Blender 2.9 says the website:
https://shop.imeshh.com/imeshh-asset-manager/

First error message could be that the Blender version and the Addon version don’t match (for example the addon is not compatible with your Blender version)

Second error message probably means that you installed the addon, removed it and installed again without restarting Blender.

Best is to check support here I guess:

(There is a chat or contact button).

It says on the website it’s designed for 2.9 so there is little chance that it will work out of the box without errors in any of the newer versions. Unless you know what you’re doing (you know python and can navigate the patch notes to find the breaking changes) you’d have to ask the addon maintainer to update it.

As a side note even if we can infer the addon name from the error log it’s fair practice to disclose the name of the addon or of its creators if you’re going to distribute it (I assume without their knowledge).

Cheers

1 Like

I’m really sorry I forgot to mention I am the owner :(. Our developer was not sure what caused the error so I was wondering if anyone here might know.
He says it should work in 3.1 and works for him, but it does not for me.

Do you know what these errors might mean or can point us in the right direction?

The second error seems to indicate that the addon gets registered twice. If there are any lines of code after the line that throws this error, it won’t be executed so it makes sense that parts of it don’t work. However as stated in the first comment usually it’s good practice when uninstalling or re-installing an add-on, to deactivate and remove the addon, then quit blender and restart from a fresh instance before trying to re-install it.

Have you tried to install it that way ?

yeah that makes sense that it is registered twice, because after the first error it is perhaps half installed, then I try to install again and I get the second error

And yes, i’ve tried removing the entire AppData\Roaming\Blender Foundation\Blender\3.1 folder, and uninstalling/reinstalling Blender.
I am wondering if there is perhaps a second location part of the script might be saving which I should delete?

It shouldn’t but since it’s an asset manager addon, there is a high chance that it saves some data on your disk, outside of the appdata folder