Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad data parsing in lightstone_get_info() #1

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

seberm
Copy link

@seberm seberm commented Jan 21, 2013

Sometimes the XXXXXXXX<\SER> data was loaded except the
abcdefgh<\ROW>. After that the ligtstone_get_info() returned bad value.

In my case I was getting:

$ LD_LIBRARY_PATH=./lib/ ./bin/lightstone_test
Found 1 Lightstones
Opening lightstone 1
0.967000 0.000000
0.957000 0.000000
......
0.970000 0.000000
0.980000 0.000000
0.967000 0.000000
0.958000 0.000000
29.695999 0.050000 <<< BAD
0.973000 0.000000
0.960000 0.000000
.......
..

Sometimes the <SER>XXXXXXXX<\SER> data was loaded except the
<ROW>abcdefgh<\ROW>. After that the ligtstone_get_info() returned bad value.
This function gets a serial string from the hardware device.
@seberm
Copy link
Author

seberm commented Jan 21, 2013

lightstone_get_serial() was not tested on Windows

Why not to get the version from the device?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant