Cannot open old models

Post Reply
kolozvari
Posts: 227
Joined: Tue Oct 05, 2021 9:22 pm

Cannot open old models

Post by kolozvari » Wed Aug 30, 2023 5:58 am

Hello, I am trying to open one of my old models and I get the following error. The model might have been moved from one folder to another.
Serialization exception: Cannot open file: "D:/Dropbox (CSU Fullerton)/Research/SSI/OpenSees models/3D 240x240x30-STKO/Nonlinear_Models/SSI_NL_Struct_CONC_ALL_NO_INTERFACE_Found_2_W_Slab_PtGload_Cols_4_2_Dmp_Rgn_Cntct_Pen_10e6_Pen_Anal_1e12_Nu_03_Grav_GM.scd".
File: "..\..\MpcCore\MpcCoreApp\Serialization\MpcCaeDocumentSerializer.cpp
Function: load (Line: 45)
error #0 C:\autotest\hdf5112-StdRelease-dist-10vs14\build\hdfsrc\src\H5F.c in H5Fopen(): line 793.
class: HDF5
major: File accessibility
minor: Unable to open file
error #1 C:\autotest\hdf5112-StdRelease-dist-10vs14\build\hdfsrc\src\H5VLcallback.c in H5VL_file_open(): line 3500.
class: HDF5
major: Virtual Object Layer
minor: Can't open object
error #2 C:\autotest\hdf5112-StdRelease-dist-10vs14\build\hdfsrc\src\H5VLcallback.c in H5VL__file_open(): line 3465.
class: HDF5
major: Virtual Object Layer
minor: Can't open object
error #3 C:\autotest\hdf5112-StdRelease-dist-10vs14\build\hdfsrc\src\H5VLnative_file.c in H5VL__native_file_open(): line 100.
class: HDF5
major: File accessibility
minor: Unable to open file
error #4 C:\autotest\hdf5112-StdRelease-dist-10vs14\build\hdfsrc\src\H5Fint.c in H5F_open(): line 1564.
class: HDF5
major: File accessibility
minor: Unable to open file
error #5 C:\autotest\hdf5112-StdRelease-dist-10vs14\build\hdfsrc\src\H5FD.c in H5FD_open(): line 741.
class: HDF5
major: Virtual File Layer
minor: Unable to initialize object
error #6 C:\autotest\hdf5112-StdRelease-dist-10vs14\build\hdfsrc\src\H5FDsec2.c in H5FD_sec2_open(): line 346.
class: HDF5
major: File accessibility
minor: Unable to open file

An error occurred while loading the specified file. A default file will be created.
Can you please clarify what is going on and how to fix it. It seems like a bug. Thank you.

STKO Team
Posts: 3069
Joined: Tue Oct 29, 2019 8:45 am

Re: Cannot open old models

Post by STKO Team » Wed Aug 30, 2023 8:41 am

It's the HDF5 library that is complaining about the File Accessibility.
There could be many reasons for that.
  • The file does not exist
  • The file is open by another process that is preventing STKO from opening it
  • You don't have read access to the Dropbox folder (I don't think this is the case...)
Try to copy the file to another location and let us know if you can open it.

kolozvari
Posts: 227
Joined: Tue Oct 05, 2021 9:22 pm

Re: Cannot open old models

Post by kolozvari » Wed Aug 30, 2023 1:55 pm

When I copy it to Desktop it works. I am confused because all my files are in Dropbox and I used to be able to open this file from Dropbox. The only thing that changed is that I reorganized some folders and moved this file from one Dropbox folder to thr other. It seems like there is nothing we can do to address this. Thanks for clarifying.

STKO Team
Posts: 3069
Joined: Tue Oct 29, 2019 8:45 am

Re: Cannot open old models

Post by STKO Team » Wed Aug 30, 2023 3:54 pm

I don't know if in the new folder, you have generic accessibility restrictions.
Try to open the *.SCD file with the python library h5py (which used HDF5) and let's see if it also shows the same error

Post Reply