When I try running ltfs_ordered_copy to copy files to an LTFS formatted tape I get the following error:
Check destination:startswith first arg must be bytes or a tuple of bytes, not str
Copying to non-LTFS locations seems to work as expected.
If I print the value that xattr returns from an LTFS tape I get b'LTFS LE'. Should xattr be returning a string here? When running just the code related to generating and checking sig, I don't get an error if I convert sig to a string before checking if it starts with "LTFS" or if I change if sig.startswith("LTFS"): to if sig.startswith(b"LTFS"):.
I'm running the 2.4.5.0 release version on Fedora 36.
When I try running
ltfs_ordered_copy
to copy files to an LTFS formatted tape I get the following error:Copying to non-LTFS locations seems to work as expected.
If I print the value that xattr returns from an LTFS tape I get
b'LTFS LE'
. Should xattr be returning a string here? When running just the code related to generating and checkingsig
, I don't get an error if I convertsig
to a string before checking if it starts with "LTFS" or if I changeif sig.startswith("LTFS"):
toif sig.startswith(b"LTFS"):
.I'm running the 2.4.5.0 release version on Fedora 36.