From 7da2cf3d44edef838d0cd24f17bfc5f71dbb5da9 Mon Sep 17 00:00:00 2001 From: Saijin-Naib <19295950+Saijin-Naib@users.noreply.github.com> Date: Mon, 5 Apr 2021 16:50:16 -0400 Subject: [PATCH] Update odm_app.py (#1260) Tweak verbiage, include link to wslconfig documentation. --- stages/odm_app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stages/odm_app.py b/stages/odm_app.py index 08f4b1b5..44a60f1f 100644 --- a/stages/odm_app.py +++ b/stages/odm_app.py @@ -96,7 +96,7 @@ class ODMApp: # Segfault log.ODM_ERROR("Uh oh! Processing stopped because of strange values in the reconstruction. This is often a sign that the input data has some issues or the software cannot deal with it. Have you followed best practices for data acquisition? See https://docs.opendronemap.org/flying.html") elif code == 137: - log.ODM_ERROR("Whoops! You ran out of memory! Add more RAM to your computer, if you're using docker configure it to use more memory (unless you are using the WSL2 backend, nothing you can do there), resize your images, lower the quality settings or process the images using a cloud provider (e.g. https://webodm.net).") + log.ODM_ERROR("Whoops! You ran out of memory! Add more RAM to your computer, if you're using docker configure it to use more memory, for WSL2 make use of .wslconfig (https://docs.microsoft.com/en-us/windows/wsl/wsl-config#configure-global-options-with-wslconfig), resize your images, lower the quality settings or process the images using a cloud provider (e.g. https://webodm.net).") elif code == 132: log.ODM_ERROR("Oh no! It looks like your CPU is not supported (is it fairly old?). You can still use ODM, but you will need to build your own docker image. See https://github.com/OpenDroneMap/ODM#build-from-source") elif code == 3: @@ -106,4 +106,4 @@ class ODMApp: # TODO: more? - return code \ No newline at end of file + return code