CcpnForum
Fatal Error Loading Project - Printable Version

+- CcpnForum (https://www.ccpn.ac.uk/forums)
+-- Forum: CcpNmr Analysis Version 3 (https://www.ccpn.ac.uk/forums/forumdisplay.php?fid=4)
+--- Forum: V3 General (https://www.ccpn.ac.uk/forums/forumdisplay.php?fid=8)
+--- Thread: Fatal Error Loading Project (/showthread.php?tid=18)

Pages: 1 2


Fatal Error Loading Project - domarin - 06-10-2019

Hello!


I updated the Analysis Assign software this morning and had trouble with opening the program itself. I ended up having to delete folder and install from scratch. I was able to open the program as well as my project files to make sure they would open properly. I then quit the program and installed the updates. I was able to open the program but unable to open any of my project files. The error I am getting in terminal is the following:

==> Loading CCPN project "/home/dkhago/Documents/gp78C_spectra/gp78Cnew.ccpn"
INFO   : Closing /tmp/CcpnProject_qsrabhzm.ccpn/default                                                (Logging._info:109)
WARNING: Fatal error loading project: /home/dkhago/Documents/gp78C_spectra/gp78Cnew.ccpn - Reloading last saved position.    (GuiMainWindow._loadProjectLastValid:447)
INFO   : Closing /home/dkhago/Documents/gp78C_spectra/gp78Cnew.ccpn                                    (Logging._info:109)
==> Creating new, empty project
INFO   : Located at /tmp/CcpnProject_3jkr1qzq.ccpn                                                     (Logging._info:109)

Unfortunately, this is the second time that the fatal error message has happened to me and I am not quite sure why. I am going to reinstall the program again and see if I will be able to open my project. I am not sure if this information is useful or not but would there be any way to save my project file?

Thanks!

Turns out once I install the updates, my project files won't open. If I don't install the updates, I am able to open my project files.


RE: Fatal Error Loading Project - domarin - 06-14-2019

So I seem to be having the same problem. I am unable to open up my project file, even after saving it before quitting the program. I had saved two versions of my project and I am unable to open both of them. The error message reads "Error loading project" and the following message appears in terminal:

==> Loading CCPN project "/home/dkhago/Documents/gp78C_spectra/gp78Cnew4.ccpn"
INFO   : Closing /tmp/CcpnProject_3vhrctdb.ccpn/default                                                (Logging._info:109)
Error loading file for: 
Reading:  <_io.TextIOWrapper name='/home/dkhago/Documents/gp78C_spectra/gp78Cnew4.ccpn/ccpnv3/ccp/nmr/Nmr/default+default_user_2019-05-29-08-02-03-195_00001.xml' mode='r' encoding='UTF-8'>
Last xml tag read:  _StorageUnit
Parser state was:  checking validity
Object stack was empty

I keep getting this problem and I am not sure as to how I am reproducing it. Last time, when I had updated the program, I received this error and so I just downloaded the program and reinstalled it. I had no updated it since and seemed to have this issue again. I reinstalled the program, but the problem seems to have persisted. Is there a reason why? Should I try to open my files on a Mac instead of Linux? I just don't want to keep losing progress in my project files. Any help would be much appreciated!


RE: Fatal Error Loading Project - LucaM - 06-14-2019

Hi Domarin. Apologies for this error. We were able to reproduce this and Ed has just uploaded the newest release. Please reopen the same projects. If the same error occurs, we can try to retrieve your data as the last time you saved.
Thanks
Luca


RE: Fatal Error Loading Project - domarin - 06-14-2019

Hi Luca!

Thank you so much for responding! I tried to download and install again, but having problems opening the two project files from today. They are the same project, but at different save points as I was worried this sort of thing would keep happening. How should I send the project files to you?


RE: Fatal Error Loading Project - LucaM - 06-14-2019

Ok you can try to use the back file which automatically saved. Try this:
- Open the project.ccpn file and navigate > ccpnv3 > ccp > nmr > Nmr
- rename the file.xml to oldfile and remove the extension xml
- duplicate the file .xml.bak
- remove the extension .bak
Make sure the new .xml.bak and xml have the same names.

Try to run again. This should open the project. (without layouts)


RE: Fatal Error Loading Project - domarin - 06-14-2019

So I my labmate and I tried and it still isn't working. I think we are doing something wrong. Is it possible to email the file to you? Or maybe share it on dropbox?


RE: Fatal Error Loading Project - LucaM - 06-14-2019

Yes sure. Send a temporary link on ccpnmr3@gmail.com


RE: Fatal Error Loading Project - LucaM - 06-16-2019

Hi Domarin, just added a way to reopen a project which was compromised in some parts. It will load all the data and report the failed items. In your case only the ChemicalShift List was lost, but it can be easily recreated automatically. We are still investigating why this happened in the first place.
Please remove all the extra files in ccpnv3 > ccp > nmr > Nmr and keep only .xml.bak and .xml
Updates available soon.


RE: Fatal Error Loading Project - domarin - 06-17-2019

Hi Luca!

Thank you! I also received the email with the recovered project file. Looks like I have everything there. The only problem I seem to run into is recreating the chemical shift list. I try to edit the list by adding the spectra from the "available" list to the "current" list. However, when I open up the chemical shift list module, I still am unable to see a list of chemical shifts. Is there anything else I need to check on before doing this?

Thank you again for all your help!


RE: Fatal Error Loading Project - LucaM - 06-17-2019

Hi, no CSL are auto-updated by default. I will check why is not recreating the list. Out of curiosity, if you export your project as NEF,(Menu>Project>NEF>export Nef File...) and then reload it, does the CSL reappear correctly? Thanks