-
Notifications
You must be signed in to change notification settings - Fork 11
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
renview stuck #11
Comments
Hi Raoul, It seems that the issue might be because of the check_call renview uses to generate svg files in Windows. In ubuntu, replacing that line with
should work fine. Can you comment out the check_call in the GraphGenerator/init.py and use the above statements to generate the svg files? |
Sir, Nevertheless, your description of the error helped me out to find a fix. I commented out the check_call lines and replace it by the 2 following lines for each check_call. It required also to import pydot. It looks like this worked just fine as I have now all the svg files in the ammonia example directory. |
Thanks, Raoul for letting us know that you were able to find a workaround.
works if Graphviz has been added to the system path. dot is a built-in command in Graphviz. pydot is doing the same thing where pydot is a python package for Graphviz. I will include instructions for people working on OS other than windows. |
Hi, I'm investigating renview to see if it can help in my research work. Unfortunately, it looks like it remains stuck somewhere after the creation of the result directory (see the message below obtained after a Crtl C). I tried several things without any success. Let me add that I tested graphiz with small examples from its manual and they worked fine.
So if if someone can help, I ll be grateful.
message (unbuntu 20.04): File "run.py", line 64, in
run(**default_kwargs)
File "run.py", line 20, in run
gg.generate_visualizations()
File "/home/hc/.local/lib/python3.8/site-packages/renview/GraphGenerator/init.py", line 662, in generate_visualizations
check_call(['dot', '-Tsvg', f.name, '-o', filename_svg], shell=True)
File "/usr/lib/python3.8/subprocess.py", line 359, in check_call
retcode = call(*popenargs, **kwargs)
File "/usr/lib/python3.8/subprocess.py", line 342, in call
return p.wait(timeout=timeout)
File "/usr/lib/python3.8/subprocess.py", line 1079, in wait
return self._wait(timeout=timeout)
File "/usr/lib/python3.8/subprocess.py", line 1804, in _wait
(pid, sts) = self._try_wait(0)
File "/usr/lib/python3.8/subprocess.py", line 1762, in _try_wait
(pid, sts) = os.waitpid(self.pid, wait_flags)
KeyboardInterrupt
The text was updated successfully, but these errors were encountered: