Traceback (most recent call last):


 "/usr/local/bin/mloginfo", line 11, in <module>

load_entry_point('mtools', 'console_scripts', 'mloginfo')()


 "$HOME/dsv/mtools/mtools/mloginfo/mloginfo.py", line 100, in main

tool.run()


 "$HOME/dsv/mtools/mtools/mloginfo/mloginfo.py", line 95, in run

section.run()


 "$HOME/dsv/mtools/mtools/mloginfo/sections/query_section.py", line 81, in run

pattern=le.pattern, duration=le.duration,


 "$HOME/dsv/mtools/mtools/util/logevent.py", line 474, in pattern

self._pattern = self._find_pattern('filter: ')


 "$HOME/dsv/mtools/mtools/util/logevent.py", line 989, in _find_pattern

return json2pattern(search_str)


 "$HOME/dsv/mtools/mtools/util/pattern.py", line 96, in json2pattern

return json.dumps(doc, sort_keys=True, separators=(', ', ': '))


 "/usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/__init__.py", line 238, in dumps

**kw).encode(obj)


 "/usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/encoder.py", line 199, in encode

chunks = self.iterencode(o, _one_shot=True)


 "/usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/encoder.py", line 257, in iterencode

return _iterencode(o, 0)


 "/usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/encoder.py", line 179, in default

raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type bytes is not JSON serializable

Traceback (most recent call last):


 "/data/data/org.qpython.qpy3/files/bin/youtube-dl", line 9, in <module>

load_entry_point('youtube-dl==2017.05.18.1', 'console_scripts', 'youtube-dl')()


 "/data/data/org.qpython.qpy3/files/lib/python3.2/site-packages/youtube_dl/__init__.py", line 465, in main

_real_main(argv)


 "/data/data/org.qpython.qpy3/files/lib/python3.2/site-packages/youtube_dl/__init__.py", line 432, in _real_main

with YoutubeDL(ydl_opts) as ydl:


 "/data/data/org.qpython.qpy3/files/lib/python3.2/site-packages/youtube_dl/YoutubeDL.py", line 391, in __init__

self.print_debug_header()


 "/data/data/org.qpython.qpy3/files/lib/python3.2/site-packages/youtube_dl/YoutubeDL.py", line 2145, in print_debug_header

platform.python_version(), platform_name()))


 "/data/data/org.qpython.qpy3/files/lib/python3.2/site-packages/youtube_dl/utils.py", line 1303, in platform_name

res = platform.platform()


 "/data/data/org.qpython.qpy3/files/lib/python3.2/python32.zip/platform.py", line 1545, in platform


 "/data/data/org.qpython.qpy3/files/lib/python3.2/python32.zip/platform.py", line 184, in libc_ver
TypeError: unorderable types: NoneType() > str()
