RogueEdit / pyRogue

Educational Project
GNU Affero General Public License v3.0
51 stars 37 forks source link

Bug: Does not run #176

Closed Satanaelcode closed 1 month ago

Satanaelcode commented 1 month ago

What Operating System are you on - Windows, Ubuntu, Mac, ...

Describe the bug - A clear and concise description of what the bug is.

To Reproduce - Describe the steps needed to reproduce the bug.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots - If applicable, add screenshots to help explain your problem.

Traceback (most recent call last):
  File "/home/eugaming/PycharmProjects/RogueEdit/pyRogue/src/main.py", line 37, in <module>
    from modules import requestsLogic, Rogue, SeleniumLogic, config
  File "/home/eugaming/PycharmProjects/RogueEdit/pyRogue/src/modules/__init__.py", line 3, in <module>
    from .mainLogic import Rogue
  File "/home/eugaming/PycharmProjects/RogueEdit/pyRogue/src/modules/mainLogic.py", line 1355
    cFormatter.print(Color.GREEN, f'Editing {selectedSpecies['moves'][selectedMoveIndex]} in Slot({selectedMoveIndex+1}) on {selectedSpecies["name"]}') # how to print selected move name
                                                              ^^^^^
SyntaxError: f-string: unmatched '[
JulianStiebler commented 1 month ago

Ill push a fix in a second. The problem is 'moves' beeing the same as the f'' string starts. I sometimes fall in bad habits :'D everything in [] is supposed to be "".

So in this case ["moves"] - alrdy renaming them and pushing in ~10-15min

Funnily enough, this isnt a issue on startup on windows, but it definetly is an "error" supposed to happen.

JulianStiebler commented 1 month ago

You can try now, update your source code and please close if it is resolved :) Edit 17:42: I also pushed it as v0.4.4 as a release since i renamed more.