You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a feature request related to a problem. Please describe.
Windows 11. Trying follow tutorial 3 and use the graphviz code to create a figure. Pretty sure graphviz is installed but the directory g_strat.export_gate_hierarchy_image() tries to write to seems to not have permissions.
# Return a gating hierarchy image from the gating strategy object
nrerated\n")
g_strat.export_gate_hierarchy_image('D/VSCode_Projects/UsingFlowkit/gs.png')
Image('D://VSCode_Projects/UsingFlowkit/gs.png')
g_strat.export_gate_hierarchy_image()
On my windows machine it tries to write to a tmp directory that apparently doesn't have rights. Not sure why it doesn't have rights, but It would be nice if I could specify where this write was to take place to. Then, I could probably work around the issue. Here is the output:
Error: dot: can't open C:\Users\rbaer\AppData\Local\Temp\tmpt23j7q9x: Permission denied
Traceback (most recent call last):
File "d:\VSCode_Projects\UsingFlowkit\Analysis_3.py", line 27, in <module>
g_strat.export_gate_hierarchy_image('D/VSCode_Projects/UsingFlowkit/gs.png')
File "C:\Users\rbaer\anaconda3\envs\flow\Lib\site-packages\flowkit\_models\gating_strategy.py", line 640, in export_gate_hierarchy_image
DotExporter(self._gate_tree).to_picture(output_file_path)
File "C:\Users\rbaer\anaconda3\envs\flow\Lib\site-packages\anytree\exporter\dotexporter.py", line 308, in to_picture
check_call(cmd)
File "C:\Users\rbaer\anaconda3\envs\flow\Lib\subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['dot', 'C:\\Users\\rbaer\\AppData\\Local\\Temp\\tmpt23j7q9x', '-T', 'png', '-o', 'D/VSCode_Projects/UsingFlowkit/gs.png']' returned non-zero exit status 2.
Describe the solution you'd like
Either to write to a directory that has proper permissions or a way to specify the director Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered:
This is a feature request related to a problem. Please describe.
Windows 11. Trying follow tutorial 3 and use the graphviz code to create a figure. Pretty sure graphviz is installed but the directory g_strat.export_gate_hierarchy_image() tries to write to seems to not have permissions.
On my windows machine it tries to write to a tmp directory that apparently doesn't have rights. Not sure why it doesn't have rights, but It would be nice if I could specify where this write was to take place to. Then, I could probably work around the issue. Here is the output:
Describe the solution you'd like
Either to write to a directory that has proper permissions or a way to specify the director
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: