TypeError: invalid file: PosixPath('wall.log') #75
Closed
by denzilc opened 6 years ago
·
4 comments
Loading…
Reference in new issue
There is no content yet.
Delete Branch '%!s(MISSING)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
I receive the following error
I have used the following command (git clone + run) to tun the script.
What could this possibly refer to?
@denzilc I think it's your python version. Are you using <3.6?
It's tested with 3.6 or greater (see https://github.com/weskerfoot/DeleteFB#how-to-use-it ). If your system python is older than 3.6, then I would recommend either installing 3.6 (if you can) or use something like Pyenv to allow for newer versions of Python 3 alongside the system one.
https://github.com/pyenv/pyenv
I wasn't aware that this interface is not backwards compatible, so maybe I can take a look and see if it's possible to make backwards compatible, but TBH I would rather just support 3.6 or greater at this point, since it's already tied to Python 3 and doesn't support 2.
https://docs.python.org/3/whatsnew/3.6.html#pep-519-adding-a-file-system-path-protocol
Hmm actually it looks like it should be easy to fix. Just calling the
str()
constructor on it should work. I'll try to get a fix in soon.@denzilc Should be fixed in master now. Please give it another try :)
Thanks, it works : )