-
Notifications
You must be signed in to change notification settings - Fork 98
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
TypeError: No file format adaptor could read this file. #1181
Comments
Hi @e-velin, Do you telling me a bit more about how to produce the error (i.e. which button did you select [File>> ...], what was the full file name [.pkg.slp?]) and/or providing me with the file to open (shared with [email protected])? We very recently invested in another mac for better support on that front! I can try to reproduce the error, if you also have the full traceback, that might be useful. Thanks, |
Hi @roomrys, Thank you for your reply. I updated the details in my description. This error occurs when I select File > Open Project > ___.slp in the SLEAP GUI. I sent the exact .slp project file and the output of sleep-diagnostic to [email protected]. Thanks, |
Hi @e-velin, I think I know what the problem is. There has a been a slight change in our file structure from the 1.2.9 release to the 1.3.0a0 pre-release - an extra field is now stored in the slp. So, if you had opened the slp in a newer version of SLEAP (post-1.2.9-release), saved, and then tried to re-open in a previous version (<=1.2.9), you will get a strange error message saying SLEAP cannot open this file. I see you have the source code of SLEAP locally. The fix is to head to the directory containing the SLEAP source code, open a terminal in that directory, and update your source code by running Let us know how it goes and/or if you need any help. Thanks, Thinking out loud...If this is going to be a problem, there is no way of changing past version of code to have futuristic error messages, but maybe we can omit storing that extra field in the slp unless we absolutely need it? Some people would still run into this problem, but not many - would that make it a more difficult to diagnose problem? Probably, not a good idea. Should we direct "conda from source" users to use the main branch instead of develop. Yes, probably. |
This fix is now available in the latest release v1.3.0. To install:
|
Bug description
Hi,
I installed SLEAP on a MacBook Pro 2018 with Intel Iris Plus Graphics 655 1536 MB Graphics card for annotation only, following the Installation guide from sleap.ai, including the "conda env create -f environment_no_cuda.yml -n sleap" command specifically for the case without an Nvidia GPU.
When I try to open a .slp sleap project file, it won't open the file and I receive this message in the terminal window:
TypeError: No file format adaptor could read this file.
Do you have any suggestions what could go possibly wrong?
Thanks.
Your personal set up
The text was updated successfully, but these errors were encountered: