Hi,
In the last few days my bots get throttled for minutes and minutes (up
to 10, on the worse instances) on basically all sites I use (ro.wp,
commons, wikidata). I knew about write throttle and I use the default
setting there, but it seems that now I get throttled on read
operations as well. I use pwb from git, currently synced at
0924e1655ef9e61c86e98884226b18d8250da368.
I checked the server lag and it is 0 most times I see the throttling.
Any idea why do I get throttled for such long periods of time?
Thanks,
Strainu
Together with the last Python 2 release from April, 2020, Pywikibot team
will release the **last version that supports Python 2**. We created a
**python2" tag** marking the version, so you can continue running your
Python 2 scripts using this tag, if you really need to.
After that version, Pywikibot is not going to receive any further patches
and bug fixes related to Python 2. Its code is going to be cleaned from
Python 2 specific functions, patches, deprecations and other stuff, so make
sure you'll use this tag if you still want to run Pywikibot using Python 2.
Pywikibot team strongly recommends to migrate your scripts to Python 3. To
make it happen, you can use Python 2to3 script installed by default with
Python 2.6+, see https://docs.python.org/2/library/2to3.html. You can also
just try to run your script using Python 3 (the "-simulate" parameter could
be handy) and fix all the issues. If you encounter problems with the
migration, you can always ask us here:
https://phabricator.wikimedia.org/T242120
Best regards,
Martin Urbanec and Dvorapa
_______________________________________________
pywikibot-announce mailing list
pywikibot-announce(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-announce
This just started today on the version of pywikibot used on the Wikimedia Toolforge
Traceback (most recent call last):
File "/var/spool/gridengine/execd/tools-sgewebgrid-generic-0902/job_scripts/451453", line 26, in <module>
import pywikibot
File "/shared/pywikipedia/core/pywikibot/__init__.py", line 59, in <module>
import pywikibot.textlib as textlib
File "/shared/pywikipedia/core/pywikibot/textlib.py", line 45, in <module>
import mwparserfromhell
File "/shared/pywikipedia/core/mwparserfromhell/__init__.py", line 34, in <module>
from . import (definitions, nodes, parser, smart_list, string_mixin,
File "/shared/pywikipedia/core/mwparserfromhell/nodes/__init__.py", line 32, in <module>
from ..string_mixin import StringMixIn
File "/shared/pywikipedia/core/mwparserfromhell/string_mixin.py", line 86
yield from self.__unicode__()
^
SyntaxError: invalid syntax
--
Russell Blau
russblau(a)imapmail.org
-------- Forwarded Message --------
Subject: [Wikitech-l] Wikimedia Hackathon 2020: Registration Open!
Date: Thu, 9 Jan 2020 10:35:39 -0800
From: Rachel Farrand <rfarrand(a)wikimedia.org>
Reply-To: Wikimedia developers <wikitech-l(a)lists.wikimedia.org>
To: Wikimedia developers <wikitech-l(a)lists.wikimedia.org>
On behalf of Open Labs Albania <https://openlabs.cc/en/> and the Wikimedia
Foundation Community Events Team we are pleased to announce that
registration
for the Wikimedia Hackathon 2020
<https://www.mediawiki.org/wiki/Wikimedia_Hackathon_2020/Register> is now
open for both scholarships and regular attendees!
The hackathon will be held at OFIÇINA <http://www.oficina.al/> in Tirana,
Albania between 9-11 May 2020 (please note that this is a Saturday through
Monday instead of the usual Friday - Sunday). Additionally, we encourage
attendees to stay in Tirana and attend the 7th annual Open Source
Conference Albania (OSCAL) <https://oscal.openlabs.cc/> which will be in
the same venue on May 16th and 17th, and will have a Wikimedia Track and
mission aligned organizations participating.
We have identified two focus areas
<https://www.mediawiki.org/wiki/Wikimedia_Hackathon_2020#Hackathon_Focus_Are…>
for the event which we will continue to refine and clarify over the next
months. As usual, we welcome participants who plan to work on or learn
about any project that they like related to any area of Wikimedia
Technology.
If you have any questions or comments please contact:
wiki-hackathon(a)openlabs.cc Otherwise, please continue to follow our program
and organizational developments on Wikimedia Hackathon 2020 on Mediawiki
<https://www.mediawiki.org/wiki/Wikimedia_Hackathon_2020>.
Please help us by forwarding this email to relevant lists and looking
forward to see you in Tirana!
--
Rachel Farrand
Senior Program Manager
Events Team
Wikimedia Foundation
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l