Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Program crashes on some inputs #6

Open
1Hyena opened this issue Mar 24, 2019 · 0 comments
Open

Program crashes on some inputs #6

1Hyena opened this issue Mar 24, 2019 · 0 comments
Milestone

Comments

@1Hyena
Copy link

1Hyena commented Mar 24, 2019

Getting the below error

Traceback (most recent call last):
  File "/usr/bin/nostril", line 25, in <module>
    plac.call(main)
  File "/usr/lib/python3.7/site-packages/plac_core.py", line 330, in call
    cmd, result = parser.consume(arglist)
  File "/usr/lib/python3.7/site-packages/plac_core.py", line 207, in consume
    return cmd, self.func(*(args + varargs + extraopts), **kwargs)
  File "/usr/lib/python3.7/site-packages/nostril/__main__.py", line 83, in main
    analyze(strings, trace)
  File "/usr/lib/python3.7/site-packages/nostril/__main__.py", line 95, in analyze
    'nonsense' if nonsense(s) else 'real'))
UnicodeEncodeError: 'utf-8' codec can't encode characters in position 906-917: surrogates not allowed

when trying to detect gibberish from user-generated content.

@mhucka mhucka added this to the 1.3 milestone Nov 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants