ODBII graphic interface on a Raspberry Pi computer, using an ELM327 Bluetooth/USB device. Read and display engine data, OBDII Trouble Codes & Descriptions Using Python. YouTube video: https://www.youtube.com/watch?v=yTRAhubZhsU
263
stars
71
forks
source link
Cannot print PDF if vehicle does not supply VIN #12
In pyOBDII.py lines 530 and on, the filename assumes that the vehicle VIN can be retrieved via the 0902 command.
In my case (1996 Saab 900) this command returns N/A
So the filename is constructed as SAVE/date..N/A.pdf which cannot be written as the second / is interpreted as a directory separator.
In my case I just commented out line 533 and added
FileName += '.pdf'
In pyOBDII.py lines 530 and on, the filename assumes that the vehicle VIN can be retrieved via the 0902 command. In my case (1996 Saab 900) this command returns N/A So the filename is constructed as SAVE/date..N/A.pdf which cannot be written as the second / is interpreted as a directory separator. In my case I just commented out line 533 and added FileName += '.pdf'
However this is not the proper solution