eyError Traceback (most recent call last)
File /cvmfs/hpc.esrf.fr/software/packages/ubuntu20.04/x86_64/wipow/2024.1/lib/python3.12/site-packages/wipow/id06lvp.py:1239, in ID06LVP_LiveWidget.refresh_processed_available_scans(self)
1238 # nb = len(h[f"{n}.1/measurement/p900kw"]) # Number of available frames
-> 1239 nb = len(h[f"{n}.1/p900kw_integrate/integrated/intensity"]) # Number of available frames
1240 opt.append((f"{n:3d}[{nb}]", n))
File h5py/_objects.pyx:54, in h5py._objects.with_phil.wrapper()
File h5py/_objects.pyx:55, in h5py._objects.with_phil.wrapper()
File /cvmfs/hpc.esrf.fr/software/packages/ubuntu20.04/x86_64/wipow/2024.1/lib/python3.12/site-packages/h5py/_hl/group.py:357, in Group.__getitem__(self, name)
356 elif isinstance(name, (bytes, str)):
--> 357 oid = h5o.open(self.id, self._e(name), lapl=self._lapl)
358 else:
File h5py/_objects.pyx:54, in h5py._objects.with_phil.wrapper()
File h5py/_objects.pyx:55, in h5py._objects.with_phil.wrapper()
File h5py/h5o.pyx:257, in h5py.h5o.open()
KeyError: 'Unable to synchronously open object (component not found)'
During handling of the above exception, another exception occurred:
RuntimeError Traceback (most recent call last)
File /cvmfs/hpc.esrf.fr/software/packages/ubuntu20.04/x86_64/wipow/2024.1/lib/python3.12/site-packages/wipow/id06lvp.py:1221, in ID06LVP_LiveWidget.on_refresh_processed_available_scans(self, b)
1220 def on_refresh_processed_available_scans(self, b=None):
-> 1221 self.refresh_processed_available_scans()
1222 v = np.array([n[1] for n in self.config_processed_scan.options], dtype=int)
1223 self.logger.info(f"{len(v)} scans available, newest=#{v[0]}")
File /cvmfs/hpc.esrf.fr/software/packages/ubuntu20.04/x86_64/wipow/2024.1/lib/python3.12/site-packages/wipow/id06lvp.py:1249, in ID06LVP_LiveWidget.refresh_processed_available_scans(self)
1247 er = f"Failed querying the available scans - is this a processed data file ?"
1248 self.logger.error(er)
-> 1249 raise RuntimeError(er)
1250 else:
1251 self.logger.error(f"Processed data filename does not exist: {self.config_processed_data_filename.value}")
RuntimeError: Failed querying the available scans - is this a processed data file ?
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
AttributeError: 'NoneType' object has no attribute 'deg2rad'
The above exception was the direct cause of the following exception:
TypeError Traceback (most recent call last)
File /cvmfs/hpc.esrf.fr/software/packages/ubuntu20.04/x86_64/wipow/2024.1/lib/python3.12/site-packages/wipow/id06lvp.py:1324, in ID06LVP_LiveWidget.on_load_config(self, b)
1321 else:
1322 self.logger.info("Unchanged configuration - keeping all data arrays, resetting powder pattern")
-> 1324 self.init_power_pattern()
1325 # load crystals
1326 for cif in self.config_crystals.value.split('\n'):
File /cvmfs/hpc.esrf.fr/software/packages/ubuntu20.04/x86_64/wipow/2024.1/lib/python3.12/site-packages/wipow/id06lvp.py:1553, in ID06LVP_LiveWidget.init_power_pattern(self)
1551 self.crystal_phases = []
1552 self.crystal_vbox.children = [self.crystal_tuning_toggle]
-> 1553 self._init_powder_pattern()
1554 self.logger.info("Initialised powder pattern object")
File /cvmfs/hpc.esrf.fr/software/packages/ubuntu20.04/x86_64/wipow/2024.1/lib/python3.12/site-packages/wipow/id06lvp.py:1570, in ID06LVP_LiveWidget._init_powder_pattern(self)
1567 self.powder_pattern._colour_phases = vc
1569 self.powder_pattern.SetWavelength(self.azi.get_wavelength() * 1e10) # In Angstroems for pyobjcryst
-> 1570 tth = np.deg2rad(self.tth)
1571 self.powder_pattern.SetPowderPatternX(tth)
1572 self.powder_pattern.SetPowderPatternObs(self.iobs2d[self.slider_frame.value].astype(np.float64))
TypeError: loop of ufunc does not support argument 0 of type NoneType which has no callable deg2rad method
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
AttributeError: 'NoneType' object has no attribute 'deg2rad'
The above exception was the direct cause of the following exception:
TypeError Traceback (most recent call last)
File /cvmfs/hpc.esrf.fr/software/packages/ubuntu20.04/x86_64/wipow/2024.1/lib/python3.12/site-packages/wipow/id06lvp.py:1324, in ID06LVP_LiveWidget.on_load_config(self, b)
1321 else:
1322 self.logger.info("Unchanged configuration - keeping all data arrays, resetting powder pattern")
-> 1324 self.init_power_pattern()
1325 # load crystals
1326 for cif in self.config_crystals.value.split('\n'):
File /cvmfs/hpc.esrf.fr/software/packages/ubuntu20.04/x86_64/wipow/2024.1/lib/python3.12/site-packages/wipow/id06lvp.py:1553, in ID06LVP_LiveWidget.init_power_pattern(self)
1551 self.crystal_phases = []
1552 self.crystal_vbox.children = [self.crystal_tuning_toggle]
-> 1553 self._init_powder_pattern()
1554 self.logger.info("Initialised powder pattern object")
File /cvmfs/hpc.esrf.fr/software/packages/ubuntu20.04/x86_64/wipow/2024.1/lib/python3.12/site-packages/wipow/id06lvp.py:1570, in ID06LVP_LiveWidget._init_powder_pattern(self)
1567 self.powder_pattern._colour_phases = vc
1569 self.powder_pattern.SetWavelength(self.azi.get_wavelength() * 1e10) # In Angstroems for pyobjcryst
-> 1570 tth = np.deg2rad(self.tth)
1571 self.powder_pattern.SetPowderPatternX(tth)
1572 self.powder_pattern.SetPowderPatternObs(self.iobs2d[self.slider_frame.value].astype(np.float64))
TypeError: loop of ufunc does not support argument 0 of type NoneType which has no callable deg2rad method