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

Java issue #11

Closed
arnodelorme opened this issue Oct 11, 2019 · 10 comments
Closed

Java issue #11

arnodelorme opened this issue Oct 11, 2019 · 10 comments
Labels

Comments

@arnodelorme
Copy link
Owner

arnodelorme commented Oct 11, 2019

We get the following error in the EEGLAB command line window:

[Fatal Error] 👎-1: Premature end of file.
MFFRootDoc: error: org.xml.sax.SAXParseException; Premature end of file.
Make sure you call this function with the full MFF ressource path name ******

unnamed (1)
unnamed

@arnodelorme
Copy link
Owner Author

Followed up with Fiona. We will see if she responds.

@elannon
Copy link

elannon commented Nov 3, 2020

What was the solution to this problem?
I am getting the same error code

@Bysmuth
Copy link

Bysmuth commented May 9, 2022

Just encountered this problem with two files (using MFFMatlabIO v. 3.6; n.b. this is no longer the current version). In both cases it was due to the existence of an empty (0 bytes) "Events_User_Events.xml" within the .mff container file. Deleting that empty .xml file fixed the problem.

I can provide a sample data file and/or retest with the most current version if it is useful.

@arnodelorme
Copy link
Owner Author

Yes, please provide a data file for testing purposes. Thank you.

@arnodelorme arnodelorme reopened this May 10, 2022
@Bysmuth
Copy link

Bysmuth commented May 10, 2022

I've uploaded a sample data file here. You can produce the error by calling pop_mffimport and selecting the unzipped .mff file. On a Mac, the error can be resolved by right-clicking on the file in the Finder, clicking Show Package Contents, and deleting Events_User_Events.xml (which is zero bytes), then re-importing.

@arnodelorme
Copy link
Owner Author

Would you mind posting the data file again?

@Bysmuth
Copy link

Bysmuth commented Jul 26, 2023

Sure! I just made it accessible again at the same URL I linked to above.

@arnodelorme
Copy link
Owner Author

Thank you.

@arnodelorme
Copy link
Owner Author

See folder bugs/mff11

@arnodelorme
Copy link
Owner Author

Problem fixed. There was an empty event file. Now, these files are detected and skipped.

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

No branches or pull requests

3 participants