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

Error running only with renderer as Skia #408

Closed
mahdi-b opened this issue Dec 2, 2022 · 3 comments
Closed

Error running only with renderer as Skia #408

mahdi-b opened this issue Dec 2, 2022 · 3 comments

Comments

@mahdi-b
Copy link

mahdi-b commented Dec 2, 2022

My installation works fine with vispy but fails wih Skia.

Traceback (most recent call last):
  File "test.py", line 96, in <module>
    run(renderer="skia")
  File "/Users/mahdi/.local/lib/python3.8/site-packages/p5/sketch/userspace.py", line 231, in run
    p5.sketch.start()
  File "/Users/mahdi/.local/lib/python3.8/site-packages/p5/sketch/Skia2DRenderer/base.py", line 156, in start
    self.window = self.glfw_window()
  File "/Users/mahdi/.local/lib/python3.8/site-packages/p5/sketch/Skia2DRenderer/base.py", line 76, in glfw_window
    if not glfw.init():
  File "/Users/mahdi/.local/lib/python3.8/site-packages/glfw/__init__.py", line 714, in init
    res = _glfw.glfwInit()
  File "/Users/mahdi/.local/lib/python3.8/site-packages/glfw/__init__.py", line 616, in errcheck
    _reraise(exc[1], exc[2])
  File "/Users/mahdi/.local/lib/python3.8/site-packages/glfw/__init__.py", line 52, in _reraise
    raise exception.with_traceback(traceback)
  File "/Users/mahdi/.local/lib/python3.8/site-packages/glfw/__init__.py", line 595, in callback_wrapper
    return func(*args, **kwargs)
  File "/Users/mahdi/.local/lib/python3.8/site-packages/glfw/__init__.py", line 808, in _handle_glfw_errors
    raise GLFWError(message)
glfw.GLFWError: (65544) b'Cocoa: Failed to find service port for display'

Not sure where to start troubleshooting this. Any suggestions would be greatly appreciated

@github-actions
Copy link
Contributor

github-actions bot commented Dec 2, 2022

Thank you for submitting your first issue to p5py

@tushar5526
Copy link
Member

Can you share more details about your environment?

@tushar5526
Copy link
Member

Closing this issue due to inactivity.

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