Looks like this might be an issue with large amounts of template transclusions, see Bugzilla bug #19262 : https://bugzilla.wikimedia.org/show_bug.cgi?id=19262
That suggests it's unrelated to Pywikibot, so I'll keep an eye on this bug and not pursue the issue further for now. Cheers, Morten On 5 November 2012 07:34, masti <[email protected]> wrote: > my example below is using newest trunk > so yes it affects trunk also > > masti > > > On 10/31/2012 04:11 PM, Morten Wang wrote: > >> I was curious whether this issue would just happen to the rewrite >> branch, which I mostly use, or if it also concerns trunk. Here's a >> quick test I did using trunk (revision 10632): >> >> Updating page [[User:Nettrom/sandbox/**suggestions]] via API >> HTTPError: 504 Gateway Time-out >> WARNING: Could not open >> 'http://en.wikipedia.org/w/**api.php<http://en.wikipedia.org/w/api.php> >> '. >> Maybe the server is down. Retrying in 1 minutes... >> >> I did some simple editing tests using my browser, where it appears >> that it takes the server about 48s to respond with the saved page. >> >> >> Cheers, >> Morten >> >> On 30 October 2012 16:45, masti<[email protected]> wrote: >> >>> that behaviour happens quite often. >>> In fact the page i saved but the bot still tries. >>> n example of my bot trying to save an edit to page [[Polska]] on >>> pl.wikipedia >>> >>> Polska<<< >>>>>> >>>>> - Obecnie Ruch Palikota ma 44 posłów, ponieważ posłowie z innych partii >>> przenieśli się do tego ugrupowania.<ref name="Ruch >>> Palikota">http://www.**ruchpalikota.org.pl/ludzie<http://www.ruchpalikota.org.pl/ludzie> >>> </**ref> >>> + Obecnie Ruch Palikota ma 44 posłów, ponieważ posłowie z innych partii >>> przenieśli się do tego ugrupowania.<ref name="Ruch >>> Palikota">[http://www.**ruchpalikota.org.pl/ludzie<http://www.ruchpalikota.org.pl/ludzie>Ruch >>> Palikota - Nowoczesne >>> Państwo<!-- Tytuł wygenerowany przez bota -->]</ref> >>> >>> Updating page [[Polska]] via API >>> timed out >>> WARNING: Could not open >>> 'http://pl.wikipedia.org/w/**api.php<http://pl.wikipedia.org/w/api.php>'. >>> Maybe the >>> server or your connection is down. Retrying in 1 minutes... >>> timed out >>> WARNING: Could not open >>> 'http://pl.wikipedia.org/w/**api.php<http://pl.wikipedia.org/w/api.php>'. >>> Maybe the >>> server or your connection is down. Retrying in 2 minutes... >>> <urlopen error timed out> >>> WARNING: Could not open >>> 'http://pl.wikipedia.org/w/**api.php<http://pl.wikipedia.org/w/api.php>'. >>> Maybe the >>> server or your connection is down. Retrying in 4 minutes... >>> timed out >>> WARNING: Could not open >>> 'http://pl.wikipedia.org/w/**api.php<http://pl.wikipedia.org/w/api.php>'. >>> Maybe the >>> server or your connection is down. Retrying in 8 minutes... >>> timed out >>> WARNING: Could not open >>> 'http://pl.wikipedia.org/w/**api.php<http://pl.wikipedia.org/w/api.php>'. >>> Maybe the >>> server or your connection is down. Retrying in 16 minutes... >>> >>> masti >>> >>> >>> >>> On 10/27/2012 10:10 AM, DeltaQuad Wikipedia wrote: >>> >>>> >>>> Do you have any logs from the output? It might indicate if the server >>>> said the edit failed, but it didn't in actuality. It could also be an >>>> issue with the internet connection your bot has, as dropouts would cause >>>> the connection to retry. Though I'm not familiar with the total internal >>>> workings of pywikipedia, I can try and help. 300kb+ is big, but I would >>>> like to think the servers could still handle it. You might want to put >>>> adding notices to that users page on hold though, for the sake of the >>>> size and them not editing in 2 months. >>>> >>>> DeltaQuad >>>> English Wikipedia Administrator and Checkuser >>>> >>>> On Fri, Oct 26, 2012 at 2:33 PM, Morten Wang<[email protected] >>>> <mailto:[email protected]>> wrote: >>>> >>>> Hi all, >>>> >>>> I noticed that SuggestBot's struggled with saving a user page >>>> earlier >>>> this week, see >>>> >>>> http://en.wikipedia.org/w/**index.php?title=User_talk:The_** >>>> Master_of_Mayhem&action=**history<http://en.wikipedia.org/w/index.php?title=User_talk:The_Master_of_Mayhem&action=history> >>>> >>>> <http://en.wikipedia.org/w/**index.php?title=User_talk:The_** >>>> Master_of_Mayhem&action=**history<http://en.wikipedia.org/w/index.php?title=User_talk:The_Master_of_Mayhem&action=history> >>>> > >>>> Notice the larger number of saves that have a diff size of 0 >>>> bytes. >>>> >>>> I suspect it's due to the size of the page, 300+kB, is this a >>>> typical >>>> problem? If not I can start digging to see if I can figure out >>>> what's >>>> going on. If it is a common problem, what are some typical ways of >>>> solving it? Just checking the page size and skip/abort if it's too >>>> large? >>>> >>>> >>>> Regards, >>>> Morten >>>> >>>> ______________________________**_________________ >>>> Pywikipedia-l mailing list >>>> [email protected].**org<[email protected]> >>>> >>>> <mailto:Pywikipedia-l@lists.**wikimedia.org<[email protected]> >>>> > >>>> >>>> https://lists.wikimedia.org/**mailman/listinfo/pywikipedia-l<https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l> >>>> >>>> >>>> >>>> >>>> >>>> ______________________________**_________________ >>>> Pywikipedia-l mailing list >>>> [email protected].**org <[email protected]> >>>> https://lists.wikimedia.org/**mailman/listinfo/pywikipedia-l<https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l> >>>> >>> >>> >>> >>> ______________________________**_________________ >>> Pywikipedia-l mailing list >>> [email protected].**org <[email protected]> >>> https://lists.wikimedia.org/**mailman/listinfo/pywikipedia-l<https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l> >>> >> >> ______________________________**_________________ >> Pywikipedia-l mailing list >> [email protected].**org <[email protected]> >> https://lists.wikimedia.org/**mailman/listinfo/pywikipedia-l<https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l> >> > > > ______________________________**_________________ > Pywikipedia-l mailing list > [email protected].**org <[email protected]> > https://lists.wikimedia.org/**mailman/listinfo/pywikipedia-l<https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l> >
_______________________________________________ Pywikipedia-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
