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

camera_window_test.py doesn't work #8

Open
GDelevoye opened this issue May 4, 2021 · 0 comments
Open

camera_window_test.py doesn't work #8

GDelevoye opened this issue May 4, 2021 · 0 comments

Comments

@GDelevoye
Copy link

Hello, one of the example doesn't work

I don't have time to debug it or to make a PR so I'll just report here:

guillaume@A320MA:~/GitHub/pygame_gui_examples$ python camera_window_test.py 
pygame 2.0.1 (SDL 2.0.14, Python 3.8.5)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
  File "camera_window_test.py", line 69, in <module>
    CameraWindow(cam_window_rect, cam_id, cam_names[cam_id], manager)
  File "camera_window_test.py", line 30, in __init__
    self.camera = pygame.camera.Camera(camera_id, (160, 120))
TypeError: argument 1 must be str, not int
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

1 participant