epanettools icon indicating copy to clipboard operation
epanettools copied to clipboard

Error 302

Open i-Albert opened this issue 5 years ago • 1 comments

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.

i-Albert avatar May 15 '19 12:05 i-Albert

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.

omeersari avatar Sep 30 '19 11:09 omeersari