Closed MNBrod closed 9 months ago
All it took was writing up an issue to realize I was calling --plugins==
and not --modules==
.
Closing
You got it. You can also use options in your $HOME/.ginga/general.cfg
. See "Customizing the set of plugins" here.
Probably a future version of ginga will be able to distinguish those two types with one parameter, the way --disable-plugins
does now.
When I invoke
ginga
from the command line with the--plugins=
option pointing to a Global Plugin, the ginga tries to instantiate the plugin as a local one, yielding the following error:This happens with my own plugin, as well as with the
MyGlobalPlugin
example copied from the documentation (as a side note, that example requires adjusting the import linefrom ginga.misc import Widgets
tofrom ginga.gw import Widgets
to run).This occurs on
ginga 4.1.1
frompip
, as well as well asginga 4.2.0.dev71+g1c3cd843
installed from source just now. I do not recall this happening with CLI invoked global plugins a few months ago the last time I did it, but I don't have a firm date on when that was.Am I missing something obvious here? I feel like I must be...