
Traceback (most recent call last):


 "/usr/bin/pidcat", line 66, in <module>

running_package_name = re.search(".*TaskRecord.*A[= ]([^ ^}]*)", system_dump).group(1)


 "/usr/lib/python3.8/re.py", line 201, in search

return _compile(pattern, flags).search(string)

TypeError: cannot use a string pattern on a bytes-like object

Traceback (most recent call last):


 "/home/tojik/git/tanks/test/test_pydantic.py", line 7, in <module>

class TestClass(BaseModel):


 "/usr/lib/python3.7/site-packages/pydantic/main.py", line 190, in __new__

config=config,


 "/usr/lib/python3.7/site-packages/pydantic/fields.py", line 118, in infer

schema=schema,


 "/usr/lib/python3.7/site-packages/pydantic/fields.py", line 87, in __init__

self.prepare()


 "/usr/lib/python3.7/site-packages/pydantic/fields.py", line 152, in prepare

self._populate_sub_fields()


 "/usr/lib/python3.7/site-packages/pydantic/fields.py", line 180, in _populate_sub_fields

if issubclass(origin, Tuple):
# type: ignore


 "/usr/lib/python3.7/typing.py", line 713, in __subclasscheck__

return issubclass(cls, self.__origin__)
TypeError: issubclass() arg 1 must be a class
