-
Notifications
You must be signed in to change notification settings - Fork 35
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
h5serv crashes when visiting localhost:5000 on Windows 10 #108
Comments
That's odd. Do you see any output in the server console window? Please paste the result of running "Pip freeze" at the anaconda prompt. BTW, I'm traveling this week, so likely won't be able to investigate further till next week. |
@jreadey Thanks for the quick response :) here is the entire anaconda prompt from running to crashing:
Here is the result of
Also, that warning at the bottom is something I can't seem to get rid of. I run the upgrade command and it tells me I can't upgrade any further but then continues warning me about being outdated for |
The HDF5 library version mismatch looks a little concerning. It seems you are picking up a different version of the HDF5 lib that is installed by Anaconda. Can you do an install on a clean Windows 10 system? |
I can try to do that soon. Will try to find the time/resources to do that as soon as possible. I'm sorry if this is a silly question, but I wasn't able to understand which version was coming from where. Is h5serv the one using the newer version? |
h5serv will use whatever hdf5lib h5py is using. If you installed h5py via Anaconda, typically the HDF5 library binary will go to something like ~/anaconda/envs/h5srv/lib/. If h5py got built (by the good folks at Continuum) with a different library version than your system is seeing, there will be problems. |
@jreadey another silly question coming your way: where would the version that my system is seeing come from? I didn't think HDF5 was an installation. What are some ways to understand what different versions my environment is "aware of" and where those versions are living on my filesystem? By the way, a clean Windows 10 VM using Anaconda all the way through to install all the dependent modules has resulted in me not having this issue on that machine. One thing I noted was that the first time I visited localhost:5000 on the vm after starting the server was that Windows popped up that dialog that asks for permission to do something. This VM is up in Azure, but when I try it on my local machine, I'm wondering if my IT group has yet another hoop for me to jump through to get my work done.... the reason I went to installing all this stuff manually was to 1) learn and 2) avoid a similar issue I was having with the Docker installation. Docker would start, but anytime I made a request, it would explode. Any idea how I can determine what's killing these processes if nothing obvious is showing in Event Viewer? |
@jakehockey10 On Windows I think it is just the PATH environment variable that is used for the library search. So if after you do that Anaconda activate, if there is any dll in your PATH before the directory with the h5py-installed version of hdf5lib, that will get picked up (this most be where the phrase "DLL Hell" originated!). One thing I've started to do is to run apps and service via docker whenever possible. Of course if you are trying to make things easy for others, Docker setup will be another hurdle to go through. I'm not sure what you can do for diagnostics other than capturing whatever the server puts out before it crashes. H5serv does write to a log file ("h5serv.log"), you can find it in the log directory of the h5serv project. |
@jreadey I will double check my Path variable. I've had this workstation for years, so I likely have a pretty "muddy" environment in terms of how large my Path variable is. I really like the convenience of the docker solution, but the crash happens in docker for me too. Here is the content of the log file immediately after the crash (doesn't seem to know what happened):
|
I have successfully installed and made use of h5serv in an ubuntu environment, and now I'm testing my application on windows 10.
python setup.py install
in its root directory.h5serv/server/
and runpython app.py
.six
module to import.localhost:5000
, the server crashes. I can paste the output of the prompt window if you want, but there are no errors reported there.Since Windows caught it and asked if I wanted to close the program, I figured something would be in Event Viewer. It looks like GitHub won't accept .evtx uploads, so here are the pertinent events in chronological order:
Any and all help is appreciated. I'm trying to get something that will run on both environments because Ubuntu is pleasant when working, for me, but I'm trying get a lunch and learn together at my work (Windows shop).
The text was updated successfully, but these errors were encountered: