[Yade-dev] [Branch ~yade-pkg/yade/git-trunk] Rev 4179: Use system call sphinx-build instead of python module.
revno: 4179 committer: Anton Gladky gladky.an...@gmail.com timestamp: Thu 2014-10-02 10:56:07 +0200 message: Use system call sphinx-build instead of python module. Fixes documentation generation breakage on a newest sphinx 1.2.3. modified: doc/sphinx/yadeSphinx.py -- lp:yade https://code.launchpad.net/~yade-pkg/yade/git-trunk Your team Yade developers is subscribed to branch lp:yade. To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription === modified file 'doc/sphinx/yadeSphinx.py' --- doc/sphinx/yadeSphinx.py 2013-10-15 16:14:46 + +++ doc/sphinx/yadeSphinx.py 2014-10-02 08:56:07 + @@ -212,12 +212,10 @@ global writer writer=None -for w in ['html','latex','epub']: - writer=w +for writer in ['html','latex','epub']: genWrapperRst() - # HACK: must rewrite sys.argv, since reference generator in conf.py determines if we output latex/html by inspecting it - sys.argv=['sphinx-build','-a','-E','-b','%s'%writer,'-d',outDir+'/doctrees','.',outDir+'/%s'%writer] - sphinx.main(sys.argv) +commLine = sphinx-build -a -E -b %s -d %s . %s%(writer,outDir+'/doctrees', (outDir+'/%s'%writer)) +os.system(commLine) if writer=='html': makeBaseClassesClickable((outDir+'/html/yade.wrapper.html'),writer) elif writer=='latex': @@ -225,7 +223,7 @@ if (os.path.exists('/usr/share/javascript/jquery/jquery.js')): #Check, whether jquery.js installed in system os.system('rm '+ outDir+'/html/_static/jquery.js') os.system('ln -s /usr/share/javascript/jquery/jquery.js '+ outDir+'/html/_static/jquery.js') - + # HACK== # New sphinx-python versions (hopefully) are producing empty verbatim-environments. # That is why xelatex crashes. ___ Mailing list: https://launchpad.net/~yade-dev Post to : yade-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp
[Yade-dev] [Bug 1376734] [NEW] wrong vtk output for boxes
Public bug reported: Hi, Since some weeks I have problems while open vtk files in paraview. When open boxes.vtk I get following error message: ERROR: In /home/utkarsh/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/VTK/IO/XML/vtkXMLDataReader.cxx, line 545 vtkXMLUnstructuredGridReader (0x5c90990): Cannot read cell data array forceVec from PointData in piece 0. The data array in the element may be too short. The same message appears for forceLen, torqueVec and torqueLen. By deselecting these properties in paraview, vtk file opens without error message. Maybe there is the same problem with facets, but I do not use them and did not check... Spheres vtk output is ok. I think it has to do with this commit: https://github.com/yade/trunk/commit/b1621bcf6c439a7b29b2220bfb1c40b1d5b8f7a6 Regards, Christian ** Affects: yade Importance: Undecided Status: New ** Attachment added: open this file in paraview to see the error message https://bugs.launchpad.net/bugs/1376734/+attachment/4222402/+files/2-boxes.256.vtu -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1376734 Title: wrong vtk output for boxes Status in Yet Another Dynamic Engine: New Bug description: Hi, Since some weeks I have problems while open vtk files in paraview. When open boxes.vtk I get following error message: ERROR: In /home/utkarsh/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/VTK/IO/XML/vtkXMLDataReader.cxx, line 545 vtkXMLUnstructuredGridReader (0x5c90990): Cannot read cell data array forceVec from PointData in piece 0. The data array in the element may be too short. The same message appears for forceLen, torqueVec and torqueLen. By deselecting these properties in paraview, vtk file opens without error message. Maybe there is the same problem with facets, but I do not use them and did not check... Spheres vtk output is ok. I think it has to do with this commit: https://github.com/yade/trunk/commit/b1621bcf6c439a7b29b2220bfb1c40b1d5b8f7a6 Regards, Christian To manage notifications about this bug go to: https://bugs.launchpad.net/yade/+bug/1376734/+subscriptions ___ Mailing list: https://launchpad.net/~yade-dev Post to : yade-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp
Re: [Yade-dev] [Bug 1376734] [NEW] wrong vtk output for boxes
Hi Christian, it really seems like my fault.. could you please attach a simple script producing vtk with boxes so I (or anybody else) can try it? I would fix it next week.. Cheers Jan Dne 2.10.2014 14:40 Christian Jakob 1376...@bugs.launchpad.net napsal(a): Public bug reported: Hi, Since some weeks I have problems while open vtk files in paraview. When open boxes.vtk I get following error message: ERROR: In /home/utkarsh/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/VTK/IO/XML/vtkXMLDataReader.cxx, line 545 vtkXMLUnstructuredGridReader (0x5c90990): Cannot read cell data array forceVec from PointData in piece 0. The data array in the element may be too short. The same message appears for forceLen, torqueVec and torqueLen. By deselecting these properties in paraview, vtk file opens without error message. Maybe there is the same problem with facets, but I do not use them and did not check... Spheres vtk output is ok. I think it has to do with this commit: https://github.com/yade/trunk/commit/b1621bcf6c439a7b29b2220bfb1c40b1d5b8f7a6 Regards, Christian ** Affects: yade Importance: Undecided Status: New ** Attachment added: open this file in paraview to see the error message https://bugs.launchpad.net/bugs/1376734/+attachment/4222402/+files/2-boxes.256.vtu -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1376734 Title: wrong vtk output for boxes Status in Yet Another Dynamic Engine: New Bug description: Hi, Since some weeks I have problems while open vtk files in paraview. When open boxes.vtk I get following error message: ERROR: In /home/utkarsh/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/VTK/IO/XML/vtkXMLDataReader.cxx, line 545 vtkXMLUnstructuredGridReader (0x5c90990): Cannot read cell data array forceVec from PointData in piece 0. The data array in the element may be too short. The same message appears for forceLen, torqueVec and torqueLen. By deselecting these properties in paraview, vtk file opens without error message. Maybe there is the same problem with facets, but I do not use them and did not check... Spheres vtk output is ok. I think it has to do with this commit: https://github.com/yade/trunk/commit/b1621bcf6c439a7b29b2220bfb1c40b1d5b8f7a6 Regards, Christian To manage notifications about this bug go to: https://bugs.launchpad.net/yade/+bug/1376734/+subscriptions ___ Mailing list: https://launchpad.net/~yade-dev Post to : yade-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp -- You received this bug notification because you are a member of Yade developers, which is subscribed to Yade. https://bugs.launchpad.net/bugs/1376734 Title: wrong vtk output for boxes Status in Yet Another Dynamic Engine: New Bug description: Hi, Since some weeks I have problems while open vtk files in paraview. When open boxes.vtk I get following error message: ERROR: In /home/utkarsh/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/VTK/IO/XML/vtkXMLDataReader.cxx, line 545 vtkXMLUnstructuredGridReader (0x5c90990): Cannot read cell data array forceVec from PointData in piece 0. The data array in the element may be too short. The same message appears for forceLen, torqueVec and torqueLen. By deselecting these properties in paraview, vtk file opens without error message. Maybe there is the same problem with facets, but I do not use them and did not check... Spheres vtk output is ok. I think it has to do with this commit: https://github.com/yade/trunk/commit/b1621bcf6c439a7b29b2220bfb1c40b1d5b8f7a6 Regards, Christian To manage notifications about this bug go to: https://bugs.launchpad.net/yade/+bug/1376734/+subscriptions ___ Mailing list: https://launchpad.net/~yade-dev Post to : yade-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp