Page MenuHomePhabricator

ArchiveBot.py sometime leaves some empty lines in itwiki
Closed, ResolvedPublic

Description

The ArchiveBot.py that runs on the Toolforge itwiki tool using Kubernetes - job name itwiki-archivebot, sometime leaves some empty lines. Examples:

The Pywikibot core in use is taken directly from /data/project/shared/pywikipedia/core from Toolforge.


Originally reported by [[Utente:Ignazio Cannata]] from this talk page:

https://it.wikipedia.org/wiki/Discussioni_utente:ItwikiBot#Righe_vuote

Event Timeline

Xqt triaged this task as Lowest priority.Apr 20 2022, 3:01 PM

Change 784705 had a related patch set uploaded (by Xqt; author: Xqt):

[pywikibot/core@master] [bugfix] Remove multiple empty lines from archived page

https://gerrit.wikimedia.org/r/784705

@valerio.bozzolan: what is the Python version used? I think this could be a Python 3.7+ issue.

@valerio.bozzolan: what is the Python version used? I think this could be a Python 3.7+ issue.

The Python version in use in tools-sgebastion-10 is 3.7.3 so I think yep.

Change 784705 merged by jenkins-bot:

[pywikibot/core@master] [bugfix] Remove multiple empty lines from archived page

https://gerrit.wikimedia.org/r/784705