As a quick follow-up, I noticed the issue occurring again today with
another user. Just as a test I copied most of the source wikitext
into a page in my sandbox. I noticed it took about a minute before
the server response came about. Maybe the issue here is simply that
we expect a response sooner? Tried digging through the underlying
code handling the HTTP requests, but didn't have time to dig
thoroughly enough to start finding likely issues.
Cheers,
Morten
On 29 October 2012 10:13, Morten Wang <nettrom(a)gmail.com> wrote:
Ah, yes, I should've added the output I got,
sorry. The logging right
before and after this are showing successful edits, so it appears that
the problem is only related to this large page. The output written to
STDERR/STDOUT for the most recent of the two times the issues happened
is:
WARNING: Waiting 5 seconds before retrying.
WARNING: Waiting 10 seconds before retrying.
WARNING: Waiting 20 seconds before retrying.
WARNING: Waiting 40 seconds before retrying.
WARNING: Waiting 80 seconds before retrying.
WARNING: Waiting 120 seconds before retrying.
WARNING: Waiting 120 seconds before retrying.
WARNING: Waiting 120 seconds before retrying.
WARNING: Waiting 120 seconds before retrying.
WARNING: Waiting 120 seconds before retrying.
Sleeping for 5.0 seconds, 2012-10-23 19:18:07
Sleeping for 4.3 seconds, 2012-10-23 19:18:12
WARNING: Waiting 120 seconds before retrying.
WARNING: Waiting 120 seconds before retrying.
WARNING: Waiting 120 seconds before retrying.
WARNING: Waiting 120 seconds before retrying.
WARNING: Waiting 120 seconds before retrying.
WARNING: Waiting 120 seconds before retrying.
WARNING: Waiting 120 seconds before retrying.
WARNING: Waiting 120 seconds before retrying.
WARNING: Waiting 120 seconds before retrying.
WARNING: Waiting 120 seconds before retrying.
WARNING: Waiting 120 seconds before retrying.
WARNING: Waiting 120 seconds before retrying.
WARNING: Waiting 120 seconds before retrying.
WARNING: Waiting 120 seconds before retrying.
WARNING: Waiting 120 seconds before retrying.
SuggestBot Error: Failed posting recommendations to 'User talk:The
Master of Mayhem'.
Error: '[[User talk:The Master of Mayhem]]: Maximum retries attempted
without success.'
The last two lines are the output of the script catching the
pywikibot.exceptions.PageNotSaved error and writing out the message
contained in the exception.
Thanks for noticing the lack of edits from this user. SuggestBot does
check for inactivity and I just updated our configuration, so this
user won't be getting more suggestions unless they return to
Wikipedia.
Cheers,
Morten
On 27 October 2012 03:10, DeltaQuad Wikipedia <deltaquadwiki(a)gmail.com> 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 <nettrom(a)gmail.com> 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&am…
>> 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
>> Pywikipedia-l(a)lists.wikimedia.org
>>
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
>
>
>
> _______________________________________________
> Pywikipedia-l mailing list
> Pywikipedia-l(a)lists.wikimedia.org
>
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
>