[chiplotle-discuss] Fwd: dpx-2000 help
Jeffrey Trevino
jeffrey.trevino2 at gmail.com
Sat Dec 10 20:32:12 EST 2011
Hey y'all,
I'm setting up a DPX-2000 to work with chiplotle. I've run the plotter's
test mode, and the thing works fine. I've got a decent usb->9-bin adapter
and a plotter cable that takes me from 9-pin to 24-pin, as it says in the
FAQ, so the connection looks fine - but I can't get chiplotle to detect the
plotter.
I get a couple errors that someone might be familiar with. First, when I
have the serial_port_to_plotter_map variable in the config file set to
"None," it just tells me that there's no plotter, but that it
"
Found ports:
/dev/tty.Bluetooth-PDA-Sync
/dev/tty.KeySerial1
"
Then, when I make a dictionary to assign the serial port to the plotter -
so the above variable looks like
serial_port_to_plotter_map = {'/dev/tty.KeySerial1' : 'DPX-2000'}
I get the following error:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Chiplotle-0.3.1-py2.6.egg/chiplotle/tools/plottertools/instantiate_plotters.py",
line 17, in instantiate_plotters
p = _instantiate_plotter(k, v)
File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Chiplotle-0.3.1-py2.6.egg/chiplotle/tools/plottertools/_instantiate_plotter.py",
line 19, in _instantiate_plotter
plotter = instantiate_plotter_from_id(ser, id)
File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Chiplotle-0.3.1-py2.6.egg/chiplotle/tools/plottertools/instantiate_plotter_from_id.py",
line 15, in instantiate_plotter_from_id
plotter = getattr(plotters, plt_str)(serial)
File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Chiplotle-0.3.1-py2.6.egg/chiplotle/plotters/dpx2000.py",
line 16, in __init__
_DrawingPlotter.__init__(self, ser, **kwargs)
File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Chiplotle-0.3.1-py2.6.egg/chiplotle/plotters/baseplotter.py",
line 31, in __init__
self.buffer_size = self._buffer_space
File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Chiplotle-0.3.1-py2.6.egg/chiplotle/plotters/baseplotter.py",
line 176, in _buffer_space
bs = self._read_port()
File
"/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Chiplotle-0.3.1-py2.6.egg/chiplotle/plotters/baseplotter.py",
line 161, in _read_port
return self._serial_port.readline(eol='\r')
TypeError: readline() got an unexpected keyword argument 'eol'
which seems to mean that it just can't read anything from the port. I'm
using a Tripp-Lite Keyspan USB->9-pin serial adapter, and I have the
drivers appropriate for my operating system (Mac OS 10.6.8).
Any hints?
thanks for your attention,
Jeff
--
《〠》】〶【〖〠〗〶〛〷〚
Jeff Treviño
PhD Candidate in Music Composition
@ the University of California, San Diego
〖〠〗〶〛〷〚《〠》】〶
Skype: jeffreytrevino
E-mail: jeffrey.trevino at gmail.com
〚《〠》】〶【〖〠〗〶〛〷
9310H Redwood Dr.
La Jolla, CA 92037
USA
〖〠〗〶〛〷〚《〠》】〶【
<http://www.jeffreytrevino.com/>
--
《〠》】〶【〖〠〗〶〛〷〚
Jeff Treviño
PhD Candidate in Music Composition
@ the University of California, San Diego
〖〠〗〶〛〷〚《〠》】〶
Skype: jeffreytrevino
E-mail: jeffrey.trevino at gmail.com
〚《〠》】〶【〖〠〗〶〛〷
9310H Redwood Dr.
La Jolla, CA 92037
USA
〖〠〗〶〛〷〚《〠》】〶【
<http://www.jeffreytrevino.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://music.columbia.edu/pipermail/chiplotle-discuss/attachments/20111210/a6705215/attachment.html>
More information about the chiplotle-discuss
mailing list