Page 1 of 1

x64 (27.00.0912) special property hash returns zeros

Posted: 09 Jul 2025 11:44
by daniel_m
I use prop:#hash.sha1 in a script:

Code: Select all

folderreport("filesrel:{fullname}<tab>{prop:#hash.sha1}<tab>{size br}","c",,"r");
and the hashes of all files is a string of 40 zeros. The only hash algorithm that returns results is CRC32. The others, MD5, SHA1, SHA256, and SHA512 all return a string of zeros corresponding to the hash's expected length. The runtime of the script suggests that XYplorer is actually calculating hashes, just not returning them.

The latest x86 version (27.00.0915) works fine.

Re: x64 (27.00.0912) special property hash returns zeros

Posted: 09 Jul 2025 11:50
by highend

Code: Select all

text property("#hash.sha1");

Code: Select all

The parameter is incorrect.

D:\nvim_x64_working.zip
@daniel_m
I've reformatted your post.
Don't use long script code in inline code tags, they'll break

Re: x64 (27.00.0912) special property hash returns zeros

Posted: 09 Jul 2025 12:00
by daniel_m
Thanks @highend, I will keep this in mind 🙂
Reducing the code to the only non-working part was a good idea 😁

Re: x64 (27.00.0912) special property hash returns zeros

Posted: 09 Jul 2025 12:57
by admin
Thanks, fixed in next beta. :tup: