Skip to main content

I am trying to run my workspace on the command line, using a command file.

fme COMMAND_FILE C:\Projects\330004063_Test\cmd_file.txt

It takes a bit, not as long as I would have expected, considering the test run of the workspace in the workbench, but then I get the following three lines, and everything is over.

Reading...
Emptying factory pipeline
Translation was SUCCESSFUL with 2 warning(s) (0 feature(s) output)

The content of the command file looks like this:

C:\Projects\330004063_Test\fme\figuring_things_out.fmw --DestDataset_OGCGEOPACKAGE "C:\Projects\330004063_Test\output\roads_test1.gpkg" --SourceDataset_SHAPEFILE_4 "C:\Projects\330004063_Test\input\KTM_Baseline2019Roads_EW50.shp"

 

When I run the workspace in the workbench it takes 7.5 seconds to run through the data and is producing the expected geopackage, containing 11.433 features.

The command line run does not seem to process anything. At least there is no verbose handling of the processing. It also does not produce the expected test1.gpkg.

 

Any ideas on how I can debug the problem, and why it might not work?

Your getting two warnings, so that suggests something is failing. There should be a log file alongside the fmw your calling.

You can also specify the log file location like so:

"C:\Program Files\FME\fme.exe" "C:\tmp\my_task.fme" LOG_FILENAME "C:\destination\my_task.log

 


Reply