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

Invalid: "+ experimentXML +" misses a title. #72

Open
Noitarud opened this issue Sep 2, 2024 · 2 comments
Open

Invalid: "+ experimentXML +" misses a title. #72

Noitarud opened this issue Sep 2, 2024 · 2 comments

Comments

@Noitarud
Copy link

Noitarud commented Sep 2, 2024

Device with v1.1.16 (did you delete other similar issues? I checked, its apparently never been reported)

What causes this? I have seen it a few times now on different devices after trying to save experiment - after time it fails and shows under Unknown (red heading) on main screen.
screenshot before:
Screenshot_20240712-072646_phyphox

@Staacks
Copy link
Member

Staacks commented Sep 3, 2024

Thanks for reporting this.

Could it be that this happens if it is a long measurement that you try to save? As you mention that it fails after some time it seems like the data is not even written completely before it fails, so the red title and the error message is the result of an incomplete file.

The experiment you are showing has been running for about 7 minutes. This may not seem much, but on some devices this already means 200,000 data points per axis. Unfortunately, currently phyphox stores the data within the XML file as plain text, which is terribly inefficient and prone to break. Our plan is to eventually move to a file format with the experiment definition separated from the (the binary) data.

Please let me know if you have no problems with shorter measurements, so I know if I need to bump up the transition to a new file format or if it is a different issue.

@Noitarud
Copy link
Author

Noitarud commented Sep 10, 2024

The experiment was while I was on an aeroplane and the earlier lift-off one saved well after 6:18am (pictured) and was longer (I can select point 600.129s…), could doing two have triggered the issue? Well I can answer that by trying to repeat it! (with an intervening reinspection of first it was okay)
As for longer, I did a 1700s and it saved but when loading it, the app appears to restart after some time and choosing again it loads shortly.
Screenshot_20240910-203241_phyphox

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants