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

Jawa Exception #8

Open
ObadiahCrowe opened this issue Jul 28, 2018 · 1 comment
Open

Jawa Exception #8

ObadiahCrowe opened this issue Jul 28, 2018 · 1 comment

Comments

@ObadiahCrowe
Copy link

Running 'python3 munch.py --download' results in:

Traceback (most recent call last):
  File "munch.py", line 36, in <module>
    from jawa.classloader import ClassLoader
  File "/usr/local/lib/python3.5/dist-packages/jawa/classloader.py", line 144
    with self.open(f'{path}.class') as source:
                                 ^
SyntaxError: invalid syntax

Is there a known fix?

@Pokechu22
Copy link
Owner

I haven't actually tested the download format recently; I've been manually downloading jars myself.

However, that issue appears to be due to unrecognized f-strings, which were added in python 3.6 (and it looks like you're using 3.5). So, the first thing to try would be updating your python version.

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