[FIXED] Cosmetic mis-reporting of file sizes after completing upload

Report & help check download problems, corrupted files, badly-named files, bad links etc. (NOT for style & reading complaints)
Post Reply
TheBanjo
Posts: 445
Joined: January 23rd, 2021, 8:19 pm
Location: Melbourne, Australia
Contact:

Post by TheBanjo » August 27th, 2021, 1:13 am

I have noticed that the file uploading utility appears to mis-report the size of a file after it has been uploaded. I haven't tested this to check whether the problem exists if one uploads only a single file, but it certainly occurs if one uploads multiple files. Today, for example, I uploaded two files. Before I performed the uploads, the upload utility reported their sizes as 10.51 MB and 6.92 MB. After I had completed both uploads (I uploaded each file separately) the utility reported their sizes as 10.25 KB (sic) and 6.76 KB (sic). I have noticed that in general the pattern of the misreporting is that the post-upload file size is given in KB, not MB, and that the numeric value given is generally slightly smaller than what it was for the pre-upload file size.

None of this has any functional impact, so in one sense there's no real need to "fix" it, though it's clearly some kind of minor bug in the file upload utility. I am experiencing this behaviour using Chrome 92.0.4515.159 (Official Build) (x86_64) running on MacOS Big Sur 11.5.2.

Kinds regards,

Peter Dann
Peter Dann
But to wallow in your own phrases, to be rejoiced by the savour of your own shrewd pawkiness, to feel your rhythm balanced and yet sober — that is a pleasure beyond most  — Ford Madox Ford, "Some Do Not..."

Availle
LibriVox Admin Team
Posts: 20720
Joined: August 1st, 2009, 11:30 pm
Contact:

Post by Availle » August 27th, 2021, 1:20 am

We are aware of this. :)

It's a bug in the external uploader software that we use, so it's not something we can fix on our end, really.
I've never asked for the size of a recording, but we do need the length of it during cataloging.
Cheers, Ava.
Resident witch of LibriVox, channelling
Granny Weatherwax: "I ain't Nice."

--
AvailleAudio.com

On the move from November 26 - December 10ish. If you smell anything burning, please contact another admin with a fire extinguisher. :)

TheBanjo
Posts: 445
Joined: January 23rd, 2021, 8:19 pm
Location: Melbourne, Australia
Contact:

Post by TheBanjo » August 27th, 2021, 1:29 am

Cool! I'll file that under "Stuff I've learned now I've got old." :D
Peter Dann
But to wallow in your own phrases, to be rejoiced by the savour of your own shrewd pawkiness, to feel your rhythm balanced and yet sober — that is a pleasure beyond most  — Ford Madox Ford, "Some Do Not..."

notartom
Posts: 365
Joined: September 14th, 2012, 4:34 pm

Post by notartom » November 21st, 2021, 10:20 am

Fixed by InTheDesert, with some adjustments from yours truly.

https://github.com/LibriVox/librivox-catalog/commit/5f197826871c81905281b2ad81dbee3a3acc7556

TriciaG
LibriVox Admin Team
Posts: 52591
Joined: June 15th, 2008, 10:30 pm
Location: Toronto, ON (but Minnesotan to age 32)

Post by TriciaG » November 21st, 2021, 11:01 am

Really! How cool! Thanks, gentlemen! 8-)

TheBanjo
Posts: 445
Joined: January 23rd, 2021, 8:19 pm
Location: Melbourne, Australia
Contact:

Post by TheBanjo » November 23rd, 2021, 2:32 am

notartom wrote:
November 21st, 2021, 10:20 am
Fixed by InTheDesert, with some adjustments from yours truly.

https://github.com/LibriVox/librivox-catalog/commit/5f197826871c81905281b2ad81dbee3a3acc7556
Well done! Thank you! :thumbs: :clap:
Peter Dann
But to wallow in your own phrases, to be rejoiced by the savour of your own shrewd pawkiness, to feel your rhythm balanced and yet sober — that is a pleasure beyond most  — Ford Madox Ford, "Some Do Not..."

Post Reply