Traceback (most recent call last):


 "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\pyfa.py", line 135, in <module>


 "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\gui\mainFrame.py", line 167, in __init__


 "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\gui\bitmap_loader.py", line 65, in getBitmap


 "C:\Users\holme\Documents\Sync\Git\blitzmann\Pyfa\gui\bitmap_loader.py", line 87, in getImage
TypeError: initial_value must be str or None, not bytes

Traceback (most recent call last):


 "repro.py", line 6, in <module>

Model.schema()


 "pydantic/main.py", line 511, in pydantic.main.BaseModel.schema


 "pydantic/schema.py", line 146, in pydantic.schema.model_schema


 "pydantic/schema.py", line 465, in pydantic.schema.model_process_schema


 "pydantic/schema.py", line 494, in pydantic.schema.model_type_schema


 "pydantic/schema.py", line 191, in pydantic.schema.field_schema


 "pydantic/schema.py", line 745, in genexpr


 "pydantic/schema.py", line 745, in genexpr


 "pydantic/schema.py", line 749, in pydantic.schema.encode_default


 "pydantic/json.py", line 59, in pydantic.json.pydantic_encoder
TypeError: Object of type 'NoneType' is not JSON serializable
