nagyistoce / cardpeek

Automatically exported from code.google.com/p/cardpeek
Other
1 stars 0 forks source link

In windows, tachograph data is not exported correctly in .ddd file #43

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use Cardpeek under windows and run the tachograph script
2. Export the result in a .ddd file
3. Read the exported .ddd file with readesm

What is the expected output? What do you see instead?

The output of readesm is truncated, due to a windows specific bug in 
tachograph.lua

Please use labels and text to provide additional information.

It seems that this problem can be fixed by changing the following line in 
tachograph.lua (line 714):
       file = io.open(fname,"w")
to
       file = io.open(fname,"wb")

Confirmation is underway.

Original issue reported on code.google.com by L...@gmx.com on 27 Apr 2014 at 6:29

GoogleCodeExporter commented 9 years ago
This problem is now fixed in SVN.

Original comment by L...@gmx.com on 29 Jun 2014 at 4:33