I am using Arch linux, I have python 3.8.2 with tk 8.6.10-1.
It seems to me like some part of the script can't "compile" to binary some fields.
Whenever I try to save my files I get this output:
TypeError: expected bytes, str found
TypeError: expected bytes, str found
Exception ignored in: 'plist.create_dict_plist'
Traceback (most recent call last):
File "/path/to/ProperTree/Scripts/plistwindow.py", line 1407, in save_plist_as
plist_text = plist.dumps(plist_data,sort_keys=self.controller.settings.get("sort_dict",False))
TypeError: expected bytes, str found
TBH it would have greatly useful if there was a mechanism to tell which line is causing the issue.
This issue has been posted before here and also here and it seems that it's due to the libplist library in Arch based distros. The workarounds include removing libplist - or using python 2 instead of 3.
Hi,
I am using Arch linux, I have python 3.8.2 with tk 8.6.10-1. It seems to me like some part of the script can't "compile" to binary some fields. Whenever I try to save my files I get this output:
TypeError: expected bytes, str found TypeError: expected bytes, str found Exception ignored in: 'plist.create_dict_plist' Traceback (most recent call last): File "/path/to/ProperTree/Scripts/plistwindow.py", line 1407, in save_plist_as plist_text = plist.dumps(plist_data,sort_keys=self.controller.settings.get("sort_dict",False)) TypeError: expected bytes, str found
TBH it would have greatly useful if there was a mechanism to tell which line is causing the issue.
Thanks anyway.