[RealityScan 2.1 Linux] -importGlobalSettings forces a pop up even on -headless, which breaks on non-GUI OS

Hello! Thanks for releasing Linux version with RealityScan 2.1. I’ve been using it for the past month and it’s quite promising! However I’ve encountered a pipeline breaking issue. Whenever I use -importGlobalSettings, it forces a pop up, even on -headless mode. On a GUI-enabled OS, clicking “yes” allows the command to proceed (although no longer headless), but on a non-GUI enabled OS, this makes the whole process to stuck here, presumably because the pop up never could show up in the first place?

screenshot of pop up:

How to reproduce:

  • run any number of CLI commands with -importGlobalSettings and -headless

Current behaviour:

  • on GUI-enabled OS, a pop up shows up about an updated cache location, which seemed to be unavoidable regardless of the cache location within the imported settings file (cmiiw, see Notes below for details). It needs to be manually resolved by clicking “yes”, otherwise the command does not progress further

  • on non-GUI enabled OS, it’s stuck here! command never progresses past this -importGlobalSettingspoint

Expected behaviour:

  • if the cache location is not changing, no pop up should show up.

  • if it’s on headless mode, it should stay headless and the process should still be able to proceed without manually resolving this (maybe resolves by passing “yes” in the background, or according to some newly defined parameter e.g. -y)

Notes:

  • I’ve tried to avoid having this pop up by using different cache locations on the imported global settings file, but it seems this pop up always shows up regardless of the initial/passed cache location. I presume this might be because the path/directories are different as we’re running the software via Wine on the Linux version, but I’m not sure.

  • in addition, when I have multiple -importGlobalSettingsin the code, I expected the pop up to only show up once as the cache locations are the same between the different files I have. But the pop up goes off multiple times instead, once for each -importGlobalSettings command (which supports my first point above)

  • yes I’ve used -headless mode and the pop up still show up

Appreciate any help/comment! this has been a challenge for me as it prevents me from doing a consistent headless run on Linux version.

Hi, there are some occasions, when user interaction is needed and changing global settings is one of those.

Thanks for the reply! Adding -silent, the pop up still appears. Is there any way to prevent this pop up from blocking the process?

Would be nice to have a way to interact/resolve this programmatically for CLI and Linux version :slight_smile:

No for such commands. There is the user interaction needed. I will add this as a feature request for such cases.