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

Projects
None yet
4 participants
@doutriaux1
Member

doutriaux1 commented Jan 3, 2013

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

This comment has been minimized.

Member

benbu commented Apr 1, 2013

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

@dakoop

This comment has been minimized.

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