Export ortho from PPI project using cli crashes

Hello !

We used the RealityCapture free dataset Small Relief to create models and orthoprojections.
Exporting the models and orthoprojections via the gui works perfectly. Exporting the models using the cli works as well but exporting the orthoprojections using the cli results in
“The validity periods of the certification chain do not nest correctly” corruption error.

The same ortho export command from licensed projects using cli works perfectly.

Hello Iconem,
this is quite strange behaviour. Is it happening for you also after application reset?
Regarding that error, can you try these possible fixies?

Unfortunately, it still triggers the same error after application reset and none of the fixes work.
RC is cleanly installed in a non-corrupted environment but it remains impossible to export orthoprojections using the cli although it works well through the gui.

Can you share the CLI script you are using?

Here is the rc cmd used :

> ./RealityCapture.exe -headless -delegateTo {jobID} -setOutputCoordinateSystem epsg:3857 -selectComponent "Component 0" -selectOrthoProjection "Ortho projection 1" -exportOrthoProjection "./export_ortho_config.xml"

With the following .xml:

<Configuration>
  <entry key="exportOrthoWorldCoordSystemAxesType" value="1"/>
  <entry key="exportOrthoAsBatch" value="false"/>
  <entry key="exportDSM" value="false"/>
  <entry key="exportOrthoInfoFile" value="true"/>
  <entry key="exportOrthoAsBigTiff" value="true"/>
  <entry key="exportOrthoCompression" value="0"/>
  <entry key="exportOrthoWorldFile" value="-1"/>
</Configuration>

Not sure if that will be the mentioned error, but you are missing the fileName parameter in the -exportOrthoProjection command.

My bad! The rc cmd is indeed:

> ./RealityCapture.exe -headless -delegateTo {jobID} -setOutputCoordinateSystem epsg:3857 -selectComponent "Component 0" -selectOrthoProjection "Ortho projection 1" -exportOrthoProjection "./ortho_proj.tiff" "./export_ortho_config.xml"

So, is it still no working?
Which version of RealityCapture are you using? Is this also happening on some other dataset? Is this also happening on some other machine? Can you check in the console view after which command is this happening? Can you try to use -exportOrthoProjection "./ortho_proj.tiff" "./export_ortho_config.xml" in the console view as a command in opened application?
I tested it and for me it worked.

The command is part of an automated workflow used by several users on different device.
It is consistenly happening with PPI projects (Small Relief and Drone Imagery RC free datasets) using version 1.2.2.116899 Tarasque then version 1.3.1.117316.
Here is the log output:

Executing command ‘setOutputCoordinateSystem’ with parameter ‘epsg:3857’
Executing command ‘selectComponent’ with parameter ‘“Component 0”’
Executing command ‘selectOrthoProjection’ with parameter ‘“Ortho proj left”’
Executing command ‘exportOrthoProjection’ with parameters ‘C:\User\Workplace\Data\ortho_test.tiff C:\User\Workplace\Dev\export_ortho_config.xml’
Exporting Orthographic Projection failed after 0.000 seconds.
Processing failed: The validity periods of the certification chain do not nest correctly.
.
[0x5063\0x5063]
[0x5063\0x5063]
Exporting Orthographic Projection failed after 0.009 seconds.

Followed by error message and application killed:

RealityCapture Corrupted

The system has detected a corruption of one or more application components. This might be caused by malicious software present in your computer. Please contact your system administrator and download the original application from the Capturing Reality webpage. For security reasons, the application will quit now.

This is really strange, in you commands there is nothing which could cause such failing.
Can you try this also in the newest release?
Is this also happening for your own dataset?
Can you try to export the ortho without the XML file?
Have you tried the commands also directly in the console view’s command line? If so, is it working?