[Pywikipedia-bugs] [Maniphest] [Commented On] T364393: pywikibot does not handle properly 502 Server Error reading pages

2024-05-09 Thread Masti
Masti added a comment. In T364393#9783360 <https://phabricator.wikimedia.org/T364393#9783360>, @Xqt wrote: > @Masti: I assumed the -start:! tested it on several wikis but didn’t run into this issue. I made a patch and both server errors should lead to retry loops. > >

[Pywikipedia-bugs] [Maniphest] [Commented On] T364393: pywikibot does not handle properly 502 Server Error reading pages

2024-05-09 Thread Masti
Masti added a comment. In T364393#9782642 <https://phabricator.wikimedia.org/T364393#9782642>, @Xqt wrote: > @Masti: What was your pagegenerator option when running your script? -start:'!' this and similar scripts sometimes run OK. but crash from time to time.

[Pywikipedia-bugs] [Maniphest] [Commented On] T364393: pywikibot does not handle properly 502 Server Error reading pages

2024-05-07 Thread Masti
Masti added a comment. I increased the timeout to 120s but it crashed again with same error. TASK DETAIL https://phabricator.wikimedia.org/T364393 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Masti Cc: Xqt, Aklapper, Masti, pywikibot-bugs-list

[Pywikipedia-bugs] [Maniphest] [Commented On] T364393: pywikibot does not handle properly 502 Server Error reading pages

2024-05-07 Thread Masti
Masti added a comment. I will test and come back with the answer. Unfortunately it is not easy replicated so one have to wait till it happens. TASK DETAIL https://phabricator.wikimedia.org/T364393 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences

[Pywikipedia-bugs] [Maniphest] [Created] T364393: pywikibot does not handle properly 502 Server Error reading pages

2024-05-07 Thread Masti
Masti created this task. Masti added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION while running pywikibot on pl.wikipedia I quite often encounter code crashes after page generator encounters 502 Server Error from wikimedia API

[pywikibot] Re: Bots and tools need to upgrade to Pywikibot 6.6.1

2021-09-23 Thread masti
for them to keep up. I have bots that run on very outdated code and they do run fine. That means that forcing updates is not necessary. masti On 9/22/21 8:53 PM, Kunal Mehta wrote: Hi everyone, Bots and tools using Pywikibot must upgrade to version 6.6.1[1] otherwise they will break when

[Pywikipedia-bugs] [Maniphest] [Commented On] T277607: unable to login due to CAPTCHA while switching users

2021-03-16 Thread Masti
Masti added a comment. Those bots are autoconfirmed. .admin bot has even an admin flag TASK DETAIL https://phabricator.wikimedia.org/T277607 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Masti Cc: Aklapper, pywikibot-bugs-list, Masti, Jyoo1011

[Pywikipedia-bugs] [Maniphest] [Retitled] T277607: unable to login due to CAPTCHA while switching users

2021-03-16 Thread Masti
Masti renamed this task from "unable to login du to CAPTCHA while switching users" to "unable to login due to CAPTCHA while switching users". TASK DETAIL https://phabricator.wikimedia.org/T277607 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpre

[Pywikipedia-bugs] [Maniphest] [Created] T277607: unable to login du to CAPTCHA while swithching users

2021-03-16 Thread Masti
Masti created this task. Masti added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION I run scripts with 2 accounts: bot and admin bot Both accounts have botpasswords defined $ python3 pwb.py login Logged in on wikipedia:pl

Re: [pywikibot] Getting started with pywikibot

2020-10-24 Thread masti
Hi Larry, ad 2. yes. use -cat:categoryName or -catr:categoryName as generator. look in pagegenarators.py script. It gives all generators you can use when starting script. masti On 19.08.2020 01:39, Larry Martell wrote: On Mon, Aug 17, 2020 at 11:43 PM wrote: Hi Larry, there are two way

Re: [pywikibot] checking links against SpamFilter

2020-10-24 Thread masti
thanks, that's how I've done it. I tought there is maybe an ready class. masti On 24.10.2020 13:44, John wrote: https://en.wikipedia.org/w/api.php?action=""> On Sat, Oct 24, 2020 at 2:29 A

[pywikibot] checking links against SpamFilter

2020-10-24 Thread masti
Hi, is there a way to check if the link will be catched by SpamFilter without saving the page? I am doing some link statistics and cannot save the results page due to global SpamFilter. masti ___ pywikibot mailing list pywikibot

[pywikibot] WikiData read constraints

2020-05-22 Thread masti
for 11.4 seconds, 2020-05-22 15:06:31 Sleeping for 12.9 seconds, 2020-05-22 15:06:42 Sleeping for 14.3 seconds, 2020-05-22 15:06:56 masti ___ pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot

[Pywikipedia-bugs] [Maniphest] [Commented On] T242081: Pywikibot fails to access Wikidata due to high maxlag lately

2020-04-15 Thread Masti
Masti added a comment. the problem is not ob pywikibot side but rather on Wikidata side. Wikidata API is not able to handle the traffic. TASK DETAIL https://phabricator.wikimedia.org/T242081 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt

[pywikibot] getInterwiki

2019-07-22 Thread masti
It used to be a getInterwiki method before Wikidata era. What is the easiest way to get them instead of parsing sitelinks list of WD object? masti ___ pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo

[Pywikipedia-bugs] [Maniphest] [Created] T187748: noreference.py should again add section before {{Przypisy}}

2018-02-19 Thread Masti
Masti created this task.Masti added a project: Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONAfter the chnage in references template {{Przypisy}} it is necesary to add == Przypisy == section title before templateTASK DETAILhttps://phabricator.wikimedia.org

[Pywikipedia-bugs] [Maniphest] [Created] T180309: reflinks.py changes existing ref names and do not observe ref groups in templates

2017-11-12 Thread Masti
Masti created this task.Masti added a project: Pywikibot-Other-scripts.Herald added subscribers: pywikibot-bugs-list, Aklapper.Herald added a project: Internet-Archive. TASK DESCRIPTIONas reflinks.py by default runs renerence deduplication it breaks existing ref groups if templates are used

[Pywikipedia-bugs] [Maniphest] [Updated] T180308: reflinks.py [SSL: CERTIFICATE_VERIFY_FAILED]

2017-11-12 Thread Masti
Masti edited projects, added Pywikibot-Other-scripts; removed Internet-Archive.Herald added a subscriber: pywikibot-bugs-list. TASK DETAILhttps://phabricator.wikimedia.org/T180308EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MastiCc: pywikibot-bugs-list

[Pywikipedia-bugs] [Maniphest] [Closed] T175811: logentries.py fails on call to user()

2017-09-13 Thread Masti
Masti closed this task as "Invalid".Masti added a comment. I have found the real reason for the error which was a not catched wrong entry in the delete log. That makes the task invalidTASK DETAILhttps://phabricator.wikimedia.org/T175811EMAIL PREFERENCEShttps://phabricator.wikimedia.or

[Pywikipedia-bugs] [Maniphest] [Created] T175811: logentries.py fails on call to user()

2017-09-13 Thread Masti
Masti created this task.Masti added projects: Pywikibot-core, Pywikibot-Other-scripts.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONWhile reading logentry via le.user() (le is an logentry type object) it fails with the error KeyError: u"Log entry (delete) has no

[Pywikipedia-bugs] [Maniphest] [Commented On] T55936: reflinks.py work with ref group

2017-03-22 Thread Masti
Masti added a comment. one option could be to add -nogroup or simmilar option to skip any changes to existing reference groups and not to goup existing refs. This is a kind of cosmetic changes to refs and the bot shoul d be able to skip it.TASK DETAILhttps://phabricator.wikimedia.org/T55936EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T114807: Editing as sysop doesn't work

2017-03-07 Thread Masti
Masti added a comment. patch 341699 submitted https://gerrit.wikimedia.org/r/#/c/341699/TASK DETAILhttps://phabricator.wikimedia.org/T114807EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MastiCc: Masti, Edgars2007, JAnD, Aklapper, Alkamid, pywikibot-bugs

[Pywikipedia-bugs] [Maniphest] [Commented On] T119335: as_group='sysop' not working properly

2017-03-07 Thread Masti
Masti added a comment. using BotPasswords also does not help.TASK DETAILhttps://phabricator.wikimedia.org/T119335EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MastiCc: Masti, Aklapper, StudiesWorld, Alkamid, pywikibot-bugs-list, Magul, Tbscho, MayS, Mdupont

[Pywikipedia-bugs] [Maniphest] [Retitled] T151733: Compat deprecation message broke compat

2016-11-27 Thread Masti
Masti changed the title from "Compat deprecation message broke comat" to "Compat deprecation message broke compat". TASK DETAILhttps://phabricator.wikimedia.org/T151733EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MastiCc: Aklapper, M

[Pywikipedia-bugs] [Maniphest] [Created] T151733: Compat deprecation message broke comat

2016-11-27 Thread Masti
Masti created this task.Masti added a project: Pywikibot-compat.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONwarning message in throttle.py introduced in https://gerrit.wikimedia.org/r/322502 crasshes with EOFError: EOF when reading a line example: Press to continue

[Pywikipedia-bugs] [Maniphest] [Created] T150694: selflink.py - AttributeError: 'SelflinkBot' object has no attribute 'pageToUnlink'

2016-11-14 Thread Masti
Masti created this task.Masti added a project: Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONselflink.py halts while calling unlink.py with the following error: $ python pwb.py selflink.py -start:A Retrieving 50 pages from wikipedia:pl. A <<<

Re: [pywikibot] Not sure if I'm running weblinkchecker correctly

2016-05-29 Thread masti
look for the subdirectory called deadlinks it contains all data generated by the bot results-yourwiki.txt - a bot log (text) deadlinks-yourwiki.dat - a bot database (dump of python dictionary)  so You can see what is going on masti

Re: [pywikibot] Not sure if I'm running weblinkchecker correctly

2016-05-28 Thread masti
with site masti On 05/28/2016 07:18 PM, . wrote: Hi all, I'my trying to run weblinkchecker from my own computer. I've logged in to the bot account, but when I try to run weblink checker, like

Re: [pywikibot] weblinchecker data migration from compat to core

2015-08-07 Thread masti
On 08/07/2015 11:50 PM, Merlijn van Deen wrote: Hi masti, On 7 August 2015 at 23:11, masti mast...@gmail.com mailto:mast...@gmail.com wrote: weblinchecker.py working file deadlinks-wikipedia-pl.dat has a binary format in core. In Compat it was a text file. This confuses me. As far

[pywikibot] weblinchecker data migration from compat to core

2015-08-07 Thread masti
need to preserve this info to not to report the links. is there a way to migrate the data to the new format or a descritpion of both formats so I can do a file conversion? masti ___ pywikibot mailing list pywikibot@lists.wikimedia.org https