Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tag #200

Open
petrasvestartas opened this issue Oct 3, 2024 · 0 comments
Open

Tag #200

petrasvestartas opened this issue Oct 3, 2024 · 0 comments
Assignees

Comments

@petrasvestartas
Copy link
Collaborator

petrasvestartas commented Oct 3, 2024

Tag object does not work on Ubuntu:

https://github.com/compas-dev/compas_viewer/blob/main/scripts/tag.py

Traceback (most recent call last):
  File "/home/petras/brg/2_code/compas_grid/src/compas_grid/grid_model.py", line 11, in <module>
    viewer.show()
  File "/home/petras/anaconda3/envs/grid/lib/python3.9/site-packages/compas_viewer/viewer.py", line 83, in show
    self.ui.init()
  File "/home/petras/anaconda3/envs/grid/lib/python3.9/site-packages/compas_viewer/ui/ui.py", line 54, in init
    self.window.widget.show()
  File "/home/petras/anaconda3/envs/grid/lib/python3.9/site-packages/compas_viewer/renderer/renderer.py", line 258, in event
    return super().event(event)
  File "/home/petras/anaconda3/envs/grid/lib/python3.9/site-packages/compas_viewer/renderer/renderer.py", line 187, in initializeGL
    self.init()
  File "/home/petras/anaconda3/envs/grid/lib/python3.9/site-packages/compas_viewer/renderer/renderer.py", line 396, in init
    obj.init()
  File "/home/petras/anaconda3/envs/grid/lib/python3.9/site-packages/compas_viewer/scene/sceneobject.py", line 266, in init
    self.make_buffers()
  File "/home/petras/anaconda3/envs/grid/lib/python3.9/site-packages/compas_viewer/scene/tagobject.py", line 138, in make_buffers
    "text_texture": self.make_text_texture(),
  File "/home/petras/anaconda3/envs/grid/lib/python3.9/site-packages/compas_viewer/scene/tagobject.py", line 143, in make_text_texture
    face = Face(self.geometry.font)
  File "/home/petras/anaconda3/envs/grid/lib/python3.9/site-packages/freetype/__init__.py", line 1192, in __init__
    raise FT_Exception(error)
freetype.ft_errors.FT_Exception: FT_Exception:  (cannot open resource)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants