Skip to content

fix: AttributeError when decoding a function#194

Open
leoferaderonugraha wants to merge 1 commit intofrida:mainfrom
leoferaderonugraha:fix/attribute-error-on-repl
Open

fix: AttributeError when decoding a function#194
leoferaderonugraha wants to merge 1 commit intofrida:mainfrom
leoferaderonugraha:fix/attribute-error-on-repl

Conversation

@leoferaderonugraha
Copy link

@leoferaderonugraha leoferaderonugraha commented Feb 1, 2026

So, i started using frida yesterday; when i'm trying to explore the manual on the frida tools, i got this error:

  File "C:\Users\xxx\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\frida_tools\repl.py", line 532, in _print_help
    signature = self._evaluate_expression("%s.toString()" % obj_to_identify)[1].decode()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'decode'. Did you mean: 'encode'?

This PR is an effort to fix that, but in the essence, it would be great to contribute to the documentation part itself.
Since i don't know how the direction of the documentation would be built, it would be great if you could share it with us.

edit: frida version i've been using: 17.6.2

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

Successfully merging this pull request may close these issues.

1 participant