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

Error 302 #35

Open
i-Albert opened this issue May 15, 2019 · 1 comment
Open

Error 302 #35

i-Albert opened this issue May 15, 2019 · 1 comment

Comments

@i-Albert
Copy link

i-Albert commented May 15, 2019

when use the codes of usage :

import os, pprint
pp=pprint.PrettyPrinter() # we'll use this later.
from epanettools.epanettools import EPANetSimulation, Node, Link, Network, Nodes,
... Links, Patterns, Pattern, Controls, Control # import all elements needed
from epanettools.examples import simple # this is just to get the path of standard examples
file = os.path.join(os.path.dirname(simple.file),'Net3.inp') # open an example
es=EPANetSimulation(file)

it shows that error 302. Could you help me to deal with this? Thank you.
P.S. I'm using python 3.7 with windows 10.

@omeersari
Copy link

Hi,

It says in Epanet documentation:
File Error 302: cannot open input file.

so its something wrong with your file. Be sure you are doing everything okay in your epanet model.

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