question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fail to read mesh from obj in CentOs

See original GitHub issue

Describe the bug, what’s wrong, and what you expect:

On linux it fails to load obj file while the same loads on Windows. The model is a simple box exported by Ansys tool. If needed I can send the file.


To Reproduce

import pyvista as pv
data = pv.read(file)

Screenshots If applicable, add screenshots to help explain your problem.


pyvisa_screenshot

System Information: Linux CentOs

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
akaszynskicommented, Jan 22, 2022

No issue with:

import pyvista as pv
data = pv.read('./Model_AllObjs_AllMats.obj')

pyvista.Report:

--------------------------------------------------------------------------------
  Date: Sat Jan 22 09:44:05 2022 MST

                OS : Linux
            CPU(s) : 8
           Machine : x86_64
      Architecture : 64bit
               RAM : 38.8 GiB
       Environment : IPython
       File system : ext4
        GPU Vendor : Intel
      GPU Renderer : Mesa Intel(R) UHD Graphics 620 (WHL GT2)
       GPU Version : 4.6 (Core Profile) Mesa 21.0.3

  Python 3.8.10 (default, Nov 26 2021, 20:14:08)  [GCC 9.3.0]

           pyvista : 0.34.dev0
               vtk : 9.1.0
             numpy : 1.21.4
           imageio : 2.14.0
           appdirs : 1.4.4
            scooby : 0.5.9
        matplotlib : 3.5.1
         pyvistaqt : 0.6.0
             PyQt5 : 5.11.3
           IPython : 8.0.0
          colorcet : 3.0.0
           cmocean : 2.0
        ipyvtklink : 0.2.2
             scipy : 1.7.3
        itkwidgets : 0.32.1
              tqdm : 4.62.3
            meshio : 5.2.5
--------------------------------------------------------------------------------
0reactions
banesullivancommented, Jan 24, 2022

My recommendation is to upgrade your Python environment (3.6 has passed the end of life and we are half-heartedly support 3.6 at this point). After upgrading Python to say 3.8 or 3.9, then also try upgrading VTK vo v9

Read more comments on GitHub >

github_iconTop Results From Across the Web

MeshLab / Discussion / Help: Error when loading an obj file under ...
With the svn build of Meshlab (Ubuntu 8.04 gcc 2.4.2) when I attempt to load an obj file I sometimes get this error:...
Read more >
How Do I Fix the "Read-only file system" Error When I Delete a ...
Scenario 1: File System Mounted as Read-only · Run the following command to check how the directory containing the deleted file is mounted:...
Read more >
missing texture for a obj - CloudCompare forum
I've a .obj with texture and work properly using meshlab. However, all texture lose when open it using cloudcompare.
Read more >
Runtime errors on Centos 7 system - Ansys Learning Forum
Also, trying to start Mesh results in "failed determining temp ... The above bug happens when ANSYS fails to have read access to...
Read more >
Wavefront OBJ File Format - Library of Congress
See 3D Model Appearance factor below. The OBJ file format supports definition of the geometry for object surfaces using polygonal meshes or ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found