Open yurivict opened 1 year ago
Can you cat out the contents of: /disk-samsung/freebsd-ports/devel/py-ubelt/work-py39/.cache/ubelt/file_10_0.txt
?
On my machine I see:
(pyenv3.10.5) joncrall@toothbrush:~/.cache/ubelt$ md5sum file_10_0.txt
e09c80c42fda55f9d992e59ca6b3307d file_10_0.txt
(pyenv3.10.5) joncrall@toothbrush:~/.cache/ubelt$ cat file_10_0.txt
aaaaaaaaaa(pyenv3.10.5) joncrall@toothbrush:~/.cache/ubelt$
which is what I would expect.
EDIT: or actually cat out cat file_10_0.txt*
so all the other metadata is listed.
for fpath in file_10_0.txt*
do
echo "----"
echo "fpath=$fpath"
cat $fpath
echo "----"
done
----
fpath=file_10_0.txt
aaaaaaaaaa----
----
fpath=file_10_0.txt.stamp_.json
{"timestamp": "2022-12-05T113157.4466-5", "expires": null, "product": ["/home/joncrall/.cache/ubelt/file_10_0.txt"], "mtime": [1670257917.4454195], "size": [10], "hasher": "sha512", "hash": ["4714870aff6c97ca09d135834fdb58a6389a50c11fef8ec4afef466fb60a23ac6b7a9c92658f14df4993d6b40a4e4d8424196afc347e97640d68de61e1cf14b0"]}----
----
fpath=file_10_0.txt.stamp_.json.meta
saving 2022-12-05T113157-5
file_10_0.txt.stamp
None
----
----
fpath=file_10_0.txt.stamp_md5.json
{"timestamp": "2022-12-05T113157.4539-5", "expires": null, "product": ["/home/joncrall/.cache/ubelt/file_10_0.txt"], "mtime": [1670257917.4454195], "size": [10], "hasher": "md5", "hash": ["e09c80c42fda55f9d992e59ca6b3307d"]}----
----
fpath=file_10_0.txt.stamp_md5.json.meta
saving 2022-12-05T113157-5
file_10_0.txt.stamp
md5
md5
None
----
$ sh x
----
fpath=./work-py39/.cache/ubelt/file_10_0.txt
aaaaaaaaaa----
----
fpath=./work-py39/.cache/ubelt/file_10_0.txt.stamp_.json
{"timestamp": "2023-03-01T222407.2808-8", "expires": null, "product": ["/usr/ports/devel/py-ubelt/work-py39/.cache/ubelt/file_10_0.txt"], "mtime": [1677738247.280418], "size": [10], "hasher": "sha512", "hash": ["4714870aff6c97ca09d135834fdb58a6389a50c11fef8ec4afef466fb60a23ac6b7a9c92658f14df4993d6b40a4e4d8424196afc347e97640d68de61e1cf14b0"]}----
----
fpath=./work-py39/.cache/ubelt/file_10_0.txt.stamp_.json.meta
saving 2023-03-01T222407-8
file_10_0.txt.stamp
None
----
Is this still an issue? Now that 1.3 is out, this test now only tests that a RuntimeError is raised when using a hashlib object as an argument, so the error cited in this issue should no longer be possible. However, I'm not sure if it is indicative of an underlying problem or not.
Describe the bug
Desktop (please complete the following information):