You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When invoking Percol with the contents of bash history as input, it generates error messages (seemingly due to some encoding issues) of several tens kilobytes each and they are stored in the systemd journal. The messages are like this:
Nov 22 15:44:37 localhost Percol[500]: display_results: __cause__: None | __class__: <class 'UnicodeDecodeError'> | __context__: None | __delattr__: <method-wrapper '__delattr__' of UnicodeDecodeError object at 0xb67a6d6c> | __dict__: {} | __dir__: <built-in method __dir__ of UnicodeDecodeError object at 0xb67a6d6c> | __doc__: Unicode decoding error. | __eq__: <method-wrapper '__eq__' of UnicodeDecodeError object at 0xb67a6d6c> | __format__: <built-in method __format__ of UnicodeDecodeError object at 0xb67a6d6c> | __ge__: <method-wrapper '__ge__' of UnicodeDecodeError object at 0xb67a6d6c> | __getattribute__: <method-wrapper '__getattribute__' of UnicodeDecodeError object at 0xb67a6d6c> | __gt__: <method-wrapper '__gt__' of UnicodeDecodeError object at 0xb67a6d6c> | __hash__: <method-wrapper '__hash__' of UnicodeDecodeError object at 0xb67a6d6c> | __init__: <method-wrapper '__init__' of UnicodeDecodeError object at 0xb67a6d6c> | __le__: <method-wrapper '__le__' of UnicodeDecodeError object at 0xb67a6d6c> | __lt__: <method-wrapper '__lt__' of UnicodeDecodeError object at 0xb67a6d6c> | __ne__: <method-wrapper '__ne__' of UnicodeDecodeError object at 0xb67a6d6c> | __new__: <built-in method __new__ of type object at 0xb77000a0> | __reduce__: <built-in method __reduce__ of UnicodeDecodeError object at 0xb67a6d6c> | __reduce_ex__: <built-in method __reduce_ex__ of UnicodeDecodeError object at 0xb67a6d6c> | __repr__: <method-wrapper '__repr__' of UnicodeDecodeError object at 0xb67a6d6c> | __setattr__: <method-wrapper '__setattr__' of UnicodeDecodeError object at 0xb67a6d6c> | __setstate__: <built-in method __setstate__ of UnicodeDecodeError object at 0xb67a6d6c> | __sizeof__: <built-in method __sizeof__ of UnicodeDecodeError object at 0xb67a6d6c> | __str__: <method-wrapper '__str__' of UnicodeDecodeError object at 0xb67a6d6c> | __subclasshook__: <built-in method __subclasshook__ of type object at 0xb77000a0> | __suppress_context__: False | __traceback__: <traceback object at 0xb69845a4> | args: ('utf-8', b'
[Further a couple of thousands of bash history lines are listed]
How this can be prevented?
Thanks.
EDIT: Tried several variants of error output redirection:
When invoking Percol with the contents of bash history as input, it generates error messages (seemingly due to some encoding issues) of several tens kilobytes each and they are stored in the systemd journal. The messages are like this:
How this can be prevented?
Thanks.
EDIT: Tried several variants of error output redirection:
But this doesn't seem to be working.
The text was updated successfully, but these errors were encountered: