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

BlueMarble.ppm is missing because of which test is failing #163

Open
doutriaux1 opened this issue Mar 31, 2017 · 5 comments
Open

BlueMarble.ppm is missing because of which test is failing #163

doutriaux1 opened this issue Mar 31, 2017 · 5 comments
Assignees
Milestone

Comments

@doutriaux1
Copy link
Contributor

beside the failed vtk_ui test i now get this one (mac as well):

vtk-cdat-nox              7.1.0.2017.3.23.73fb094d17ccdd594a6abf9ff8732149c88dc2e6          py27_0    uvcdat

test error log:

Failed test: test_vcs_put_png_on_canvas on Thu Mar 30 11:34:12 2017
Log

E
======================================================================
ERROR: testPutPng (test_vcs_put_png_on_canvas.TestVCSPNG)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/git/vcs/tests/test_vcs_put_png_on_canvas.py", line 19, in testPutPng
    self.putPNGOnCanvas()
  File "/git/vcs/tests/test_vcs_put_png_on_canvas.py", line 13, in putPNGOnCanvas
    self.x.put_png_on_canvas(self.png,zoom,xoffset,yoffset,units,fitToHeight,bg=self.bg)
  File "/git/vcs/vcs/Canvas.py", line 4923, in put_png_on_canvas
    **kargs)
  File "/git/vcs/vcs/VTKPlots.py", line 967, in put_png_on_canvas
    filename, zoom, xOffset, yOffset, units, fitToHeight, *args, **kargs)
  File "/git/vcs/vcs/VTKPlots.py", line 975, in put_img_on_canvas
    reader.SetFileName(filename)
AttributeError: 'NoneType' object has no attribute 'SetFileName'

----------------------------------------------------------------------
Ran 1 test in 0.042s

FAILED (errors=1)
@danlipsa
Copy link
Contributor

danlipsa commented Apr 7, 2017

@doutriaux1 @aashish24 Not a VTK bug:
The problem is that:
/home/danlipsa/anaconda2/envs/nightly-20170407/share/uvcdat/sample_data/BlueMarble.ppm
is missing
so it needs to be added in
Share/test_data_files.txt

I'll let you @doutriaux1 to do this and close this bug when you are done. Thanks! I am not sure how to do this.

@aashish24
Copy link
Contributor

@doutriaux1 @danlipsa I updated the description.

@aashish24 aashish24 changed the title VTK bugs before release BlueMarble.ppm is missing because of which test is failing Apr 8, 2017
@doutriaux1
Copy link
Contributor Author

@danlipsa nice catch. Will add it today.

@danlipsa danlipsa mentioned this issue Apr 13, 2017
@doutriaux1
Copy link
Contributor Author

@danlipsa can I fix it in your PR?

@aashish24
Copy link
Contributor

@doutriaux1 I think it would be much cleaner if you push a separate PR for it..

@doutriaux1 doutriaux1 modified the milestone: 3.0 May 5, 2017
@doutriaux1 doutriaux1 modified the milestones: 3.0, post 3.0 Mar 29, 2018
@doutriaux1 doutriaux1 modified the milestones: 8.1, 8.2 Mar 27, 2019
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