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` 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 for Windows 10

 

From: Andrea Zanni
Sent: 12 September 2017 10:37
To: discussion list for Wikisource, the free library
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?

 



Mail priva di virus. www.avast.com

_______________________________________________
Wikisource-l mailing list
Wikisource-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikisource-l