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 on run #295

Open
iceguru opened this issue Jul 23, 2024 · 4 comments
Open

Error on run #295

iceguru opened this issue Jul 23, 2024 · 4 comments

Comments

@iceguru
Copy link

iceguru commented Jul 23, 2024

Checklist
I have:

  • [Y ] Searched the Issues page for my problem/feature request
  • [ Y] Updated all related software and Pokete it self

Describe the bug
Traceback (most recent call last):
File "/Users/nobody1/./pokete/pokete.py", line 63, in
from util.command import RootCommand, Flag
File "/Users/nobody1/pokete/util/command/init.py", line 1, in
from .command import Command, RootCommand, Flag
File "/Users/nobody1/pokete/util/command/command.py", line 37
f"\t{line[0]}{" " * (line_spaces - len(line[0]))}{line[1]}" for line
^
SyntaxError: f-string: expecting '}'

To Reproduce
Ran the start cmd

Expected behavior
THe game to start

Screenshots
Traceback (most recent call last):
File "/Users/nobody1/./pokete/pokete.py", line 63, in
from util.command import RootCommand, Flag
File "/Users/nobody1/pokete/util/command/init.py", line 1, in
from .command import Command, RootCommand, Flag
File "/Users/nobody1/pokete/util/command/command.py", line 37
f"\t{line[0]}{" " * (line_spaces - len(line[0]))}{line[1]}" for line
^
SyntaxError: f-string: expecting '}'

Environment

  • OSx
  • Recent
  • 3.12.4
  • 1.4.1
    Additional context
    Add any other context about the problem here.
@lxgr-linux
Copy link
Owner

Hello,
are you sure you're on python 3.12.x because that crash should only happen on python 3.11 and prior.

@iceguru
Copy link
Author

iceguru commented Jul 23, 2024

You're right. Apparently I have differrent versions installed. brew said 3.12.4 but pip says 3.9

Guess I get to figure that out.

@iceguru
Copy link
Author

iceguru commented Jul 23, 2024

Even right click open with the right 3.12.4 doesn't work. Same error.

@lxgr-linux
Copy link
Owner

That's really interesting. Can you try to run it from ur terminal?

python3 --version
python3 <path/to/pokete.py>

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