-
Notifications
You must be signed in to change notification settings - Fork 2
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
Output log files are truncated. #64
Comments
Just added a couple of new commits #40 that should help - specifically using |
I'll merge that into dev in a sec |
Closed by #67 |
I just checked out the latest main branch (e613e2b) and the log files are truncated but not as I thought. I am processing the data from Lothar with 4 channels and channel specific OTFs (trying to sort out the wiener filter stuff). The end of the file is.....
Looking at the 4 different segments I think the mo comes from earlier steps. I think the later channels are dumping into the log file while the earlier channels are not finished. eg one earlier section ends....
So it looks like the "eted" was truncated from "completed" this segment. Don't understand where the "mo" came from though! |
That's odd. The log files should be completely separate in the processing directory, only combined at the end. If you run it with |
I just tried this again and am finding the weird variable truncation in the log files in the sub directory. Its getting to late for me. I will have another look tomorrow if I get time. |
The final few lines from the 4 log files. All starting at the final occrance of K0 x% line and ending at different places.
|
Also it doesn't seem to be a race condition as it appears that the truncations are the same each time the software is run. |
This is very odd... I've tried reordering how things are handled in #75, so could you try that branch and let me know if that changes anything? The other thing I was thinking is perhaps adding |
I'll try that branch and let you know what the results are. I agree this is very strange, especially in its reproducibility which makes me think it is definitely not a race condition issue. |
Each reconstruction runs on a different process, so the only thing in terms of a race condition I can think of is the flushing and syncing of the output, or perhaps some oddity to do with how the reconstruction process exits (though that should only be a problem if it crashes, so I don't think it's that). I wonder if a very short wait would make a difference, perhaps |
I think the log file is not flushed before it is copied out of the temp directory and the original deleted so the output log files are truncated at the end, finishing mid word in many cases. Here are the last few lines of such a log file.
The text was updated successfully, but these errors were encountered: