Skip to content
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

AttributeError while synthesizing strategies #1

Open
ankitamitra opened this issue Oct 29, 2019 · 1 comment
Open

AttributeError while synthesizing strategies #1

ankitamitra opened this issue Oct 29, 2019 · 1 comment

Comments

@ankitamitra
Copy link

I followed the instructions provided all the way up to Learning and Synthesis
When I try to run the command to load formulas from leipzig benchmark and run the procedure to synthesize best strategy for every formula as follows:
(venv) $ python synthesis/learning.py experiments/configs/leipzig/config_apprentice.json
--benchmark_dir examples/QF_NIA/leipzig/
--max_timeout 10
--num_iters 5
--iters_inc 5
--pop_size 1
--eval_dir eval/synthesis/
--smt_batch_size 100
--full_pass 2
--num_threads 10
--experiment_name leipzig_example

I get the following error:

Screen Shot 2019-10-29 at 3 36 48 PM

I have not modified any of the files during setup, and everything works perfectly up until this step. Any ideas on how to get around this?
Any help would be greatly appreciated!

@mbalunovic
Copy link
Contributor

Hi, I think the issue is probably incorrect version of Z3.
I checked again and the installation script works for me.
Could you check if you have Z3 4.6.2 installed?

$ z3 --version
Z3 version 4.6.2 - 64 bit

Also, please make sure you installed Python bindings for Z3 4.6.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants