Hi,
If i uninstall a plugin, and reinstall it again with a *.cbplugin file, i get a error message that the plugin is not installed correctly. After closing codeblocks and reopening it, the plugin works correctly. As far as i can tell all resources are copied correctly and the library is loaded, but the
namespace
{
PluginRegistrant<pluginname> reg(_T("pluginname"));
}
is not called and for this m_RegisteredPlugins in sdk/pluginmamager.cpp:1025 is empty and for this the plugin is not detected as loaded.
To reproduce:
1) Create a *.cbplugin archive
2) Install the plugin over Plugins->Manage plugins...->Install
3) Close codeblocks
4) open codeblocks
5) Uninstall the plugin over Plugins->Manage plugins...->Uninstall
6) Reinstall the plugin over Plugins->Manage plugins...->Install
can someone reproduce this?
Windows or linux?
linux only
[Edit:] On windows you get a error message about the current resource zip archive is still in memory. But this is a different bug, not related to this and i remember to have fixed it a long time ago...
Works fine under Windows(latest nightly build).
But I see a crash after I uninstall the BrowserTrack plugin, and click the "install new" button. :(
So, I have to restart C::B, and install it again.
EDIT: I just tried it again, I see that C::B always crash when I uninstall the BrowseTrack plugin.
EDIT2: I tried Abbreviation plugin, only a Error message shown up, see screen shot below:
This is related issue: issue about Memory VFS already contains file xxx when re-enable a plugin (http://forums.next.codeblocks.org/index.php/topic,20952.0.html)
@ollydbg: yes, this is the error message i see on windows...