Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • VTK VTK
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 741
    • Issues 741
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 197
    • Merge requests 197
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VTK
  • VTKVTK
  • Issues
  • #16091
Closed
Open
Created Apr 21, 2016 by Kitware Robot@kwrobotOwner

vtkXMLStructuredDataWriter fails with WriteToOutputStringOn()

This issue was created automatically from an original Mantis Issue. Further discussion may take place here.


ERROR: In /tmp/vtk20160219-59710-1ih9gsl/VTK-7.0.0/IO/XML/vtkXMLStructuredDataWriter.cxx, line 124 vtkXMLRectilinearGridWriter (0x7fe17b31b390): The FileName or Stream must be set first.

ERROR: In /tmp/vtk20160219-59710-1ih9gsl/VTK-7.0.0/Common/ExecutionModel/vtkExecutive.cxx, line 784 vtkCompositeDataPipeline (0x7fe17b31cc10): Algorithm vtkXMLRectilinearGridWriter(0x7fe17b31b390) returned failure for request: vtkInformation (0x7fe17b31e9f0)

in structuredDataWriter it reads (line 121): if (!this->Stream && !this->FileName) { this->SetErrorCode(vtkErrorCode::NoFileNameError); vtkErrorMacro("The FileName or Stream must be set first."); return 0; }

while in unstructuredDataWriter (line 117): if(!this->Stream && !this->FileName && !this->WriteToOutputString) { this->SetErrorCode(vtkErrorCode::NoFileNameError); vtkErrorMacro("The FileName or Stream must be set first or " "the output must be written to a string."); return 0; }

Is omitting outputting to a string a deliberate curtailing of the functionality of the structuredWriter??

Assignee
Assign to
Time tracking