pythomata icon indicating copy to clipboard operation
pythomata copied to clipboard

Permission error while saving graphs using graphvix

Open HideOnHeart0507 opened this issue 4 years ago • 1 comments

Hi, I was using your library for minimizing a 3 variable DFA and while using graph.render it shows permission error as the graph below. 1

HideOnHeart0507 avatar Mar 06 '21 16:03 HideOnHeart0507

Hi. From the error message, it looks like you are calling the render function with argument "C:/Python". The argument of render is the output path where the automaton will be printed. With "C:/Python", you actually tried to replace your Python executable (fortunately, your OS prevented that). Try with another string, e.g. "automata". This should print an automata.dot file in the current working directory.

marcofavorito avatar Mar 07 '21 09:03 marcofavorito