---------------------------------------------------------------------------
CalledProcessError Traceback (most recent call last)
<ipython-input-3-294a2c217b9a> in <module>()
----> 1 spot.aux.str_to_svg(b'syntax error')
/home/adl/git/spot/python/spot/aux.py in str_to_svg(str)
60 ret = dot.wait()
61 if ret:
---> 62 raise subprocess.CalledProcessError(ret, 'dot')
63 return stdout.decode('utf-8')
64
CalledProcessError: Command 'dot' returned non-zero exit status 1