Last modified: 2013-07-25 07:06:37 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T43138, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41138 - Timeout when trying to move a translatable page
Timeout when trying to move a translatable page
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
master
All All
: Normal major (vote)
: ---
Assigned To: Niklas Laxström
https://meta.wikimedia.org/wiki/Speci...
:
Depends on: 41278
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-17 22:54 UTC by Tilman Bayer
Modified: 2013-07-25 07:06 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Tilman Bayer 2012-10-17 22:54:57 UTC
While trying to move a large translatable page on Meta, I get a "Wikimedia Foundation error" page, with the following detailed message:

--

If you report this error to the Wikimedia System Administrators, please include the details below.
Request: POST http://meta.wikimedia.org/wiki/Special:MovePage/Research:Wikipedia_Editor_Survey_August_2012/Questions, from 208.80.154.8 via cp1007.eqiad.wmnet (squid/2.7.STABLE9) to 10.64.0.132 (10.64.0.132)
Error: ERR_READ_TIMEOUT, errno [No Error] at Wed, 17 Oct 2012 22:20:08 GMT

--

The error is reproducible by going to
https://meta.wikimedia.org/wiki/Special:MovePage/Research:Wikipedia_Editor_Survey_August_2012/Questions , entering a new page name and clicking the "Check if the move is possible" button. It has occurred every time I tried to move this page (three times over a time of more than a month). The page currently has around 274 translation units, and completed translations in around 11 languages, i.e. the move would concern over 3000 translation unit pages. The error page appears around 30 seconds after clicking the button (as a very rough estimate).

The move page says "Failures will be logged in the page translation log and they need to be repaired by hand", but there is no entry about the failed action in https://meta.wikimedia.org/wiki/Special:Log/pagetranslation (nor did it leave a trace anywhere else on the wiki, including https://meta.wikimedia.org/w/index.php?title=Special%3ALog&type=move ).
Comment 1 Niklas Laxström 2012-10-23 11:51:57 UTC
https://gerrit.wikimedia.org/r/#/c/29431/
Comment 2 Niklas Laxström 2012-11-10 04:31:34 UTC
Please test whether that change has fixed the problem.
Comment 3 Nemo 2012-11-11 18:41:11 UTC
(In reply to comment #2)
> Please test whether that change has fixed the problem.

Related?

PHP fatal error in /usr/local/apache/common-local/php-1.21wmf3/extensions/Translate/tag/PageTranslationHooks.php line 248:
Call to a member function getSourceLanguage() on a non-object 

Wikimedia error got when trying to properly move the page mentioned on bug 42025. Move seems to have failed (unless it's still in job queue).
Comment 4 Tilman Bayer 2012-11-14 09:24:37 UTC
(In reply to comment #2)
> Please test whether that change has fixed the problem.

Unfortunately it hasn't. I get the same error when trying the move from above (https://meta.wikimedia.org/wiki/Special:MovePage/Research:Wikipedia_Editor_Survey_August_2012/Questions):

Request: POST http://meta.wikimedia.org/wiki/Special:MovePage/Research:Wikipedia_Editor_Survey_August_2012/Questions, from 208.80.154.8 via cp1001.eqiad.wmnet (squid/2.7.STABLE9) to 10.64.0.132 (10.64.0.132)
Error: ERR_READ_TIMEOUT, errno [No Error] at Wed, 14 Nov 2012 09:18:51 GMT
Comment 5 Niklas Laxström 2012-11-14 11:43:21 UTC
It's probably depending on proper fix of 41278 then.
Comment 6 Nemo 2012-12-13 15:54:17 UTC
I can't test this bug now because for some reason it finds only 29 pages to move (only translation pages, no translation unit pages), which of course avoids the timeout...
Comment 7 Niklas Laxström 2012-12-13 17:22:34 UTC
Has it been partially moved?

Lqt is not enabled on meta so I it can't be causing the slowness :(.

On the other hand Seddon just moved successfully some other page, but I don't know what is the limit of pages causing timeout.
Comment 8 Nemo 2012-12-13 17:27:48 UTC
(In reply to comment #7)
> Has it been partially moved?

I don't think so, all the pages seem there.

> Lqt is not enabled on meta so I it can't be causing the slowness :(.

Never underestimate the power of the brokenness in LQT. :p 

> 
> On the other hand Seddon just moved successfully some other page, but I don't
> know what is the limit of pages causing timeout.

That page was any close to 3000 translation units like this.
Comment 9 Siebrand Mazeland 2013-03-05 09:19:32 UTC
I think fixing this no longer depends on bug 42244, and removing the "always UPDATE" from LQT basically resolved this issue. So I'm closing it.

Feel free to reopen with actionable new information if there remains anything.
Comment 10 Nemo 2013-03-05 10:24:47 UTC
There's no indication that this was fixed, comment 6 is still current.
However, this time I was less wise and – hoping this had really been fixed – I confirmed the move, which wasn't completed nor logged, so we're now in a situation like bug 44865.
Is the translatable page corrupt forever?
Comment 11 Niklas Laxström 2013-03-19 12:22:06 UTC
I haven't been able to reproduce this locally. I need help to debug this on wmf servers.
Comment 12 Siebrand Mazeland 2013-03-19 16:17:01 UTC
We're scheduling this for the current sprint. It's very hard to reproduce. We are going to do that on test2 initially. If we cannot reproduce there, we may have to test it in a production wiki.
Comment 13 Siebrand Mazeland 2013-03-27 09:44:58 UTC
Gerrit change #56115
Comment 14 Siebrand Mazeland 2013-03-27 09:52:22 UTC
Patch has been merged. We're going to test on test.wikipedia.org with a page with 23 translations and 605 sub pages.
Comment 15 Nemo 2013-03-27 14:21:36 UTC
(In reply to comment #14)
> Patch has been merged. We're going to test on test.wikipedia.org with a page
> with 23 translations and 605 sub pages.

About 3 hours later, it got moved. <https://test.wikipedia.org/w/index.php?title=Special:Contributions/FuzzyBot&dir=prev&offset=20130327125000&limit=632&target=FuzzyBot>
I purged the translatable page and all the translation pages appeared on the language bar, although marked as empty (normal; translation percentages usually takes a couple weeks to update, in my experience), and translations are there.
When this is deployed on Meta and I figure how to reverse the partial move caused by bug 44865 (see comment 10), I'll test with the page from comment 0.
Comment 16 Nemo 2013-04-07 14:30:13 UTC
Comment 0 page fixed as well, all pages moved smoothly (4837 moves in total)
<https://meta.wikimedia.org/w/index.php?title=Special:Contributions/FuzzyBot&dir=prev&offset=20130406204951&limit=4837&target=FuzzyBot> although I still don't see the completion message in [[m:Special:Log/pagetranslation]].

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links