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

3D_Scalar Unexpected Error #884

williams13 opened this Issue Nov 11, 2014 · 0 comments


None yet
3 participants

williams13 commented Nov 11, 2014

Plot our test variable "clt" with 3D_Scalar "default". The plot looks fine. However, if you select the bar at the bottom and try to move the slider to the left, you will see the following unexpected error:

Traceback (most recent call last):
File "/Users/williams13/work/uvcdata/build_uvcdat/install/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/DV3D/", line 736, in processInteractionEvent
config_function.processInteractionEvent( [ "UpdateConfig", self.getSliderIndex(obj), srep, event ] )
File "/Users/williams13/work/uvcdata/build_uvcdat/install/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/DV3D/", line 793, in processInteractionEvent
self.interactionHandler( args, self )
File "/Users/williams13/work/uvcdata/build_uvcdat/install/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/DV3D/", line 412, in processSlicingCommand
slicePosition.setValue( 'relative', plane_widget.ConvertPositionToRelative( value ) )
File "/Users/williams13/work/uvcdata/build_uvcdat/install/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/DV3D/", line 1001, in ConvertPositionToRelative
rpos = ( position - bounds[0] ) / ( bounds[1] - bounds[0] )
ZeroDivisionError: float division by zero

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