Ran from command line under Ubuntu 10.10, Python 2.6...
Program fails to run with numerous errors while connected to vehicle (running) or not connected at all.
Running pyOBD-II under Debian testing (squeeze) and Python 2.6 only required some minor tweaks for me. As Debian is up-stream to Ubuntu, it should not be too different.
First, be sure you specify the serial port associated with your interface cable. For me, running record-all.py was:
/usr/bin/python record-all.py --port /dev/ttyUSB0 # replace USB0 with the correct port
I also needed to edit the test*.py scripts in the test sub-directory. Python 2.6 did not recognize the '-3' flag and I can't find any references whatsoever in the Python docs to that command line option ?
Johnny
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
David,
Running pyOBD-II under Debian testing (squeeze) and Python 2.6 only required some minor tweaks for me. As Debian is up-stream to Ubuntu, it should not be too different.
First, be sure you specify the serial port associated with your interface cable. For me, running record-all.py was:
/usr/bin/python record-all.py --port /dev/ttyUSB0 # replace USB0 with the correct port
I also needed to edit the test*.py scripts in the test sub-directory. Python 2.6 did not recognize the '-3' flag and I can't find any references whatsoever in the Python docs to that command line option ?
Johnny