Problems with Graphviz
Riccardo-sus opened this issue · 1 comments
Following the instructions provided in the Temoa pdf, I have written this command in the environment which I have created:
-- python MakeGraphviz.py -i tuscany_res_BAU.sqlite
(tuscany_res_BAU.sqlite is the file that I want to plot)
The system says that I do have not the file in the directory but I have verified that it was inside.
This is the error:
(temoa-py3) (venv) C:\Users\ricca\PycharmProjects\TEMOApythonProject\temoa-energysystem\data_processing>python MakeGraphviz.py -i tuscany_res_BAU.sqlite
setGraphicOption: updated greyFlag = False and splinevar = False
GraphvizDiagramGenerator: connected
setGraphicOption: updated greyFlag = False and splinevar = False
createCompleteInputGraph: started with inp_tech = None and inp_comm = None
createCompleteInputGraph: database fetched successfully
createCompleteInputGraph: creating diagrams
('dot', '-Tsvg', '-o.\tuscany_res_BAU_input_graphviz\tuscany_res_BAU.svg', '.\tuscany_res_BAU_input_graphviz\tuscany_res_BAU.dot')
Traceback (most recent call last):
File "MakeGraphviz.py", line 373, in
res = graphGen.createCompleteInputGraph()
File "MakeGraphviz.py", line 363, in createCompleteInputGraph
self.generateGraph(quick_run_dot_fmt, args, outputName, outputFormat)
File "MakeGraphviz.py", line 54, in generateGraph
call(cmd)
File "C:\Users\ricca\anaconda3\envs\temoa-py3\lib\subprocess.py", line 323, in call
with Popen(*popenargs, **kwargs) as p:
File "C:\Users\ricca\anaconda3\envs\temoa-py3\lib\subprocess.py", line 775, in init
restore_signals, start_new_session)
File "C:\Users\ricca\anaconda3\envs\temoa-py3\lib\subprocess.py", line 1178, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] Impossibile trovare il file specification
Thanks in advance,
This issue should be addressed in the Google Group, not here.