Bug #5280
closed
missing command line execution for KAR files
Added by Daniel Crawl almost 14 years ago.
Updated over 12 years ago.
Category:
execution engine
Description
KAR files cannot be used with kepler.sh.
The workflow in a KAR cannot be run with any of the -gui/-nogui, -cache/-nocache combinations, except -nogui -cache. Even in this case, no dependency checking is done, which results in an error if using the wrong set of modules.
Additionally, the Kepler GUI cannot be started with a workflow opened:
kepler.sh workflow.kar
I've added more support for KAR files on the command line. KARs can be run with and without the gui. A KAR's module dependencies are also checked. I added a -force option to ignore them and try executing the KAR.
There's no support for running KARs with -nocache. It would take a major Kepler redesign to use KARs without the cache.
I also created an effigy for KARs so they can be opened from the command line via "kepler.sh HelloWorld.kar". It also checks the dependencies. If this check fails and the user decides not to force the KAR open, then the KAR ends up being opened by TextEffigy, which shows garbage since KARs are binary. It'd be nice if either TextEffigy would only open text files, or KAREffigy had some way of stopping EffigyFactory from trying to open the KAR with other effigy factories.
To close this bug:
1. prevent TextEffigy from opening KARs
2. test opening/running KARs in a released environment. In this case, if the module dependencies are not met, the user can download the missing modules and restart.
3. update docs on website and elsewhere about new command line options for KARs
Still need to update the docs and the user manual. Also the text effigy will be updated to not open binaries.
I updated TextEffigy to not open files with binary extensions. I also updated ExpressionShellEffigy to not create a window when the input file is specified.
I updated the docs on the website for the new command-line options, but the user guide still needs to be updated - bug #5625.
Original Bugzilla ID was 5280
Also available in: Atom
PDF