Geolib analysis doesn't return anything

Hi support,

I try to implement a geolib calculation in one of our applications. We have other applications that run geolib calculations properly, but this one doesn’t seems to work.

With the following method I try to run a in-memory-foi-file:

def perform_and_parse_d_foundations_viktor(input_file: File):
    dfoundations_analysis = viktor.external.dfoundations.DFoundationsAnalysis(input_file=input_file)
    dfoundations_analysis.execute()
    return dfoundations_analysis.get_output_file()

The calculation log shows the following:

2025-03-05 13:56:58.104 WARNING : Setting model, prior made modifications in the current D-Foundations model might be overwritten.
2025-03-05 13:56:59.233 INFO    : External analysis not yet finished, waiting 1.0 seconds to retry...
2025-03-05 13:57:00.322 INFO    : External analysis not yet finished, waiting 1.0 seconds to retry...
2025-03-05 13:57:01.407 INFO    : External analysis completed successfully, returning results
2025-03-05 13:57:01.416 ERROR   : No file with extension '.fod' returned by analysis

If I open the .foi file localy in DFoundations, the calculation runs properly.

Does anyone have an idea why this calculation doesn’t return an output file?

Update: if I use geolib version 0.5.1 the calculation does return an output file

1 Like