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

Remove / fix VCS interact warning #603

Closed
aashish24 opened this issue Sep 6, 2014 · 3 comments
Closed

Remove / fix VCS interact warning #603

aashish24 opened this issue Sep 6, 2014 · 3 comments
Milestone

Comments

@aashish24
Copy link
Contributor

Adding VCS element: 3d_scalar xyt
/Users/williams13/work/uvcdats/build_uvcdat/install/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/vcs/Canvas.py:3729: UserWarning: VCS Behaviour changed, in order to interact with window, start the interaction mode with:
x.interact()
warnings.warn("VCS Behaviour changed, in order to interact with window, start the interaction mode with:\n x.interact()")

@aashish24 aashish24 added this to the 2.0.0 milestone Sep 6, 2014
@doutriaux1 doutriaux1 modified the milestones: 2.1, 2.0.0 Sep 8, 2014
@doutriaux1
Copy link
Contributor

No this warning is on purpose. As the warning clearly states the behaviour changed. People would not know how to interact with a window otherwise. We can setup a flag to turn off this warning in the .uvcdat directory if you want. But we need to keep this warning for at least 2.0 and probably 2.1. Moving to 2.1, not closing now.

@durack1
Copy link
Member

durack1 commented Sep 8, 2014

It also seems like at least in builds from late last month, there are some print statements which probably need to be removed:

zg-500   inmcm4    u'40.90'  WITH global
/usr/local/uvcdat/2014-08-22/lib/python2.7/site-packages/vcs/Canvas.py:5361: UserWarning: need to implement code to redraw vcs after colormap change
  warnings.warn("need to implement code to redraw vcs after colormap change")
here we go
Traceback (most recent call last):
  File "portrait_test.july23.py", line 96, in <module>
    P.plot(out1_rel,bg=0)

@doutriaux1
Copy link
Contributor

duplicate #651

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

No branches or pull requests

3 participants