Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
1.9 kB
2
Indexable
Never
plot_hpgl_file.py /home/loulou/Documents/dessin-plot/dessin.hpgl               ✔  17s   chiplotle  
Scanning serial ports...
Found ports:
  /dev/ttyUSB0

Sniffing for plotters in all serial ports...
Traceback (most recent call last):
  File "/home/loulou/.virtualenvs/chiplotle/bin/plot_hpgl_file.py", line 23, in <module>
    plot_hpgl_file(file) 
  File "/home/loulou/.virtualenvs/chiplotle/bin/plot_hpgl_file.py", line 8, in plot_hpgl_file
    plotter = instantiate_plotters( )[0]
  File "/home/loulou/.virtualenvs/chiplotle/lib/python2.7/site-packages/chiplotle/tools/plottertools/instantiate_plotters.py", line 21, in instantiate_plotters
    result = search_and_instantiate_plotters( )
  File "/home/loulou/.virtualenvs/chiplotle/lib/python2.7/site-packages/chiplotle/tools/plottertools/search_and_instantiate_plotters.py", line 21, in search_and_instantiate_plotters
    plotters_found = sniff_ports_for_plotters(ports)
  File "/home/loulou/.virtualenvs/chiplotle/lib/python2.7/site-packages/chiplotle/tools/serialtools/sniff_ports_for_plotters.py", line 11, in sniff_ports_for_plotters
    plotter_name = what_plotter_in_port(port)
  File "/home/loulou/.virtualenvs/chiplotle/lib/python2.7/site-packages/chiplotle/tools/serialtools/what_plotter_in_port.py", line 18, in what_plotter_in_port
    ser = instantiate_serial_from_config_file(port)
  File "/home/loulou/.virtualenvs/chiplotle/lib/python2.7/site-packages/chiplotle/tools/serialtools/instantiate_serial_from_config_file.py", line 19, in instantiate_serial_from_config_file
    rtscts = rtscts)
  File "/home/loulou/.virtualenvs/chiplotle/lib/python2.7/site-packages/serial/serialutil.py", line 225, in __init__
    self.parity = parity
  File "/home/loulou/.virtualenvs/chiplotle/lib/python2.7/site-packages/serial/serialutil.py", line 336, in parity
    raise ValueError("Not a valid parity: {!r}".format(parity))
ValueError: Not a valid parity: '0'