-
Notifications
You must be signed in to change notification settings - Fork 68
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
Can't load data in uvcdat 2.0.0 ! #843
Comments
Jean, |
Yes I did build from source, tag 2.0.0. But was of the warning/error I got at the cmake stage and reported in #825 was related to vistrails and there are lots of references to vistrails in the traceback above. Could it be that I don't have vistrails, or not the correct vistrails? How can I check that? |
It does help, I can now load the clt data! Thanks! Does all the configuration stuff go to .uvcdat? This should be documented... Let me know if I have to restore the content of my old .uvcdat directory from our automated backup and send it to you, if you need to see what I had in there that prevented the correct loading of the data |
@mattben yes we should document this somewhere |
UV-CDAT inherited the package manager & configuration from VisTrails. Packages that are disabled in the configuration won't be loaded (unless you enable it, but UV-CDAT has no GUI to do that). A package that fails to load (although that shouldn't happen) will display an error message and then get disabled in the configuration file, so it won't be loaded the next time. |
I'm seeing this problem in a MacOSX 10.8 build of the uvcdat master branch. Deleting the ~/.uvcdat file does not solve the problem. It is caused by the following error when I attempt to load a variable:
|
I'm now getting this same error in a CentOS build of the uvcdat branch master with vistrails branch uvcdat-master. It occurs when loading a variable from a file in the GUI. Is anyone else seeing this? Can someone check on this? |
Yes, I am getting this too! How could this had happened?! -Dean |
if this is a gui specific issue, then we don't test GUI as of now. Its very easy to get bad code into uvcdat-master. @ThomasMaxwell I belive that command like still working? |
I don't think this is GUI specific because the tag 2.0.0 didn't change |
This is annoying, because I see no way the line |
Sorry I don't see this on my OS X build either (2.0.0-25-g29394e5). |
and you built from master? I was able to see it on both my 10.8.5 and 10.9.5 macs. I load the "Standard" clt.nc variable clt and click "Load and Close" |
From the splash screen, I am getting (2.0.0-54.g4029ad4). This is a different version that what you hare getting below. |
We can detect what has been added more recently to the repository? This will help us in two ways: (1) we can isolate the code and determine why it is affecting the GUI (then we can determine if we want to remove the code and or fix it); (2) help the team to submitted code properly and create a test for this in CTEST. |
Alright, I'm getting this on OS X, if I build 4029ad4. I thought you were using 2.0.0... Will investigate. |
On this version, uvcdat_cdms doesn't even enable because of a VCS bug:
|
@doutriaux1 looks to me like folks aren't getting/testing the 2.0.0 tagged version.. "master" is no longer in sync with the 2.0.0 tag.. Your 2.0.0-XX-hash would suggest to me that master is 54 commits beyond 2.0.0? |
Ok, got it. The other traceback (TypeError) is related to the uvcdat_cdms package failing to load. Because it fails, it gets disabled, thus unloaded, thus its globals get set to None. Please fix the VCS error above. |
pushing a fix for this along with a test case for it. Just hold on for 10minutes. |
should be fixed by #852 can someone review test and approve.Note this will NOT fix the case of loading uvcdat_cdms failing that will not be reloaded the next time around. I guess at that point you will have to remove your .uvcdat. |
If uvcdat_cdms doesn't fail to load, it will be loaded the next time around. The fact that the package gets used even though it was disabled is also a bug. |
This is really a serious problem! I just built v2.0.0: git clone --branch uvcdat-2.0.0 https://github.com/UV-CDAT/uvcdat.git And I still cannot load a data variable from the GUI! Jerry and I tested this before v2.0.0 was released. Are we sure that v2.0.0 got tagged properly? -Dean |
I saw the problem in builds of a recent uvcdat master HEAD version but when I build the uvcdat-2.0.0 tagged version the problem did not appear. I got the tagged version of the code using the command:
|
Didn't see that in 2.0.0 or 2.0.0-25-g29394e5, but we all had it on 2.0.0-54-g4029ad4. |
Okay, I was able to get v2.0.0 to read in data… Charles and David reminded me that I had to remove the .uvcdat directory. Whew!!! :-) -Dean From: , Dean Williams <[email protected]mailto:[email protected]> This is really a serious problem! I just built v2.0.0: git clone --branch uvcdat-2.0.0 https://github.com/UV-CDAT/uvcdat.git And I still cannot load a data variable from the GUI! Jerry and I tested this before v2.0.0 was released. Are we sure that v2.0.0 got tagged properly? -Dean From: Aashish Chaudhary <[email protected]mailto:[email protected]> if this is a gui specific issue, then we don't test GUI as of now. Its very easy to get bad code into uvcdat-master. @ThomasMaxwellhttps://github.com/ThomasMaxwell I belive that command like still working? — |
Did you remove your .uvcdat directory? Once I did this, I was able to load data from the GUI. |
I have tried to load the first time step of clt from sample_data/clt.nc and I got
See below for full traceback and screenshot
Notes:
Interestingly, I get a similar error (but slightly different traceback) if I try to do this by hand in the calculator! See the 2nd attached traceback+screenshot
Loading a var from the point-and-click GUI
Loading a var from the calculator
The text was updated successfully, but these errors were encountered: