EmotiBit / ofxEmotiBit

OpenFrameworks library and examples for the EmotiBit
MIT License
33 stars 7 forks source link

DataParser calls ofExit() before all the parsed data has been written #155

Closed produceconsumerobot closed 1 year ago

produceconsumerobot commented 1 year ago

Describe the bug Missing data in parsed data image image

To Reproduce Steps to reproduce the behavior:

  1. Run parser on this raw data file https://drive.google.com/drive/folders/12SWVNPRHNfYAYJ6wneMRAzyTrT2vj1S7?usp=sharing

Expected behavior Finish writing all parsed data before exiting

Desktop (please complete the following information):

Additional context It seems likely that keepGoing needs to account for file write buffers before calling ofExit() in https://github.com/EmotiBit/ofxEmotiBit/blob/master/EmotiBitDataParser/src/ofApp.cpp#L226-L236

nitin710 commented 1 year ago

I stumbled upon on this bug as well image (3)

Using a compiled exe (not an installer)