T
T
tuarisa2013-01-28 22:24:56
Python
tuarisa, 2013-01-28 22:24:56

Trac: plugin fight

Good evening, I hope for your help.
There was a situation that in Trac it was necessary to update the AccountManagerPlugin plugin, which is responsible for accounts, registration, and so on.
I collected an egg (.egg-file) and uploaded it through the interface in the admin panel. I rebooted Apache just in case, it seemed to work ... I naively thought that the engine, having seen a higher version of the plugin, would update it ... But, updating the page with plugins, I alternately see the old version (0.4) and the new one (0.5). So both plugins ended up running and vying for Trac's attention. Removing the old plugin from the plugins folder has no effect. Artifacts from the old version remain in the list of plugins. In addition, I have no idea where the plugin (0.5) was put from the admin panel.

The question is, how to correctly remove the plugin without residue in Trac?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
igrishaev, 2013-01-29
@igrishaev

Probably, the new version of the plugin was installed as a package of modules in the site-packages folder of Python.
Hence the conflict when Truck tries to include the egg in the plugins folder and the package of the new module.
Try disabling the plugin through the admin panel, then check if there are any mentions of it in the ini file, delete if there are. Delete .egg from the plugins folder. Make sure the plugin package is not present in site-packages or other paths where Python looks for modules.
After that, egg the new version into plugins.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question