Black Lives Matter. Please consider donating to Black Girls Code today.

Call Orca error: FileNotFoundError: [WinError 206] The filename or extension is too long

hi,
i can’t use the write_image function ( never managed to make it work. Here the post i put up there but nobody seems to know the answer.
Save image offline)

but for some strange reasons, i can still save images using the call orca function in my python script.
From time to time though, it blocks on some name of file too long wich is not the case

call([‘orca’, ‘graph’, json.dumps(fig1, cls=plotly.utils.PlotlyJSONEncoder), ‘-o’, ‘the_image_name’,’-d’,‘images’,’-f’,‘svg’])
File “C:\ProgramData\Anaconda3\lib\subprocess.py”, line 323, in call
with Popen(*popenargs, **kwargs) as p:
File “C:\ProgramData\Anaconda3\lib\subprocess.py”, line 775, in init
restore_signals, start_new_session)
File “C:\ProgramData\Anaconda3\lib\subprocess.py”, line 1178, in _execute_chil
d
startupinfo)
FileNotFoundError: [WinError 206] The filename or extension is too long

Any idea ? that’s a very odd one.

Thanks