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

Issue when running game.py example (Python 3.9.2) #67

Open
zimchaa opened this issue Oct 6, 2023 · 0 comments
Open

Issue when running game.py example (Python 3.9.2) #67

zimchaa opened this issue Oct 6, 2023 · 0 comments

Comments

@zimchaa
Copy link

zimchaa commented Oct 6, 2023

Steps: run game.py from the examples directory -

~/Pimoroni/displayotron/examples/dothat/advanced $ ./game.py 

This advanced example uses the menu framework.
It loads the debris game plugin. Your score is
time survived in seconds, see how well you can do!

Press CTRL+C to exit.

[(14, 3), (10, 3), (6, 2), (11, 3), (14, 0), (12, 3), (9, 2), (8, 0), (11, 5), (8, 1)]
Traceback (most recent call last):
  File "/home/zimchaa/Pimoroni/displayotron/examples/dothat/advanced/./game.py", line 40, in <module>
    menu.run()
  File "/usr/local/lib/python3.9/dist-packages/dot3k/menu.py", line 129, in run
    self._thread.start()
  File "/usr/local/lib/python3.9/dist-packages/dot3k/menu.py", line 42, in start
    if not self.isAlive():
AttributeError: 'AsyncWorker' object has no attribute 'isAlive'
Config saved to dot3k.cfg

Seems to be related to, but not solved by the checking of the installation of Cap1xxx

$ python3 -m pip freeze | grep Cap1xxx
Cap1xxx==0.1.4

#66 - created a pull request (apologies if I've not done this correctly) that resolves this issue by editing menu.py to use is_alive instead of isAlive.

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