Skip to content
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

Crash trying to read HDF5 on windows in CCP4 #113

Open
ndevenish opened this issue Jan 21, 2019 · 0 comments
Open

Crash trying to read HDF5 on windows in CCP4 #113

ndevenish opened this issue Jan 21, 2019 · 0 comments

Comments

@ndevenish
Copy link
Collaborator

I know this is a CCP4 problem specifically, except that DUI appears to lock up and go unresponsive; and the log bar stays bouncing continuously. This is a DUI problem not handling the crash gracefully.

The log text from the crash is:

C:\CCP4-7\python2.7\lib\site-packages\h5py\__init__.py:68: UserWarning: h5py is running against HDF5 1.10.0 when it was built against 1.8.4, this may cause problems
  '{0}.{1}.{2}'.format(*version.hdf5_built_version_tuple)
HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread 0:
  #000: C:/msys64/home/W1J5/devtools/checkout/hdf5-1.10.0-patch1/src/H5D.c line 375 in H5Dget_space(): not a dataset
    major: Invalid arguments to routine
    minor: Inappropriate type
HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread 0:
  #000: C:/msys64/home/W1J5/devtools/checkout/hdf5-1.10.0-patch1/src/H5S.c line 865 in H5Sget_simple_extent_ndims(): not a dataspace
    major: Invalid arguments to routine
    minor: Inappropriate type
Traceback (most recent call last):
  File "C:\CCP4-7\7.0\lib\py2\site-packages\dui\outputs_n_viewers\img_viewer.py", line 1175, in img_changed_by_user
    self.set_img()
  File "C:\CCP4-7\7.0\lib\py2\site-packages\dui\outputs_n_viewers\img_viewer.py", line 1006, in set_img
    self.img_arr = self.my_sweep.get_raw_data(img_pos)[0]
  File "C:\CCP4-7\7.0\lib\py2\site-packages\cctbx_project\dxtbx\format\FormatMultiImage.py", line 25, in read
    return format_instance.get_raw_data(index)
  File "C:\CCP4-7\7.0\lib\py2\site-packages\cctbx_project\dxtbx\format\FormatNexus.py", line 130, in get_raw_data
    return self._raw_data[index]
  File "C:\CCP4-7\7.0\lib\py2\site-packages\cctbx_project\dxtbx\format\nexus.py", line 1508, in __getitem__
    slice(0, width, 1)))
RuntimeError: dxtbx Internal Error: C:\msys64\home\W1J5\devtools\checkout\cctbx-phaser\cctbx_project\dxtbx\format\boost_python\nexus_ext.cc(39): DXTBX_ASSERT(rank == ndims) failure.
HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread 0:
  #000: C:/msys64/home/W1J5/devtools/checkout/hdf5-1.10.0-patch1/src/H5D.c line 375 in H5Dget_space(): not a dataset
    major: Invalid arguments to routine
    minor: Inappropriate type
HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread 0:
  #000: C:/msys64/home/W1J5/devtools/checkout/hdf5-1.10.0-patch1/src/H5S.c line 865 in H5Sget_simple_extent_ndims(): not a dataspace
    major: Invalid arguments to routine
    minor: Inappropriate type
Traceback (most recent call last):
  File "C:\CCP4-7\7.0\lib\py2\site-packages\dui\outputs_n_viewers\img_viewer.py", line 1167, in stack_changed_by_user
    self.set_img()
  File "C:\CCP4-7\7.0\lib\py2\site-packages\dui\outputs_n_viewers\img_viewer.py", line 1006, in set_img
    self.img_arr = self.my_sweep.get_raw_data(img_pos)[0]
  File "C:\CCP4-7\7.0\lib\py2\site-packages\cctbx_project\dxtbx\format\FormatMultiImage.py", line 25, in read
    return format_instance.get_raw_data(index)
  File "C:\CCP4-7\7.0\lib\py2\site-packages\cctbx_project\dxtbx\format\FormatNexus.py", line 130, in get_raw_data
    return self._raw_data[index]
  File "C:\CCP4-7\7.0\lib\py2\site-packages\cctbx_project\dxtbx\format\nexus.py", line 1508, in __getitem__
    slice(0, width, 1)))
RuntimeError: dxtbx Internal Error: C:\msys64\home\W1J5\devtools\checkout\cctbx-phaser\cctbx_project\dxtbx\format\boost_python\nexus_ext.cc(39): DXTBX_ASSERT(rank == ndims) failure.
HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread 0:
  #000: C:/msys64/home/W1J5/devtools/checkout/hdf5-1.10.0-patch1/src/H5D.c line 375 in H5Dget_space(): not a dataset
    major: Invalid arguments to routine
    minor: Inappropriate type
HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread 0:
  #000: C:/msys64/home/W1J5/devtools/checkout/hdf5-1.10.0-patch1/src/H5S.c line 865 in H5Sget_simple_extent_ndims(): not a dataspace
    major: Invalid arguments to routine
    minor: Inappropriate type
HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread 0:
  #000: C:/msys64/home/W1J5/devtools/checkout/hdf5-1.10.0-patch1/src/H5D.c line 375 in H5Dget_space(): not a dataset
    major: Invalid arguments to routine
    minor: Inappropriate type
HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread 0:
  #000: C:/msys64/home/W1J5/devtools/checkout/hdf5-1.10.0-patch1/src/H5S.c line 865 in H5Sget_simple_extent_ndims(): not a dataspace
    major: Invalid arguments to routine
    minor: Inappropriate type
Traceback (most recent call last):
  File "C:\CCP4-7\7.0\lib\py2\site-packages\dui\m_idials_gui.py", line 630, in update_after_finished
    update_info(self)
  File "C:\CCP4-7\7.0\lib\py2\site-packages\dui\gui_utils.py", line 341, in update_info
    main_obj.img_view.ini_datablock(main_obj.cur_json)
  File "C:\CCP4-7\7.0\lib\py2\site-packages\dui\outputs_n_viewers\img_viewer.py", line 861, in ini_datablock
    self.set_img()
  File "C:\CCP4-7\7.0\lib\py2\site-packages\dui\outputs_n_viewers\img_viewer.py", line 1006, in set_img
    self.img_arr = self.my_sweep.get_raw_data(img_pos)[0]
  File "C:\CCP4-7\7.0\lib\py2\site-packages\cctbx_project\dxtbx\format\FormatMultiImage.py", line 25, in read
    return format_instance.get_raw_data(index)
  File "C:\CCP4-7\7.0\lib\py2\site-packages\cctbx_project\dxtbx\format\FormatNexus.py", line 130, in get_raw_data
    return self._raw_data[index]
  File "C:\CCP4-7\7.0\lib\py2\site-packages\cctbx_project\dxtbx\format\nexus.py", line 1508, in __getitem__
    slice(0, width, 1)))
RuntimeError: dxtbx Internal Error: C:\msys64\home\W1J5\devtools\checkout\cctbx-phaser\cctbx_project\dxtbx\format\boost_python\nexus_ext.cc(39): DXTBX_ASSERT(rank == ndims) failure.
HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread 0:
  #000: C:/msys64/home/W1J5/devtools/checkout/hdf5-1.10.0-patch1/src/H5D.c line 375 in H5Dget_space(): not a dataset
    major: Invalid arguments to routine
    minor: Inappropriate type
HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread 0:
  #000: C:/msys64/home/W1J5/devtools/checkout/hdf5-1.10.0-patch1/src/H5S.c line 865 in H5Sget_simple_extent_ndims(): not a dataspace
    major: Invalid arguments to routine
    minor: Inappropriate type
Traceback (most recent call last):
  File "C:\CCP4-7\7.0\lib\py2\site-packages\dui\m_idials_gui.py", line 493, in tab_changed
    update_info(self)
  File "C:\CCP4-7\7.0\lib\py2\site-packages\dui\gui_utils.py", line 345, in update_info
    main_obj.img_view.ini_reflection_table(main_obj.cur_pick)
  File "C:\CCP4-7\7.0\lib\py2\site-packages\dui\outputs_n_viewers\img_viewer.py", line 955, in ini_reflection_table
    self.set_img()
  File "C:\CCP4-7\7.0\lib\py2\site-packages\dui\outputs_n_viewers\img_viewer.py", line 1006, in set_img
    self.img_arr = self.my_sweep.get_raw_data(img_pos)[0]
  File "C:\CCP4-7\7.0\lib\py2\site-packages\cctbx_project\dxtbx\format\FormatMultiImage.py", line 25, in read
    return format_instance.get_raw_data(index)
  File "C:\CCP4-7\7.0\lib\py2\site-packages\cctbx_project\dxtbx\format\FormatNexus.py", line 130, in get_raw_data
    return self._raw_data[index]
  File "C:\CCP4-7\7.0\lib\py2\site-packages\cctbx_project\dxtbx\format\nexus.py", line 1508, in __getitem__
    slice(0, width, 1)))
RuntimeError: dxtbx Internal Error: C:\msys64\home\W1J5\devtools\checkout\cctbx-phaser\cctbx_project\dxtbx\format\boost_python\nexus_ext.cc(39): DXTBX_ASSERT(rank == ndims) failure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant