Running the xtce_converter from openc3cli fails with a ruby error due to calling the install_phase1 and install_phase2 functions with incorrect arguments (see openc3cli). OpenC3::PluginModel.install_phase1 requires a keyword argument existing_variables and OpenC3::PluginModel.install_phase2 requires a single positional argument for plugin_hash. Seems like a simple fix, other parts of openc3cli already call these correctly.
To Reproduce
Clone the openc3 repo and create a plugin gem following the openc3 documentation. Then run the xtce_converter cli tool to export XTCE files. This is following the documentation from https://openc3.com/docs/v5/xtce
$ ./openc3.sh cli xtce_converter --plugin myplugin-*.gem --output output_dir
Installing myplugin-20220929140301.gem
Error: wrong number of arguments (given 2, expected 1; required keyword: scope)
/usr/local/lib/site_ruby/3.1.0/rubygems/uninstaller.rb:98:in `uninstall': gem "myplugin" is not installed (Gem::InstallError)
from /openc3/bin/openc3cli:257:in `xtce_converter'
from /openc3/bin/openc3cli:514:in `<main>'
Running the
xtce_converter
from openc3cli fails with a ruby error due to calling theinstall_phase1
andinstall_phase2
functions with incorrect arguments (seeopenc3cli
).OpenC3::PluginModel.install_phase1
requires a keyword argumentexisting_variables
andOpenC3::PluginModel.install_phase2
requires a single positional argument forplugin_hash
. Seems like a simple fix, other parts ofopenc3cli
already call these correctly.To Reproduce Clone the openc3 repo and create a plugin gem following the openc3 documentation. Then run the xtce_converter cli tool to export XTCE files. This is following the documentation from https://openc3.com/docs/v5/xtce
Environment: