Closed gconnell closed 7 years ago
Interestingly, just ran this same thing on a non-NUC computer, and things worked fine.
gconnell@gameyduck:~/dafny$ uname -a
Linux gameyduck 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Going to close this for now, as it appears to be device-specific, but happy to run any additional tests if you'd like.
I think I remember running into this. Does it happen if you run the dafny wrapper (dafny
) instead of mono Dafny.exe
). Going by my own answer to http://stackoverflow.com/questions/15399234/cant-write-input-to-process-c-sharp-mono , this could be due to your z3 executable being a broken symlink.
Have you solved this problem? I am encountering this,could you help me?
Did you try my suggestions above? Check whether your z3 is a broken link, an check whether running Dafny directly works.
Thank you very much! I have solve it,with downing and installing z3 of linux-based distribution. I am runing dafny in linux system,but there is a z3.exe in my project! Interestingly!
Great.
Could this be reopened to address the fact that this should be a lot easier to diagnose? I've now hit this twice in a row for different reasons (the second time because I accidentally downloaded the wrong z3 distribution). It looks like it's just a matter of configuring the Boogie logger correctly so that you get a more helpful error.
I was also hit with this issue, for the same reason as @robin-aws above.
I accidentally downloaded the z3 distro for Linux when I needed the one for Mac. This seems to be a pretty easy mistake to make, so it would save a lot of time if the error message was more clear.
Running on intel NUC:
Here's some info on the box, showing among other things that:
Here's the program I'm trying to test:
And here's the error I'm getting:
Dafny was installed by unzipping the 1.9.7 binaries zip. Unzipping the 1.9.8 binaries zip does the same thing. Building from source also does the same thing.
It always includes path
...[Unknown]
I have no familiarity or experience with Mono or .NET, so sorry if this is a trivial fix. Happy to try anything if you're interested in debugging further.