Page MenuHomePhabricator

Dvorapa (Pavel Dvořák)
Idea generator

Projects

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Thursday

  • Clear sailing ahead.

User Details

User Since
Nov 8 2015, 8:24 AM (472 w, 2 d)
Availability
Available
IRC Nick
Dvorapa
LDAP User
Dvorapa
MediaWiki User
Dvorapa [ Global Accounts ]

Recent Activity

Thu, Nov 21

Prototyperspective awarded T171717: Allow seeing the diff of all changes since last visit directly from Special:Watchlist a Like token.
Thu, Nov 21, 10:22 PM · Edit-Review-Improvements-Integrated-Filters, Growth-Team, MediaWiki-Watchlist

Aug 28 2024

Dvorapa updated the task description for T373539: Crawler no longer crawls every hour since July 5th.
Aug 28 2024, 4:10 PM · Toolhub
Dvorapa updated the task description for T373539: Crawler no longer crawls every hour since July 5th.
Aug 28 2024, 4:10 PM · Toolhub
Dvorapa created T373539: Crawler no longer crawls every hour since July 5th.
Aug 28 2024, 4:07 PM · Toolhub

Mar 9 2024

Dvorapa added a comment to T341919: Support probes in kubernetes webservices.

Could someone point me to how to make the probe not appear in access.log for perl5.36 webservice?

Mar 9 2024, 10:19 AM · Patch-For-Review, Toolforge (Toolforge iteration 06)

Mar 4 2024

Dvorapa closed T356905: Migrate kmlexport from Toolforge GridEngine to Toolforge Kubernetes as Resolved.
Mar 4 2024, 9:02 PM · User-dcaro, Grid-Engine-to-K8s-Migration

Mar 1 2024

Dvorapa added a comment to T356905: Migrate kmlexport from Toolforge GridEngine to Toolforge Kubernetes.

I see, thank you for the explanation. So if the /healthz endpoint is set correctly and probe is pointed to that endpoint using the parameter, this task can be considered solved, right? As the periodical health check happens inside the webservice, there should be no need for any health check script or bash running periodically on grid cronjob, correct?

Mar 1 2024, 7:46 PM · User-dcaro, Grid-Engine-to-K8s-Migration
Dvorapa added a comment to T356905: Migrate kmlexport from Toolforge GridEngine to Toolforge Kubernetes.

If not passed, a simple TCP check will be used instead.

Mar 1 2024, 7:25 PM · User-dcaro, Grid-Engine-to-K8s-Migration
Dvorapa added a comment to T356905: Migrate kmlexport from Toolforge GridEngine to Toolforge Kubernetes.

Sorry for the confusion, of course I've had a typo in my code. That's why the /healthz endpoint was working just for several seconds after restart.

Mar 1 2024, 7:15 PM · User-dcaro, Grid-Engine-to-K8s-Migration
Dvorapa added a comment to T356905: Migrate kmlexport from Toolforge GridEngine to Toolforge Kubernetes.

Also, shouldn't /healthz endpoint be generated automatically by lighttpd, same as mod_status? Or maybe is it a good strategy to use mod_status's endpoint also for probe? Also can I use just root for probe as the whole webapp is just in root?

Mar 1 2024, 6:22 PM · User-dcaro, Grid-Engine-to-K8s-Migration
Dvorapa added a comment to T356905: Migrate kmlexport from Toolforge GridEngine to Toolforge Kubernetes.

Not sure what exactly you want me to do. If I start webservice with the probe, the /healthz endpoint is created somehow automatically (why?) - there is a blank page giving code 200. Just the root starts to give 503 somehow, which is super weird.

Mar 1 2024, 6:13 PM · User-dcaro, Grid-Engine-to-K8s-Migration

Feb 29 2024

Dvorapa added a comment to T356905: Migrate kmlexport from Toolforge GridEngine to Toolforge Kubernetes.

No, I just deactivated the probe as it broke the root of kmlexport webapp (I had to revert back to webservice --backend kubernetes -m 1536Mi perl5.36 start so the users can use it)

Feb 29 2024, 8:29 PM · User-dcaro, Grid-Engine-to-K8s-Migration
Dvorapa added a comment to T356905: Migrate kmlexport from Toolforge GridEngine to Toolforge Kubernetes.
$ webservice stop
Stopping webservice
$ webservice --backend kubernetes -m 1536Mi --health-check-path /healthz perl5.36 start
Starting webservice...
$ curl -w %{http_code} -o /dev/null --silent https://kmlexport.toolforge.org/
503
$ webservice stop
Stopping webservice
$ webservice --backend kubernetes -m 1536Mi perl5.36 start
Starting webservice.....
$ curl -w %{http_code} -o /dev/null --silent https://kmlexport.toolforge.org/
200
Feb 29 2024, 7:40 PM · User-dcaro, Grid-Engine-to-K8s-Migration
Dvorapa added a comment to T356905: Migrate kmlexport from Toolforge GridEngine to Toolforge Kubernetes.

Oh, I see. With the flag, https://kmlexport.toolforge.org/ gives 503. Without the flag, it gives 200, so the flag breaks root :/

Feb 29 2024, 7:27 PM · User-dcaro, Grid-Engine-to-K8s-Migration
Dvorapa added a comment to T356905: Migrate kmlexport from Toolforge GridEngine to Toolforge Kubernetes.

@dcaro Seems like it is not deployed yet? toolforge webservice: error: unrecognized arguments: --health-check-url /healthz

Feb 29 2024, 7:08 PM · User-dcaro, Grid-Engine-to-K8s-Migration
Dvorapa awarded T341919: Support probes in kubernetes webservices a Love token.
Feb 29 2024, 7:00 PM · Patch-For-Review, Toolforge (Toolforge iteration 06)

Feb 17 2024

Dvorapa added a comment to T281628: Add peak memory usage to jobs in sge-jobs.

I there a peak memory usage stat somewhere for k8s toolforge-jobs?

Feb 17 2024, 6:52 PM · Toolforge
Dvorapa added a comment to T322483: Is it possible to run webservice restart in toolforge-jobs?.

I forgot about this one, but the new one I created is much more broadly described and is linked to more related tasks

Feb 17 2024, 6:42 PM · cloud-services-team, Toolforge Jobs framework
Dvorapa merged task T322483: Is it possible to run webservice restart in toolforge-jobs? into T356905: Migrate kmlexport from Toolforge GridEngine to Toolforge Kubernetes.
Feb 17 2024, 6:40 PM · cloud-services-team, Toolforge Jobs framework
Dvorapa merged T322483: Is it possible to run webservice restart in toolforge-jobs? into T356905: Migrate kmlexport from Toolforge GridEngine to Toolforge Kubernetes.
Feb 17 2024, 6:39 PM · User-dcaro, Grid-Engine-to-K8s-Migration

Feb 7 2024

Dvorapa created T356905: Migrate kmlexport from Toolforge GridEngine to Toolforge Kubernetes.
Feb 7 2024, 6:36 PM · User-dcaro, Grid-Engine-to-K8s-Migration

Jan 27 2024

Dvorapa closed T321507: kmlexport can't give a name to items generated from <maplink>s as Declined.

Therefore marking this as declined as this is not an issue with kmlexport and has to be fixed elsewhere (frwiki? kartographer? maplink?)

Jan 27 2024, 9:49 PM · Tools, Maps (Kartographer)
Dvorapa added a comment to T321507: kmlexport can't give a name to items generated from <maplink>s.

I investigated further and it seems fr's Module:Coordinates cann't correctly assign parameter name to geohack url parameter title. Not sure if this is module's fault or kartographer's/maplink's fault though.

Jan 27 2024, 9:37 PM · Tools, Maps (Kartographer)

Jan 18 2024

Dvorapa added a comment to T321507: kmlexport can't give a name to items generated from <maplink>s.

Hi, as mentioned before, KMLexport is just a webscraper. It scans wiki page for geohack links/urls and parses parameters from these urls. One of the geohack url parameters is "title", which is directly used as a name. Therefore if coord/maplink adds this parameter to the geohack url, then KMLexport is using that automatically.

Jan 18 2024, 12:31 AM · Tools, Maps (Kartographer)

Jan 17 2024

Dvorapa closed T319981: Migrate pywikibot from Toolforge GridEngine to Toolforge Kubernetes as Resolved.

Simplified a bit (not using venv branch, rather creating venv from scratch every time) and deployed

Jan 17 2024, 11:39 PM · Pywikibot, Grid-Engine-to-K8s-Migration
Dvorapa closed T319709: Migrate dvorapabot from Toolforge GridEngine to Toolforge Kubernetes as Resolved.

BTW solved

Jan 17 2024, 10:13 PM · Grid-Engine-to-K8s-Migration
Dvorapa added a comment to T319709: Migrate dvorapabot from Toolforge GridEngine to Toolforge Kubernetes.

No need for that, per https://wikitech.wikimedia.org/wiki/Help:Toolforge/Python#Jobs I can just create venv prior and the recreate it every time I need it using a toolforge job

Jan 17 2024, 10:13 PM · Grid-Engine-to-K8s-Migration

Jan 14 2024

Dvorapa claimed T319709: Migrate dvorapabot from Toolforge GridEngine to Toolforge Kubernetes.
Jan 14 2024, 9:55 PM · Grid-Engine-to-K8s-Migration

Jul 11 2023

Dvorapa awarded T249787: Create Docker image for Toolforge that is purpose built to run pywikibot scripts a Love token.
Jul 11 2023, 6:27 PM · cloud-services-team (FY2023/2024-Q1-Q2), Patch-For-Review, User-Raymond_Ndibe, Toolforge Jobs framework, Pywikibot

Dec 17 2022

Dvorapa updated subscribers of T280079: Broken login behavior last few months.

It seems this is the issue with Firefox blocking tracking cookies by default

Dec 17 2022, 7:23 PM · MediaWiki-Core-AuthManager, MediaWiki-extensions-CentralAuth
Dvorapa added a comment to T323413: Category.subcategories(recurse=True) no longer works.

I'll check how it currently behaves at Jan 1st (scheduled task) and close this if working. I'll check if it takes 2-3days as it did in 2021 and before and we'll see

Dec 17 2022, 7:19 PM · Pywikibot

Dec 6 2022

Dvorapa placed T319709: Migrate dvorapabot from Toolforge GridEngine to Toolforge Kubernetes up for grabs.
Dec 6 2022, 9:06 PM · Grid-Engine-to-K8s-Migration

Dec 2 2022

Dvorapa added a comment to T323413: Category.subcategories(recurse=True) no longer works.

(BTW it always took 2-3 days, last time in January 2022. In May 2022 it took 8 days. Now it takes 6 days and still is woking on categories starting with B)

Dec 2 2022, 9:37 PM · Pywikibot
Dvorapa added a comment to T323413: Category.subcategories(recurse=True) no longer works.

The patch seems to help a little bit, it doesn't fail after a minute, but after few hours. And if I pass all exceptions, it is now extremely slow. It takes 6 days for one letter of the alphabet of cswiki categories, previously the whole cswiki was scanned in 2-3 days

Dec 2 2022, 9:26 PM · Pywikibot

Nov 18 2022

Dvorapa added a comment to T323413: Category.subcategories(recurse=True) no longer works.

It seems this commit broke the behavior: rPWBC76cbce788c6db42b5285140d100245c8bdc3cd87, before it it still works as expected

Nov 18 2022, 10:08 PM · Pywikibot
Dvorapa added a comment to T323413: Category.subcategories(recurse=True) no longer works.

Why does Category.members() calls Category.subcategories()? This seems to be completely wrong as subcategories() calls members() internally:

Nov 18 2022, 9:45 PM · Pywikibot
Dvorapa updated the task description for T323413: Category.subcategories(recurse=True) no longer works.
Nov 18 2022, 9:31 PM · Pywikibot
Dvorapa updated the task description for T323413: Category.subcategories(recurse=True) no longer works.
Nov 18 2022, 9:30 PM · Pywikibot
Dvorapa added a comment to T323413: Category.subcategories(recurse=True) no longer works.

Reverting subcategories method to its state from May 2022 fixes the issue:

    def subcategories(self,
	                      recurse: Union[int, bool] = False,
	                      total: Optional[int] = None,
	                      content: bool = False):
	        """
	        Iterate all subcategories of the current category.
	
	        :param recurse: if not False or 0, also iterate subcategories of
	            subcategories. If an int, limit recursion to this number of
	            levels. (Example: recurse=1 will iterate direct subcats and
	            first-level sub-sub-cats, but no deeper.)
	        :param total: iterate no more than this number of
	            subcategories in total (at all levels)
	        :param content: if True, retrieve the content of the current version
	            of each category description page (default False)
	        """
	        if not isinstance(recurse, bool) and recurse:
	            recurse = recurse - 1
	        if not hasattr(self, '_subcats'):
	            self._subcats = []
	            for member in self.site.categorymembers(
	                    self, member_type='subcat', total=total, content=content):
	                subcat = Category(member)
	                self._subcats.append(subcat)
	                yield subcat
	                if total is not None:
	                    total -= 1
	                    if total == 0:
	                        return
	                if recurse:
	                    for item in subcat.subcategories(
	                            recurse, total=total, content=content):
	                        yield item
	                        if total is not None:
	                            total -= 1
	                            if total == 0:
	                                return
	        else:
	            for subcat in self._subcats:
	                yield subcat
	                if total is not None:
	                    total -= 1
	                    if total == 0:
	                        return
	                if recurse:
	                    for item in subcat.subcategories(
	                            recurse, total=total, content=content):
	                        yield item
	                        if total is not None:
	                            total -= 1
	                            if total == 0:
	                                return
Nov 18 2022, 9:27 PM · Pywikibot
Dvorapa updated the task description for T323413: Category.subcategories(recurse=True) no longer works.
Nov 18 2022, 9:10 PM · Pywikibot
Dvorapa created T323413: Category.subcategories(recurse=True) no longer works.
Nov 18 2022, 9:10 PM · Pywikibot

Nov 6 2022

Dvorapa placed T319981: Migrate pywikibot from Toolforge GridEngine to Toolforge Kubernetes up for grabs.
Nov 6 2022, 8:59 AM · Pywikibot, Grid-Engine-to-K8s-Migration
Dvorapa added a comment to T319709: Migrate dvorapabot from Toolforge GridEngine to Toolforge Kubernetes.

Also there is python3-requests missing in Python pods (I know I can avoid that using venv, but this is https requests library, which is usually preferred to be installed locally installed due to security reasons). Would have to relocate my bot's environment to venv

Nov 6 2022, 8:57 AM · Grid-Engine-to-K8s-Migration
Dvorapa added a comment to T319981: Migrate pywikibot from Toolforge GridEngine to Toolforge Kubernetes.

Also there is gzip missing (Pywikibot needs that as well)

Nov 6 2022, 8:53 AM · Pywikibot, Grid-Engine-to-K8s-Migration
Dvorapa updated the task description for T307847: toolforge-jobs should be able to run git with ssh.
Nov 6 2022, 8:46 AM · cloud-services-team, Toolforge Jobs framework
Dvorapa updated the task description for T307847: toolforge-jobs should be able to run git with ssh.
Nov 6 2022, 8:46 AM · cloud-services-team, Toolforge Jobs framework
Dvorapa updated the task description for T322483: Is it possible to run webservice restart in toolforge-jobs?.
Nov 6 2022, 8:45 AM · cloud-services-team, Toolforge Jobs framework
Dvorapa created T322483: Is it possible to run webservice restart in toolforge-jobs?.
Nov 6 2022, 8:44 AM · cloud-services-team, Toolforge Jobs framework
Dvorapa added a parent task for T307847: toolforge-jobs should be able to run git with ssh: T319709: Migrate dvorapabot from Toolforge GridEngine to Toolforge Kubernetes.
Nov 6 2022, 8:36 AM · cloud-services-team, Toolforge Jobs framework
Dvorapa added a subtask for T319709: Migrate dvorapabot from Toolforge GridEngine to Toolforge Kubernetes: T307847: toolforge-jobs should be able to run git with ssh.
Nov 6 2022, 8:36 AM · Grid-Engine-to-K8s-Migration
Dvorapa added a parent task for T307847: toolforge-jobs should be able to run git with ssh: T319981: Migrate pywikibot from Toolforge GridEngine to Toolforge Kubernetes.
Nov 6 2022, 8:35 AM · cloud-services-team, Toolforge Jobs framework
Dvorapa added a subtask for T319981: Migrate pywikibot from Toolforge GridEngine to Toolforge Kubernetes: T307847: toolforge-jobs should be able to run git with ssh.
Nov 6 2022, 8:35 AM · Pywikibot, Grid-Engine-to-K8s-Migration
Dvorapa added a comment to T307847: toolforge-jobs should be able to run git with ssh.

It is a blocker for me as I use ssh to git push on one of my projects

Nov 6 2022, 8:33 AM · cloud-services-team, Toolforge Jobs framework
Dvorapa added a comment to T300222: Implement normalizing MediaWiki link tables.

I see, should be mentioned at the image page and perhaps the redirect from commons should be changed too

Nov 6 2022, 8:29 AM · Wikimedia-Performance-recommendation, Epic, Platform Engineering, MediaWiki-Page-derived-data, Data-Persistence
Dvorapa claimed T319981: Migrate pywikibot from Toolforge GridEngine to Toolforge Kubernetes.
Nov 6 2022, 8:23 AM · Pywikibot, Grid-Engine-to-K8s-Migration
Dvorapa added a comment to T319981: Migrate pywikibot from Toolforge GridEngine to Toolforge Kubernetes.

Last time in May 7th. Result:

Nov 6 2022, 8:23 AM · Pywikibot, Grid-Engine-to-K8s-Migration
Dvorapa added a comment to T319709: Migrate dvorapabot from Toolforge GridEngine to Toolforge Kubernetes.

Last time in May 7th. Result:

Nov 6 2022, 8:19 AM · Grid-Engine-to-K8s-Migration
Dvorapa added a comment to T319709: Migrate dvorapabot from Toolforge GridEngine to Toolforge Kubernetes.

If I remember correctly, last time I tried there was git not working properly in K8s, which is a blocker for DvorapaBot

Nov 6 2022, 8:07 AM · Grid-Engine-to-K8s-Migration
Dvorapa added a comment to T319981: Migrate pywikibot from Toolforge GridEngine to Toolforge Kubernetes.

Thanks @Multichill. Anyway, I check periodically every 3-6 months if the transition is possible, but there are still some issues with K8s and it waits for them to be resolved.

Nov 6 2022, 8:06 AM · Pywikibot, Grid-Engine-to-K8s-Migration
Dvorapa added a comment to T319709: Migrate dvorapabot from Toolforge GridEngine to Toolforge Kubernetes.

It waits for some issues with K8s to be resolved. I check periodically every 3-6 months if the transition is possible.

Nov 6 2022, 8:00 AM · Grid-Engine-to-K8s-Migration

Nov 5 2022

Dvorapa added a parent task for T322479: pwb.py won't run userscripts: T320851: pwb console script does not work when pip installed from git.
Nov 5 2022, 10:28 PM · Pywikibot
Dvorapa added a subtask for T320851: pwb console script does not work when pip installed from git: T322479: pwb.py won't run userscripts.
Nov 5 2022, 10:28 PM · Pywikibot
Dvorapa added a comment to T322479: pwb.py won't run userscripts.

It looks like rPWBC935f33205b730677a2be46200e021868995cb98a introduced this issue

Nov 5 2022, 10:24 PM · Pywikibot
Dvorapa added a comment to T322479: pwb.py won't run userscripts.

Per wrapper.py docs, it should still be possible:
https://phabricator.wikimedia.org/diffusion/PWBC/browse/master/pywikibot/scripts/wrapper.py$9

Nov 5 2022, 10:21 PM · Pywikibot
Dvorapa created T322479: pwb.py won't run userscripts.
Nov 5 2022, 10:14 PM · Pywikibot

Sep 18 2022

Dvorapa added a comment to T300222: Implement normalizing MediaWiki link tables.

Hi, just a reminder to update the schema in https://commons.wikimedia.org/w/index.php?title=File:MediaWiki_database_schema_latest.svg&redirect=no when the work is finished (or perhaps also after each of the normalizations?)

Sep 18 2022, 4:44 PM · Wikimedia-Performance-recommendation, Epic, Platform Engineering, MediaWiki-Page-derived-data, Data-Persistence

May 12 2022

Dvorapa updated subscribers of T274236: Have a process to regularly review projects listed on mw:New_Developers.

I think you've summarized my thoughts pretty well. From my point of view, there came nothing good from mentoring novices, who never saw Pywikibot before and never used it on a wiki. Just losing time with those basically, as no one stayed with Pywikibot long-term and for me personally it was just too much energy for almost nothing. I had to teach them basics - how to use Pywikibot's scripts, Gerrit, Phabricator, Git, command line, wiki, Python, ... and what for?
I remember more interest at the 2019 Prague Wikimedia Hackathon came from people already using it / planning to use it on their task/project/wiki.
I am now starting to think that this might be better audience to reach as they are already familiar / getting familiar with Pywikibot and also might be more willing to stay contributing to Pywikibot, once they first try. Me and @matej_suchanek are good examples of such Pywikibot users, who started to contribute to the project as well. Such people might even need less mentoring as they dig in Pywikibot docs by themselves. So I would propose targetting such people / communities.

May 12 2022, 10:13 PM · Developer-Advocacy (Apr-Jun 2022)

May 8 2022

Dvorapa updated subscribers of T307847: toolforge-jobs should be able to run git with ssh.
May 8 2022, 5:28 PM · cloud-services-team, Toolforge Jobs framework

May 7 2022

Dvorapa added a comment to T307847: toolforge-jobs should be able to run git with ssh.

So my options are https or OAuth. Neither convenient :/

May 7 2022, 10:32 PM · cloud-services-team, Toolforge Jobs framework
Dvorapa updated subscribers of T307847: toolforge-jobs should be able to run git with ssh.
May 7 2022, 8:58 PM · cloud-services-team, Toolforge Jobs framework
Dvorapa created T307847: toolforge-jobs should be able to run git with ssh.
May 7 2022, 8:56 PM · cloud-services-team, Toolforge Jobs framework

Feb 8 2022

Dvorapa added a comment to T301185: replace.py breaks articles.

Oh, I found the issue, you have already solved it in the new commit :)

Feb 8 2022, 8:48 PM · Pywikibot-replace.py, Pywikibot
Dvorapa added a comment to T301185: replace.py breaks articles.

@Xqt no problem. Pretty weird, I think there might have been an issue within command line parameter parsing code section. Have you found the cause already?

Feb 8 2022, 8:21 PM · Pywikibot-replace.py, Pywikibot

Feb 7 2022

Dvorapa updated the task description for T301185: replace.py breaks articles.
Feb 7 2022, 11:04 PM · Pywikibot-replace.py, Pywikibot
Dvorapa added a comment to T299306: -mysqlquery option of replace.py is not recognized.

It seems that the commit broke the basic functionality of the replace.py script.

Feb 7 2022, 10:34 PM · Patch-For-Review, Pywikibot-replace.py, Pywikibot-pagegenerators.py, Pywikibot
Dvorapa added a comment to T299306: -mysqlquery option of replace.py is not recognized.

Reverted in https://gerrit.wikimedia.org/r/c/pywikibot/core/+/760553 (see T301185)

Feb 7 2022, 10:33 PM · Patch-For-Review, Pywikibot-replace.py, Pywikibot-pagegenerators.py, Pywikibot
Dvorapa added a comment to T301185: replace.py breaks articles.

https://gerrit.wikimedia.org/r/c/pywikibot/core/+/760553

Feb 7 2022, 10:33 PM · Pywikibot-replace.py, Pywikibot
Dvorapa reopened T299306: -mysqlquery option of replace.py is not recognized as "Open".
Feb 7 2022, 10:33 PM · Patch-For-Review, Pywikibot-replace.py, Pywikibot-pagegenerators.py, Pywikibot
Dvorapa closed T301185: replace.py breaks articles as Resolved.
Feb 7 2022, 10:33 PM · Pywikibot-replace.py, Pywikibot
Dvorapa added a comment to T301185: replace.py breaks articles.

Identified rPWBC15b2db3906276030b8b475c66c3d2ad4ce8eddc0 as a source of trouble. Reverting for now

Feb 7 2022, 10:17 PM · Pywikibot-replace.py, Pywikibot
Dvorapa moved T301185: replace.py breaks articles from Backlog to Bugs on the Pywikibot-replace.py board.
Feb 7 2022, 9:09 PM · Pywikibot-replace.py, Pywikibot
Dvorapa updated the task description for T301185: replace.py breaks articles.
Feb 7 2022, 9:08 PM · Pywikibot-replace.py, Pywikibot
Dvorapa renamed T301185: replace.py breaks articles from replace.py doesn't work anymore to replace.py breaks articles.
Feb 7 2022, 9:07 PM · Pywikibot-replace.py, Pywikibot
Dvorapa updated subscribers of T301185: replace.py breaks articles.
Feb 7 2022, 9:03 PM · Pywikibot-replace.py, Pywikibot
Dvorapa triaged T301185: replace.py breaks articles as High priority.
Feb 7 2022, 9:03 PM · Pywikibot-replace.py, Pywikibot
Dvorapa updated the task description for T301185: replace.py breaks articles.
Feb 7 2022, 9:03 PM · Pywikibot-replace.py, Pywikibot
Dvorapa created T301185: replace.py breaks articles.
Feb 7 2022, 9:02 PM · Pywikibot-replace.py, Pywikibot

Dec 9 2021

Dvorapa added a comment to T216741: MySQL page generator throws error on sock.close() on toolforge.

We can either ignore dependency check in Toolforge for pymysql, or wait until Debian devs add 0.7.11 to Stretch (never gonna happen), or wait until Toolforge updates to Buster (hopefully soon), or go back and revert the change, or release 7.0.0 after Toolforge updates to Buster. No solution is ideal but every solution is better than the current state.

Dec 9 2021, 9:51 PM · Patch-For-Review, Pywikibot-pagegenerators.py, Pywikibot, Toolforge
Dvorapa reopened T216741: MySQL page generator throws error on sock.close() on toolforge as "Open".
Dec 9 2021, 9:43 PM · Patch-For-Review, Pywikibot-pagegenerators.py, Pywikibot, Toolforge
Dvorapa added a comment to T216741: MySQL page generator throws error on sock.close() on toolforge.

Solved upstream already.

Dec 9 2021, 9:41 PM · Patch-For-Review, Pywikibot-pagegenerators.py, Pywikibot, Toolforge
Dvorapa added a comment to T216741: MySQL page generator throws error on sock.close() on toolforge.
WARNING: /mnt/nfs/labstore-secondary-tools-project/dvorapabot/pywikibot/pywikibot/pagegenerators.py:2815: FutureWarning: pymysql package release 0.7.10 is deprecated since release 7.0.0; use pymysql >= 0.7.11 instead.
Dec 9 2021, 9:37 PM · Patch-For-Review, Pywikibot-pagegenerators.py, Pywikibot, Toolforge

Jun 15 2021

Dvorapa updated the task description for T284939: Toolforge bots stopped working.
Jun 15 2021, 9:06 PM · Pywikibot
Dvorapa updated the task description for T285015: add_text.py fails critically on Toolforge.
Jun 15 2021, 9:05 PM · Patch-For-Review, Pywikibot-Scripts, Pywikibot
Dvorapa updated the task description for T285015: add_text.py fails critically on Toolforge.
Jun 15 2021, 8:56 PM · Patch-For-Review, Pywikibot-Scripts, Pywikibot
Dvorapa created T285015: add_text.py fails critically on Toolforge.
Jun 15 2021, 8:54 PM · Patch-For-Review, Pywikibot-Scripts, Pywikibot
Dvorapa added a comment to T284939: Toolforge bots stopped working.

As I said earlier, we can do a workaround and "install" setuptools into a folder inside pywikibot folder, like we do with mwparserfromhell. I'll test my suggestion and if it will work, we don't have to revert anything.

As a workaround we could temporarily install newer setuptools into /shared/pywikibot/setuptools, like we do with mwparserfromhell. Not sure if it will work this way though.

Jun 15 2021, 8:50 PM · Pywikibot
Dvorapa added a comment to T284939: Toolforge bots stopped working.

As I said earlier, we can do a workaround and "install" setuptools into a folder inside pywikibot folder, like we do with mwparserfromhell. I'll test my suggestion and if it will work, we don't have to revert anything.

Jun 15 2021, 6:30 PM · Pywikibot

Jun 14 2021

Dvorapa added a comment to T284299: Install setuptools >= 49.4.0 on Toolforge.

As a workaround we could temporarily install newer setuptools into /shared/pywikibot/setuptools, like we do with mwparserfromhell. Not sure if it will work this way though.

Jun 14 2021, 7:02 PM · cloud-services-team, Toolforge (Software install/update), Pywikibot
Dvorapa added a comment to T284299: Install setuptools >= 49.4.0 on Toolforge.
Jun 14 2021, 5:21 PM · cloud-services-team, Toolforge (Software install/update), Pywikibot
Dvorapa merged T284939: Toolforge bots stopped working into T284299: Install setuptools >= 49.4.0 on Toolforge.
Jun 14 2021, 5:14 PM · cloud-services-team, Toolforge (Software install/update), Pywikibot