Limnoria icon indicating copy to clipboard operation
Limnoria copied to clipboard

Plugin configuration is lost when a plugin fails to load

Open NP-Hardass opened this issue 10 years ago • 1 comments
trafficstars

Scenario 1:

*You have multiple versions of Python *All of your plugins are compatible with all of them If you switch switch between Python versions, and run the bot on the same configuration, everything works as expected.

Scenario 2:

*You have multiple versions of Python *You have a plugin that is incompatible with one version of Python *You start off using the version of Python that the plugin is compatible with *You have configured the plugin with settings other than the default If you switch to a Python version in which said plugin is incompatible, Limnoria attempts to load the plugin, fails, removes all configuration for the plugin, and inserts the default configuration.

Ideal Resolution:

When the plugin fails to load, Limnoria leaves existing configurations in place.

NP-Hardass avatar Mar 04 '15 16:03 NP-Hardass

(I just removed the "Python 2 compatibility" label, because it may happen whenever a plugin fails to load.)

I think this issue was fixed by fa2c11eec1f55ea260f128ef8f558d85d4da6e1a, but I'm not completely sure.

progval avatar Apr 11 '20 13:04 progval