Project does not open any more. KeyError: 'H'

Hi,
I have created a project in Analysis 3.1.0.beta (and spent tons of time peak-picking), saved it, and now I cannot open it any more. When trying to open it, I get a KeyError: ‘H’
I hope this does not mean the project needs to be trashed altogether.

I paste the output from the console below.

Has anyone encountered this, and what is the solution? I am happy to send the project.

thanks !

Paul

(base) paulschanda@mnpasc001 GB1_Ninj1 % ccpn assignment.ccpn
Program licence (non-profit) valid until Mon Jan 4 16:34:08 2100

==================================================================================================================
| AnalysisAssign, version: 3.1.0.beta |
| |
| Copyright (C) CCPN project (http://www.ccpn.ac.uk) 2014 - 2021 |
| |
| CCPN licence. See Licensing - CCPN - Collaborative Computing Project for NMR. Not to be distributed without prior consent! |
| |
| Active Developers: Ed Brooksbank, Joanna Fox, Victoria A Higman, Luca Mureddu, Eliza Płoskoń, |
| Timothy J Ragan, Brian O Smith, Gary S Thompson & Geerten W Vuister |
| |
| Please cite: Skinner, S.P., Fogh, R.H., Boucher, W., Ragan, T.J., Mureddu, L.G., & Vuister, G.W. |
| CcpNmr AnalysisAssign: a flexible platform for integrated NMR analysis |
| J.Biomol.Nmr (2016), 66, 111-124, http://doi.org/10.1007/s10858-016-0060-y |
| |
| DISCLAIMER: This program is offered ‘as-is’. Under no circumstances will the authors, CCPN, |
| the Department of Molecular and Cell Biology, or the University of Leicester be |
| liable of any damage, loss of data, loss of revenue or any other undesired |
| consequences originating from the usage of this software. |

==> Getting user preferences
==> Language set to “English-UK”
Traceback (most recent call last):
File “/Users/paulschanda/Documents/programdownloads/ccpnmr3.1.0/miniconda/lib/python3.8/runpy.py”, line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File “/Users/paulschanda/Documents/programdownloads/ccpnmr3.1.0/miniconda/lib/python3.8/runpy.py”, line 87, in _run_code
exec(code, run_globals)
File “/Users/paulschanda/Documents/programdownloads/ccpnmr3.1.0/src/python/ccpn/AnalysisAssign/main.py”, line 57, in
main()
File “/Users/paulschanda/Documents/programdownloads/ccpnmr3.1.0/src/python/ccpn/AnalysisAssign/main.py”, line 49, in main
application._startApplication()
File “/Users/paulschanda/Documents/programdownloads/ccpnmr3.1.0/src/python/ccpn/framework/Framework.py”, line 421, in _startApplication
project = self.loadProject(projectPath)
File “/Users/paulschanda/Documents/programdownloads/ccpnmr3.1.0/src/python/ccpn/framework/Framework.py”, line 886, in loadProject
return self.ui.loadProject(path)
File “/Users/paulschanda/Documents/programdownloads/ccpnmr3.1.0/src/python/ccpn/ui/gui/Gui.py”, line 522, in loadProject
if (objs := self.application._loadData([dataLoader])):
File “/Users/paulschanda/Documents/programdownloads/ccpnmr3.1.0/src/python/ccpn/framework/Framework.py”, line 1000, in _loadData
result = self.ui._loadProject(dataLoader=dataLoader)
File “/Users/paulschanda/Documents/programdownloads/ccpnmr3.1.0/src/python/ccpn/ui/gui/Gui.py”, line 471, in _loadProject
_loaded = dataLoader.load()
File “/Users/paulschanda/Documents/programdownloads/ccpnmr3.1.0/src/python/ccpn/framework/lib/DataLoaders/DataLoaderABC.py”, line 202, in load
result = func(obj, self.path)
File “/Users/paulschanda/Documents/programdownloads/ccpnmr3.1.0/src/python/ccpn/framework/Framework.py”, line 1070, in _loadV3Project
self._initialiseProject(project) # This also set the linkages
File “/Users/paulschanda/Documents/programdownloads/ccpnmr3.1.0/src/python/ccpn/framework/Framework.py”, line 515, in _initialiseProject
newProject._initialiseProject()
File “/Users/paulschanda/Documents/programdownloads/ccpnmr3.1.0/src/python/ccpn/core/Project.py”, line 516, in _initialiseProject
self._restoreChildren()
File “/Users/paulschanda/Documents/programdownloads/ccpnmr3.1.0/src/python/ccpn/core/_implementation/AbstractWrapperObject.py”, line 946, in _restoreChildren
obj = childClass._restoreObject(project, apiObj)
File “/Users/paulschanda/Documents/programdownloads/ccpnmr3.1.0/src/python/ccpn/ui/_implementation/SpectrumDisplay.py”, line 115, in _restoreObject
result = super()._restoreObject(project, apiObj)
File “/Users/paulschanda/Documents/programdownloads/ccpnmr3.1.0/src/python/ccpn/core/_implementation/AbstractWrapperObject.py”, line 925, in _restoreObject
obj._restoreChildren()
File “/Users/paulschanda/Documents/programdownloads/ccpnmr3.1.0/src/python/ccpn/core/_implementation/AbstractWrapperObject.py”, line 946, in _restoreChildren
obj = childClass._restoreObject(project, apiObj)
File “/Users/paulschanda/Documents/programdownloads/ccpnmr3.1.0/src/python/ccpn/core/_implementation/AbstractWrapperObject.py”, line 925, in _restoreObject
obj._restoreChildren()
File “/Users/paulschanda/Documents/programdownloads/ccpnmr3.1.0/src/python/ccpn/core/_implementation/AbstractWrapperObject.py”, line 941, in _restoreChildren
for apiObj in childClass._getAllWrappedData(self):
File “/Users/paulschanda/Documents/programdownloads/ccpnmr3.1.0/src/python/ccpn/ui/_implementation/Axis.py”, line 190, in _getAllWrappedData
return [dd[x] for x in apiStrip.axisCodes]
File “/Users/paulschanda/Documents/programdownloads/ccpnmr3.1.0/src/python/ccpn/ui/_implementation/Axis.py”, line 190, in
return [dd[x] for x in apiStrip.axisCodes]
KeyError: ‘H’

Hi Paul,

not seen this before. Yes, please do send us the project (either direct to me or our support@ccpn.ac.uk address) and we’ll have a look at what is going on.

Thanks,
Vicky

Hi Paul,

Ed has now put a fix for this on the update server, so you should be able to open the project directly (rather than having to use the recovered project I sent you). But it does mean you will have to upgrade to 3.1.0 (which I would recommend anyway).

Best wishes,
Vicky