LANDIS-II-Foundation / Tool-LANDVIZ

LANDVIZ Tool for Visualizing LANDIS outputs
3 stars 5 forks source link

PreProcTool gives error message when done running #35

Open brmiranda opened 6 years ago

brmiranda commented 6 years ago

I believe this is a known issue, but I don't see it listed in the Issues. When the PreProcTool is done running, it comes up with an error box that says PreProcTool.exe has stopped working (see attached). I believe the tool successfully runs to completion prior to this message box appearing. However, it can be confusing from the user's perspective to see the error message, and not know whether it has completely finished running.

Error_message.pdf

mshukuno commented 6 years ago

I tried to duplicate the error you have, but I wasn't successful. You should see "Press any key to continue..." comment in the command line after the successful run of the tool which I don't see in the provided image. Do you get every time?

brmiranda commented 6 years ago

Once I click the ‘Close the program’ button on the error window, then the DOS window proceeds to add the “Press any key to continue…” line. But the process gets hung up on that error window before that last line appears.

mshukuno commented 6 years ago

I tested on Windows 7 and encountered the same problem. It seems known problem for some programs not limited to PreProcTool. Please try the solution below and let me know if it fixed the problem.

Solution:

  1. Find PreProcTool.exe (default installation directory is in C:\Program Files (x86)\LANDIS-II\LandisPreProcTool)
  2. Right-click PreProcTool.exe and select Properties
  3. Click Compatibility tab
  4. Check Run this program in compatibility mode for: box and then select Windows 7 from a dropdown list (see https://www.screencast.com/t/cgE6VKRp5iie)
  5. Click OK