Unable to Save .eaf file on Windows 10

I am using ELAN 5.9 on my Windows 10 OS and I am unable to save the annotated .eaf file that I create. I receive no error message at all.

When I attempt to close the program, I receive the usual message box asking if I would like to save the file. When I select yes, a new ELAN window opens up, but I am still unable to save the file. I’ve tried restarting my computer as well as downloading an older version of ELAN, but these don’t fix the problem.

Can anyone suggest a solution?

Just to be sure: if you do a “Save” or Save As" you get an explorer window to select where to save the file. Does saving of the file fail, regardless of the folder you select?
After saving, without a result, are there maybe error messages in the log (View->View Log…)?

Hi hasloe, when I select “Save As”, the explorer window is not appearing. So I can’t select a folder.

I looked in the log and found this:
Nov 11, 2020 1:32:48 PM mpi.eudico.server.corpora.clomimpl.dobes.EAF30Encoder save
INFO: aishug294879ryshfda9763afo8947a5gf.eaf.001 <---- XML output - EAF version: 3.0

Nov 11, 2020 1:32:48 PM mpi.eudico.client.annotator.commands.BackupCA$BackupActionListener actionPerformed
SEVERE: Cannot save a backup file: Unable to save this file: aishug294879ryshfda9763afo8947a5gf.eaf.001 (Access is denied)

Do you have any ideas?
Thanks!

I tried to save again and I’m finding this message in the log:

Exception in thread “AWT-EventQueue-0” java.nio.file.InvalidPathException: Illegal character [?] in path at index 2: \?\C:\Users(and the rest of the file location)

This is followed by a long list that begins like this:
at java.base/sun.nio.fs.WindowsPathParser.nextSlash(WindowsPathParser.java:212)
at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:111)
at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
at java.base/sun.nio.fs.WindowsPath.parse(WindowsPath.java:92)

Hi, this is my guess: when you do a “Save As”, ELAN tries to create a file browser window and tries to set the directory to start in to the last used directory for EAF files. It looks like somehow the stored path is mangled or damaged and contains an illegal character.

This is what you can try to check if my assumption is correct. Quit ELAN and in the file explorer go to C:\Users\loginname\.elan_data and either delete the file “elan.pfsx” or move it to another directory (ELAN stores some preferences and settings in that file). Then launch ELAN and try “Save As” again (with a new or existing file open). Hopefully it works this time!

Hi, It worked like a charm!! Thank you so much!

Great, good that it works now!