Comments (7)
I think an issue with OpenGL can cause that message.
Please copy and paste the terminal output that you get when that error is thrown.
Additionally, tell me what OS you're using and whether it's a local computer or something you're accessing remotely (e.g. a cloud server you're SSHing into)
from animateddrawings.
OS: Ubuntu, using my local machine
This is the error
python 3.8.13 (default, Oct 21 2022, 23:50:54)
[GCC 11.2.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from animated_drawings import render
>>> render.start('./examples/config/mvc/interactive_window_example.yaml')
libGL error: MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast
/home/mohamed/anaconda3/envs/animated_drawings/lib/python3.8/site-packages/glfw/__init__.py:912: GLFWError: (65543) b'GLX: Failed to create context: GLXBadFBConfig'
warnings.warn(message, GLFWError)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/mohamed/Desktop/AnimatedDrawings/AnimatedDrawings/animated_drawings/render.py", line 15, in start
view = View.create_view(cfg.view)
File "/home/mohamed/Desktop/AnimatedDrawings/AnimatedDrawings/animated_drawings/view/view.py", line 45, in create_view
return WindowView(view_cfg)
File "/home/mohamed/Desktop/AnimatedDrawings/AnimatedDrawings/animated_drawings/view/window_view.py", line 32, in __init__
self._create_window(*cfg.window_dimensions) # pyright: ignore[reportGeneralTypeIssues]
File "/home/mohamed/Desktop/AnimatedDrawings/AnimatedDrawings/animated_drawings/view/window_view.py", line 124, in _create_window
logging.info(f'OpenGL Version: {GL.glGetString(GL.GL_VERSION).decode()}') # pyright: ignore[reportGeneralTypeIssues]
AttributeError: 'NoneType' object has no attribute 'decode'
from animateddrawings.
And what is the version number of your Ubuntu?
from animateddrawings.
Ubuntu 22.04.2 LTS
from animateddrawings.
Okay. The project has been tested with Mac OS and Ubuntu 18.04, but not 22.04. Your issue is a good indicator that I need to list that explicitly within the Readme.
I haven't encountered your issue before, but it looks related to the version of libGL on your machine. This SO flags the same issue and has some proposed resolutions:
https://stackoverflow.com/questions/72110384/libgl-error-mesa-loader-failed-to-open-iris
Please take a look and, if they successfully resolve your issue, I'd appreciate you updating this issue letting us know.
from animateddrawings.
I tried your link and still not working, I will try it on ubuntu 18.04.
from animateddrawings.
for me, with ubuntu 23.04, conda install -c conda-forge libstdcxx-ng
solve the pb.
from animateddrawings.
Related Issues (20)
- Error on image_to_animation.py
- Issue when running image_to_animation HOT 1
- A rendering performance issue HOT 3
- Same image different results (demo vs local) HOT 6
- FFMPEG deal with mp4 ERROR
- I would like to ask if it is necessary to use docker HOT 5
- many joints " not inside or on edge of any triangle in mesh. Skipping it" HOT 1
- Failed to build Docker HOT 2
- Source code of fixing bounding box missing HOT 2
- ERROR: failed to solve: process "/bin/sh -c mim install mmcv-full==1.7.0" did not complete successfully: exit code: 1 HOT 2
- Failed to get bounding box HOT 14
- AttributeError: 'NoneType' object has no attribute 'decode' HOT 3
- Exception: Failed to get bounding box, please check if the 'docker_torchserve' is running and healthy, resp: <Response [500]>
- docker start fail HOT 6
- torchserve docker build fail HOT 2
- Selecting the Correct YAML File for Wave_Hello.bvh HOT 4
- GARLIC error HOT 8
- ModuleError: No module named "ts.torch_handler.mmdet_handler" HOT 1
- When docker build, stuck on Connecting to objects.githubusercontent.com (objects.githubusercontent => => # .com)|::ffff:185.199.109.133|:443... HOT 2
- call the server in docker,raise error.Then the server turn to unhealthy,the memory is 16GB HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from animateddrawings.