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

GUI cannot load variable #1057

Closed
painter1 opened this issue Feb 20, 2015 · 4 comments
Closed

GUI cannot load variable #1057

painter1 opened this issue Feb 20, 2015 · 4 comments
Assignees
Milestone

Comments

@painter1
Copy link
Contributor

@painter1 painter1 commented Feb 20, 2015

Run the UV-CDAT GUI, e.g.
uvcdat --output=""
In the variable window (upper-right), click on the "+" to add a variable. Browse for a suitable NetCDF file. Choose a variable. Click on "Load". Then (with a UV-CDAT which I built earlier today) you get an exception in a popup window:

Traceback (most recent call last):
  File "/Users/painter1/bin/uvcdat-2015.02.20/vistrails/vistrails/gui/uvcdat/variable.py", line 591, in defineVarClicked
    self.getUpdatedVarCheck()
  File "/Users/painter1/bin/uvcdat-2015.02.20/vistrails/vistrails/gui/uvcdat/variable.py", line 630, in getUpdatedVarCheck
    self.getUpdatedVar(tid)
  File "/Users/painter1/bin/uvcdat-2015.02.20/vistrails/vistrails/gui/uvcdat/variable.py", line 729, in getUpdatedVar
    updatedVar = controller.create_exec_new_variable_pipeline(targetId)
  File "/Users/painter1/bin/uvcdat-2015.02.20/vistrails/vistrails/gui/uvcdat/project_controller.py", line 1185, in create_exec_new_variable_pipeline
    self.get_var_module(targetId, dummyCell, CDMSPipelineHelper)
  File "/Users/painter1/bin/uvcdat-2015.02.20/vistrails/vistrails/gui/uvcdat/project_controller.py", line 925, in get_var_module
    module = var.to_module(self.vt_controller)
  File "/Users/painter1/bin/uvcdat-2015.02.20/vistrails/vistrails/packages/uvcdat_cdms/init.py", line 164, in to_module
    module = Variable.to_module(self, controller, identifier)
  File "/Users/painter1/bin/uvcdat-2015.02.20/vistrails/vistrails/packages/uvcdat/init.py", line 58, in to_module
    reg.get_descriptor_by_name(pkg_identifier, self.__class__.__name__))
  File "/Users/painter1/bin/uvcdat-2015.02.20/vistrails/vistrails/core/modules/module_registry.py", line 745, in get_descriptor_by_name
    raise MissingPackage(identifier)
MissingPackage: Missing package: gov.llnl.uvcdat.cdms
@ThomasMaxwell
Copy link
Contributor

@ThomasMaxwell ThomasMaxwell commented Feb 24, 2015

I'm running into this error when trying to test my merged branch. Has anyone fixed this yet?
-- Tom

@doutriaux1
Copy link
Contributor

@doutriaux1 doutriaux1 commented Feb 24, 2015

I think @remram44 is getting close, but once it failed once I think you might have to remove your .uvcdat directory to "fix" it. Not positive about it but it's worth a try.

@remram44
Copy link
Contributor

@remram44 remram44 commented Feb 24, 2015

Looks like this is caused by the uvcdat_cdms package not being loaded, I assume because of a previous error. I can't tell from this log.
Ping @vvpalav @hgohil2805

@doutriaux1
Copy link
Contributor

@doutriaux1 doutriaux1 commented Feb 24, 2015

i think CDAT/VisTrails#14 and CDAT/VisTrails#16 fix this. You probably need to remove your .uvcdat though.

@doutriaux1 doutriaux1 closed this Feb 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants