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

hachoir-grep: TypeError: decoding str is not supported #82

Closed
jwilk opened this issue Nov 26, 2022 · 2 comments
Closed

hachoir-grep: TypeError: decoding str is not supported #82

jwilk opened this issue Nov 26, 2022 · 2 comments

Comments

@jwilk
Copy link
Contributor

jwilk commented Nov 26, 2022

$ hachoir-grep foo tests/files/*.png
Traceback (most recent call last):
  File "/home/jwilk/.local/bin/hachoir-grep", line 8, in <module>
    sys.exit(main())
  File "/home/jwilk/.local/lib/python3.8/site-packages/hachoir/grep.py", line 183, in main
    values, pattern, filenames = parseOptions()
  File "/home/jwilk/.local/lib/python3.8/site-packages/hachoir/grep.py", line 66, in parseOptions
    pattern = str(arguments[0], "ascii")
TypeError: decoding str is not supported

(originally reported by Samuel Thibault in https://bugs.debian.org/969914)

vstinner added a commit that referenced this issue Nov 27, 2022
@vstinner
Copy link
Owner

Oh, right. Thanks for your bug report.

Fixed by e41df66

@vstinner
Copy link
Owner

I released Hachoir 3.2.0 with the fix. Enjoy!

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