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

Error message that makes no sense when trying to open a file that doesn't exists (from bookmarks for example) #87

Closed
doutriaux1 opened this issue Jan 3, 2013 · 2 comments

Comments

@doutriaux1
Copy link
Contributor

If I clicked on a bookmarked file that dopesn't exists anymore, I can still still click on "Load and close" and then get the following non-sensical error:

Traceback (most recent call last):
File "/lgm/ucdat/2013-01-02/vistrails/vistrails/gui/uvcdat/variable.py", line 520, in defineVarCloseClicked
self.getUpdatedVarCheck()
File "/lgm/ucdat/2013-01-02/vistrails/vistrails/gui/uvcdat/variable.py", line 560, in getUpdatedVarCheck
axisList = self.dimsLayout.itemAt(1).widget()
AttributeError: 'NoneType' object has no attribute 'widget'

We need to disable to "load and CLose" button until a variable is actually loaded

@benbu
Copy link
Member

benbu commented Apr 1, 2013

Fixed by 4307c77 (vistrails.git) merged into uvcdat-next

@dakoop
Copy link
Contributor

dakoop commented Jul 9, 2013

Verified as fixed. Note that the error message is written out to stdout/err so there is no feedback to the user unless they look at the log. Suggest using a GUI message box here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants