-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sby: Failed to create process #37
Comments
Try adding a SymbiYosys script to the command line, such as
One example of such a script would be this one, used to verify this fairly simple bus counter. You can find a longer discussion of this timer, and its proof, here. For more information about the SymbiYosys script file format, check out this readthedocs page. Dan |
Do you get any output at all from |
sby --help gives me the same error: It didn't give me any build errors and is located in Hm. Perhaps some combination of things while using MSYS2? |
This DOES look related! Excellent that someone else is in the same (or similar) boat. |
@cliffordwolf Yes, it's related. @trayres Where is the file |
sby-script.py is located in
sby.exe is in the same location The shebang line of sby-script is the following: From a MSYS2 prompt, "where python" produces:
Replacing the shebang line with #!C:/msys64/mingw64/bin/python.exe returns something now:
|
@trayres Replace with In any case, I provide a Try installing SymbiYosys again with either of the following invocations (I prefer the second one), and
|
Good catch, I thought I had symlinked python to python3 but apparently I had installed them both via MSYS2. I will pull latest, reinstall and provide feedback this weekend. Thank you. |
Like |
Just to clarify: Is using from within MSYS2 recommended or viable practice? Or is the intended workflow to compile/install via MSYS2 then use CMD? |
@trayres If you're using However, stuff like Python's |
I used this after git pull: Now I get:
|
@trayres Yes I noticed that too about 2 nights ago; that change appears to postdate my PR being accepted. Anyways I have a new PR in the works to improve Windows support, so I would suggest being on standby until that is ready. |
@trayres Try this branch and see if it fixes your problem :). |
Hm, this is what I get with that branch:
|
Then I added "import signal" to sby_core.py, and I got a little farther:
|
Mmm, that doesn't seem right at all... line 239 in my branch isn't a call to select at all... did you forget to do |
Line 239 on your machine doesn't match line 239 in the branch that I pointed you to. Can you make sure the |
Something ain't right - it looked like there was another set of files from an earlier attempt to get this up and running. So I blew away everything and reinstalled.
Fine, add it to $PYTHONPATH:
Let's try again:
At this point, I'm sensing that the error is between the screen and the chair, and/or potentially between my ears, however it is now doing more than it previously has. Does the (current) error make sense to you, or is it still something wrong with my configuration (...seems likely)? |
Make sure your |
Shoot, I thought it was: |
@trayres Then make sure If they exist on your path already, then I don't know what the problem is then, sorry :(. |
just to share my take on this, as I was facing the same issue today:
I used latest MSYS2 on ucrt64, and discovered that /ucrt64/bin/yosys-smtbmc-script.py and /ucrt64/bin/yosys-witness-script.py contained the following shebang: #!D:/a/msys64/ucrt64/bin/python3.exe I replaced with the correct path (in my case #!c:/msys64/ucrt64/bin/python3.exe) and now yices engine finally starts properly. Now I see this:
|
I'm using msys2, and I followed the instructions as best I could - for Z3 I used the released binary package rather than building from source, as the instructions here (https://symbiyosys.readthedocs.io/en/latest/quickstart.html#installing) assume Linux.
The only thing it does is spit out:
The text was updated successfully, but these errors were encountered: