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'.
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<mastigm(a)gmail.com> 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</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 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'. 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'. 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'. 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'. 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'. 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<nettrom(a)gmail.com
<mailto:nettrom@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…
<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
Pywikipedia-l(a)lists.wikimedia.org
<mailto:Pywikipedia-l@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
_______________________________________________
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