I am trying to employ Visualizer in my web app to let user view their 3D data on my server. My data is in raw format(micro CT data , basically only gray values) without meta data(dimentions, etc.). In Visualizer, user need fill the meta data parameters such as extents, spacing, etc. While after setting parameters as "volume, imageFile, origin, spacing, " etc. Trying to display the 3D data, Visualizer looks busy trying to do something, while nothing happened for ever.
I checked the pvw-server console, and find the below error:
vtkPVImageReader (0x776d120): Received error when calling MPI_File_set_view(file.Handle, this->GetHeaderSize(file), MPI_BYTE, view, const_cast<char *>("native"), MPI_INFO_NULL) Invalid argument, error stack: MPI_FILE_SET_VIEW(61): Invalid displacement argument ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~` According to the above error in console, the issue seems related to parameters providing is not correct. While I am not sure what's the correct inputs and what's the caveat. The worse is that after this mistakes, it seems mistakenly make the server busy doing something and the user have no chance to correct his/her mistakes. For the moment, I have to kill the server process manually and restart it to break the frozen status of Visualizer(Visualizer browser is showing busy, not the"server disconnected" status). (When I tried to connect to the same server from another browser, it shows server disconnected. While actually the server process is still on and occupying the port) Does this mean we need make some patch for the pvw-server to deal with this mistakes from the user? Considering some parameters input wrongly is very possible. We don't want the user crash the pvw-server so frequently. Has anyone met the same situation? Could you please share your experience? Thanks in advance.