UWStout / PARSECScripts

Simple scripts to support the PARSEC rig and automate the software involved in the process.
1 stars 0 forks source link

Log won't save in headless mode #6

Closed DarcyMagdaHannen closed 5 years ago

DarcyMagdaHannen commented 5 years ago

Metashape will write a log file when a script is run from Metshape GUI but will not currently save a log when run from headless mode.

DarcyMagdaHannen commented 5 years ago

Metashape.app.settings.log_enable = True Metashape.app.settings.log_path = "{}/log.txt" .format(PATH_TO_IMAGES)

This log is only generated by Metashape when the application is run with GUI. I modified the scripts to catch stdout and write it to a text file.