VTK ERROR

Asked by JOHN

Good evening,
Sorry this might sound really beginners question but. I installed vtk using sudo apt-get install libvtk6-dev
When i try to visualize the results of a yade run i get the following result

ERROR: In /build/vtk6-YpT4yb/vtk6-6.2.0+dfsg1/IO/XML/vtkXMLWriter.cxx, line 747
vtkXMLUnstructuredGridWriter (0x7f03c40c76f0): Error opening output file "/home/john/Desktop/working2/work/vis/3d-vtk-spheres.301.vtu"

ERROR: In /build/vtk6-YpT4yb/vtk6-6.2.0+dfsg1/IO/XML/vtkXMLWriter.cxx, line 750
vtkXMLUnstructuredGridWriter (0x7f03c40c76f0): Error code "No such file or directory"

ERROR: In /build/vtk6-YpT4yb/vtk6-6.2.0+dfsg1/Common/ExecutionModel/vtkExecutive.cxx, line 784
vtkCompositeDataPipeline (0x7f03c40c5250): Algorithm vtkXMLUnstructuredGridWriter(0x7f03c40c76f0) returned failure for request: vtkInformation (0x7f03c40d69d0)
  Debug: Off
  Modified Time: 1979
  Reference Count: 1
  Registered Events: (none)
  Request: REQUEST_DATA
  FROM_OUTPUT_PORT: -1
  ALGORITHM_AFTER_FORWARD: 1
  FORWARD_DIRECTION: 0

I have spent a couple of hours butg i cant find a solution
Thank you for your time
John

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Jérôme Duriez
Solved:
Last query:
Last reply:
Revision history for this message
Best Jérôme Duriez (jduriez) said :
#1

Hi,

The error says "No such file or directory" which means you're asking to analyze a file ("/home/john/Desktop/working2/work/vis/3d-vtk-spheres.301.vtu") which does not exist.

Most probably it is at another location than you thought it is, or you made a typo in its name (or any other possible misuse)

Next time, please try to reserve pure vtk-related questions for a VTK forum/mailing list.

Jérôme

Revision history for this message
JOHN (washingmachine) said :
#2

Thanks Jérôme Duriez, that solved my question.