8000 TypeError: ivy_load_file() takes exactly 1 argument (2 given) · Issue #67 · kenmcmil/ivy · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

TypeError: ivy_load_file() takes exactly 1 argument (2 given) #67

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

Open
VSEJGFB opened this issue Jul 13, 2022 · 0 comments
Open

TypeError: ivy_load_file() takes exactly 1 argument (2 given) #67

VSEJGFB opened this issue Jul 13, 2022 · 0 comments

Comments

@VSEJGFB
Copy link
VSEJGFB commented Jul 13, 2022

I followed the instruction in https://cs.stanford.edu/~padon/ivy/index.html#downloading.

When I run :
python ../../ivy/ivy2.py leader_election_ring.ivy

I get a type error:

TypeError                                 Traceback (most recent call last)
<ipython-input-1-5502424a515f> in <module>()
     18 ctx.__enter__()
     19 ivy_widget = AnalysisSessionWidget()
---> 20 session = AnalysisSession('leader_election_ring.ivy', ivy_widget)
     21 set_context(session)
     22 ivy_widget.transition_view.conjectures = session.analysis_state.ivy_interp.conjs[:]

/home/lsq/ivy/ivy/proof.pyc in __init__(self, filename, widget)
     62         self.filename = filename
     63         try:
---> 64             m = IvyModel(filename)
     65         except IvyError as e:
     66             raise e

/home/lsq/ivy/ivy/proof.pyc in __init__(self, filename)
     24         ag = ivy_new()
     25         try:
---> 26             ivy_load_file(open(filename), ag)
     27         except IvyError as e:
     28             e.filename = filename

TypeError: ivy_load_file() takes exactly 1 argument (2 given)

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

1 participant
0