-
Notifications
You must be signed in to change notification settings - Fork 21
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
gringo and clasp in Linux on version 3.0.11 #107
Comments
Are just the clasp / gringo binaries missing? Can you let me know the contents of your local |
That's right, it's just the clasp and gringo binaries that are missing, at least compared to what's in the mac64 and win64 folders here. I have the following: In the gringo = ./gringo-4.4.0/gringo
clasp = ./clasp-3.1.1/clasp-3.1.1-x86-linux are pointing to files and folders that do not exist. |
Can confirm that I've also encountered this issue. I installed PyBoolNet 3.0.11 in a virtual environment within my organization's server. I wonder if the installation was blocked due to permission issues, since I don't have sudo privileges (seems like gringo and clasp need to be installed on the OS). However, there didn't seem to be any errors thrown in the installation process. Then again, there was no indication that gringo or clasp were successfully installed either. The workaround is having my HPC admin install gringo 4.4.0 and clasp 3.1.1 on our system. @jcrozum is your situation similar? |
I also have this issue on Windows within Google Colab. When trying to run the pyboolnet.state_transition_graphs.add_style_default function I get the following error: FileNotFoundError Traceback (most recent call last) 6 frames During handling of the above exception, another exception occurred: Exception Traceback (most recent call last) Exception: |
ok, can confirm that's a bug, am working on the fix. |
@jcrozum @mallenjon @Samdeman35 this problem should be fixed now. It seems that the binaries were simply not added to the repo. I have made a bugfix release I have verified that it works by installing pyboolnet into a fresh venv and running the
The new version shows correct behaviour:
Can anyone confirm it works? To install the latest version call
|
@hklarner just installed version |
@hklarner thank you for the quick fix! However, when I try to install the new version using the pip command in Anaconda, the binaries folder is missing, which means I can't import PyBoolNet. I get the following error after running FileNotFoundError Traceback (most recent call last) File ~\AppData\Roaming\Python\Python311\site-packages\pyboolnet\helpers.py:46, in read_nusmv_keywords() FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\Sam\AppData\Roaming\Python\Python311\site-packages\pyboolnet\binaries\nusmvkeywords.json' During handling of the above exception, another exception occurred: Exception Traceback (most recent call last) File ~\AppData\Roaming\Python\Python311\site-packages\pyboolnet_init_.py:11 File ~\AppData\Roaming\Python\Python311\site-packages\pyboolnet\helpers.py:55, in read_nusmv_keywords_or_exit() Exception: |
@Samdeman35 can you check whether this problem is still present in version |
Hi @hklarner, thank you for the fix, it works now again in 3.0.13! |
I just upgraded to version 3.0.11 on Linux and got an error because gringo and clasp could not be found. It looks like
binaries/linux64/settings.cfg
expects them to be packaged with the library, but they are not. When I changed the lines in this file to point to where I have them installed on my system, everything worked as expected.The text was updated successfully, but these errors were encountered: