Hi,
The upload limit on Commons is 4 GB, so there should be any issue. If the script can't upload files bigger than 100 MB, it should be fixed. See how other tools work, as an example (i.e. video2commons).
Regards,
Yann
2017-09-12 14:03 GMT+02:00 Sam Wilson sam@samwilson.id.au:
Yes, this happens when the resultant DjVu file is larger than Commons will allow. I think 100 MB is the limit?
I'm not sure how to get around this. Perhaps we resize the images smaller? But we don't want to do that every time, so perhaps we have to generate the DjVu, see how big it is, and if it's too big resize and build it again? Would that work?
We could make the over-size DjVu available for download, and then the user could use a different method to upload to Commons (is there such a method?).
Suggestions welcome!
A related issue is https://phabricator.wikimedia.org/T161396 I can't find a ticket yet for the request-too-large problem, but I remember seeing one; anyway, I'll create it again, and perhaps Community Tech can look into it.
There's also the slight possibility that IA can start creating DjVus again! Which would be brilliant, but I haven't heard anything about that since Wikimania.
—Sam.
On Tue, 12 Sep 2017, at 04:47 PM, Ilario Valdelli wrote:
[2017-08-02 08:00:49] LOG.CRITICAL: Client error: `POST https://commons.wikimedia.org/w/api.php%60 https://commons.wikimedia.org/w/api.php resulted in a `413 Request Entity Too Large` response: <html> <head><title>413 Request Entity Too Large</title></head> <body bgcolor="white"> <center><h1>413 Request Entity (truncated...) [] []
Or the program is not able to process huge files or, simply, the disk space is finished.
Kind regards
Sent from Mail https://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
*From: *Andrea Zanni zanni.andrea84@gmail.com *Sent: *12 September 2017 10:37 *To: *discussion list for Wikisource, the free library wikisource-l@lists.wikimedia.org *Subject: *[Wikisource-l] IA Upload queue
Dear all,
someone could help understand if we have an issue here? https://tools.wmflabs.org/ia-upload/commons/init
Some librarians uploaded books months ago,
but they were never processed.
Is the tool working, or it simply never signals when it fails?
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient Mail priva di virus. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient <#m_2376373167041964652_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> *_______________________________________________* Wikisource-l mailing list Wikisource-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikisource-l
Wikisource-l mailing list Wikisource-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikisource-l