The program does not work or open

Can someone help me get the model to open up? It seems to just go to a black screen and then go away immediately.

Hi @cnovotny85,

Thanks for posting to the forums and trying InVEST. Can you provide a little more information?

  • What Operating System and version are you using, Windows 10 or Mac-Catalina?
  • Which version of InVEST did you download?
  • Do all the models result in a black screen that disappears?

Thanks!

Doug

Windows 10 Version 1909
I tried 3.8.1, 3.8.8, and 3.8.9, but all three gave the same issue.

Hi @cnovotny85 In order to troubleshoot further, could you try the following:

  1. Open cmd.exe
  2. cd into the InVEST installation directory (usually under something like C:\InVEST_3.8.9-x86\invest-3-x86 )
  3. Execute this command: .\invest.exe run carbon
  4. Copy the text of the error printed to the cmd window into this thread so we can take a look.

Thanks!

1 Like

Where is cmd.exe? It was not part of the files that came with the download.

I figured out what cmd.exe is and followed the instructions. Why do I have to use cdm.exe to make this software run? Why can’t I double click the icon like normal and have it load up?

Is there a way to open up the file from the folder itself rather than having to use this cmd thing to make the software run?

Hi @cnovotny85 -

Most of the time, we can launch the models from the Windows Start menu, just like other apps. When this doesn’t work properly for someone, running it from the command line might provide information to help the software team understand why, and troubleshoot to find a solution, so you can run it from the Start menu in the future. Hopefully, running it from the command line at least lets you get on with your work for the moment.

Just to set expectations, Stanford is closed for Thanksgiving holiday until Monday, 11/30, so we are all away right now and will look further into this issue when we return. In the meantime, have you tried searching this forum to see if there are any related threads that might help?

~ Stacie

1 Like

Thanks for your patience, @cnovotny85. A few more questions to help us figure this out:

When you used cmd.exe and entered the command invest.exe run carbon - is any text printed to the black cmd window? Could you copy/paste anything you see there and leave it here?

Which model were you trying to open to begin with? Are you able to open that model with a similiar command like invest.exe run some_other_model? Use invest.exe list to see a list of all the model names that can be passed to the invest.exe run command. Is there any text from the cmd window that you can copy/paste?

Thanks,

2 Likes

Oh, and you may also try adding --debug to those commands, which may give us extra information.

For example, invest.exe --debug run carbon

Can we book some time to help work through this problem over share screen? I just downloaded 3.9.0 and the same problem.

Hi @cnovotny85 ,

Sorry you’re still experiencing issues with this. We’re a pretty small team with limited resources so we don’t necessarily provide scheduled screen share troubleshooting. We’re happy to help over these forums though.

Could you try some of the same recommendations that @dave mentioned before? Specifically running invest.exe --debug run sdr from cmd.exe like you did before? If you could copy and paste here what is output in the black console that would be the most helpful to start.

Like Dave mentioned as well, you can run invest.exe list to display the available model names to call in this way.

Sorry for this complicated debug process but hopefully we can get it sorted out! Thanks for helping make InVEST better.

Doug

1 Like

@cnovotny85 , I’ve just patched this version of InVEST to have the command prompt stay open longer if an error causes it to crash unexpectedly. Could you try it and see if the error is presented there? Please be sure to include the text that it shows and we’ll see if we can debug further from there.

Here’s the download:https://storage.googleapis.com/natcap-dev-build-artifacts/invest/phargogh/3.8.9.post1302+gb1502e5a/InVEST_phargogh3.8.9.post1302+gb1502e5a_x64_Setup.exe

Thanks,
James

1 Like