Page MenuHomePhabricator

Dvorapa (Pavel Dvořák)
Idea generator

Projects

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Sunday

  • Clear sailing ahead.

User Details

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

Recent Activity

Today

Dvorapa added a comment to T245012: test bot is unable to login on wikipedia:en.

This seems like an issue with aspects.py. The test finds out it is not logged in, it tries to log in successfully, but still skips the test as unable to log in

Fri, Feb 28, 10:37 AM · Pywikibot, Pywikibot-tests

Yesterday

Dvorapa added a project to T246359: editEntity fails if there is an existing coordinates claim with no precision value: Pywikibot-Wikidata.
Thu, Feb 27, 6:18 PM · Pywikibot-Wikidata, Pywikibot
Dvorapa added a comment to T224712: Attempt to login fails several times.

Also this happens sometimes for lgtoken, sometimes for username and sometimes for password, another weird thing

Thu, Feb 27, 12:35 PM · Beta-Cluster-Infrastructure, Core Platform Team Workboards (Clinic Duty Team), MediaWiki-API, Patch-For-Review, Pywikibot, Pywikibot-tests

Wed, Feb 26

Dvorapa added a comment to T224712: Attempt to login fails several times.

Weird is this happens only for zh.wikisource, not for enwiki, not for wikidata, commons, testwiki, testwikidata, arwiktionary and not for Beta Cluster.

Wed, Feb 26, 10:28 PM · Beta-Cluster-Infrastructure, Core Platform Team Workboards (Clinic Duty Team), MediaWiki-API, Patch-For-Review, Pywikibot, Pywikibot-tests
Dvorapa added a comment to T224712: Attempt to login fails several times.

After some other tests:
zh.wikisource.org API sometimes generates invalid new token (using action=query&meta=tokens). This token gives login response of NeedToken with another invalid token generated. This token gives login response of NeedToken with yet another invalid token generated. And so on...
After a couple of attempts I successfully reproduced it also using zh:ws API sandbox

Wed, Feb 26, 5:22 PM · Beta-Cluster-Infrastructure, Core Platform Team Workboards (Clinic Duty Team), MediaWiki-API, Patch-For-Review, Pywikibot, Pywikibot-tests
Dvorapa added a comment to T224712: Attempt to login fails several times.

Beta Cluster is fixed, but still fails for zh.wikisource.org, see:

Can't reproduce (with non-Pywikibot code), login to zh.wikisource.org works fine for me. If you still think it's a problem in MediaWiki or Wikimedia's infrastructure, you should supply the HTTP requests and responses to verify that cookies and such are being handled correctly.

Wed, Feb 26, 4:15 PM · Beta-Cluster-Infrastructure, Core Platform Team Workboards (Clinic Duty Team), MediaWiki-API, Patch-For-Review, Pywikibot, Pywikibot-tests

Tue, Feb 25

Dvorapa added a comment to T224712: Attempt to login fails several times.

It happens only sometimes, which is weird, I'll investigate it further

Tue, Feb 25, 10:09 PM · Beta-Cluster-Infrastructure, Core Platform Team Workboards (Clinic Duty Team), MediaWiki-API, Patch-For-Review, Pywikibot, Pywikibot-tests
Dvorapa added a comment to T224712: Attempt to login fails several times.

The loop in line 3148 does seem correct to me

Tue, Feb 25, 7:16 PM · Beta-Cluster-Infrastructure, Core Platform Team Workboards (Clinic Duty Team), MediaWiki-API, Patch-For-Review, Pywikibot, Pywikibot-tests
Dvorapa added a comment to T181443: Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER'.

Also, what is the output of echo $LC_CTYPE and echo $LANG? Weird is this happens only for some letters. I can not reproduce it on my machine. If you use Pywikibot packaged with scripts, could you share the output of python pwb.py version?

Tue, Feb 25, 2:22 PM · User-TheSandDoctor, Pywikibot, Commons, Pywikibot-category.py
Dvorapa added a comment to T181443: Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER'.

@Dvorapa all encoding is set to UTF-8.
@zhuyifei1999 Oops, thought I had. see here

Tue, Feb 25, 2:02 PM · User-TheSandDoctor, Pywikibot, Commons, Pywikibot-category.py
Dvorapa added a comment to T181443: Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER'.

This seems like an encoding issue

Tue, Feb 25, 8:33 AM · User-TheSandDoctor, Pywikibot, Commons, Pywikibot-category.py

Mon, Feb 24

Dvorapa added a comment to T240060: test_ipaddress_module fails in some Travis environments.

Does this still occur?

Mon, Feb 24, 8:22 PM · Pywikibot-tests, Pywikibot
Dvorapa added a comment to T194138: generate_family_files test fails on Travis and AppVeyor.

See T241413 for possible issues

Mon, Feb 24, 8:21 PM · Pywikibot, Pywikibot-tests
Dvorapa added a comment to T228652: test_watchlist_revs of tests.site_tests.SiteWatchlistRevsTestCase fails some times.

This seems to be classic login issue lately. Tests can't login, can't relogin and are complaining they are not logged in.

Mon, Feb 24, 8:17 PM · Pywikibot, Pywikibot-tests
Dvorapa added a comment to T245917: Beta Cluster Wikisource contains invalid interwikis.

I guess we could rebuild the beta interwiki cache but in light of T244906 it might not be possible yet. Also, T198844 has a patch for review that would allow us to just update it for beta. @Reedy @Jdforrester-WMF Any ideas?

Mon, Feb 24, 8:10 PM · Beta-Cluster-Infrastructure
Dvorapa added a comment to T224712: Attempt to login fails several times.

Fails also for zh.wikisource.org

Mon, Feb 24, 7:48 PM · Beta-Cluster-Infrastructure, Core Platform Team Workboards (Clinic Duty Team), MediaWiki-API, Patch-For-Review, Pywikibot, Pywikibot-tests
Dvorapa renamed T224712: Attempt to login fails several times from Attempt to login to the Beta Cluster fails several times to Attempt to login fails several times.
Mon, Feb 24, 7:48 PM · Beta-Cluster-Infrastructure, Core Platform Team Workboards (Clinic Duty Team), MediaWiki-API, Patch-For-Review, Pywikibot, Pywikibot-tests
Dvorapa added a comment to T224712: Attempt to login fails several times.

Waiting for tests to complete

Mon, Feb 24, 5:20 PM · Beta-Cluster-Infrastructure, Core Platform Team Workboards (Clinic Duty Team), MediaWiki-API, Patch-For-Review, Pywikibot, Pywikibot-tests
Dvorapa added a comment to T243123: Login to at least en.wikipedia.beta.wmflabs.org and commons.wikimedia.beta.wmflabs.org sometimes fails with `There seems to be a problem with your login session`.

Yes, Beta Wikisource login works again, either through API, or through web interface!

Mon, Feb 24, 5:19 PM · Core Platform Team Workboards (Clinic Duty Team), MediaWiki-extensions-CentralAuth, Beta-Cluster-Infrastructure, MediaWiki-User-login-and-signup, MediaWiki-Core-Testing, User-zeljkofilipin, Quality-and-Test-Engineering-Team (QTE)
Dvorapa added a comment to T245951: sparql_tests sometimes fails with TimeoutError.

Weird enought this fails only occasionally and not with maxlag timeout, but with regular timeout

Mon, Feb 24, 4:04 PM · Wikidata, Pywikibot-Wikidata, Pywikibot-tests, Pywikibot
Dvorapa added projects to T245951: sparql_tests sometimes fails with TimeoutError: Pywikibot-Wikidata, Wikidata.
Mon, Feb 24, 3:57 PM · Wikidata, Pywikibot-Wikidata, Pywikibot-tests, Pywikibot
Dvorapa updated the task description for T245989: Wikidata API fails with timeout when asking for 5 RC redirects.
Mon, Feb 24, 2:32 PM · mariadb-optimizer-bug, DBA, Core Platform Team Workboards (Clinic Duty Team), Wikidata, Pywikibot-tests, Pywikibot, MediaWiki-API
Dvorapa added a comment to T243669: Travis fails on generate_family_files_tests.TestGenerateFamilyFiles.

Okay, MusciBrainz is an issue with MediaWiki, but also requires small fix on MusicBrainz side.

Mon, Feb 24, 1:25 PM · Pywikibot, Pywikibot-tests
Dvorapa added a comment to T241413: A lot of wikisource urls are redirected to the "mul" site.

There are multiple possible solutions. I can think of two at least:

  • add code_aliases to family.langs (this would mean many redirected urls in family.langs which seems wrong to me)
  • create separate redirect domain list like family.redirect_domains or family.redirect_langs
Mon, Feb 24, 12:01 PM · Upstream, Pywikibot-tests, Pywikibot
Dvorapa updated the task description for T245989: Wikidata API fails with timeout when asking for 5 RC redirects.
Mon, Feb 24, 11:53 AM · mariadb-optimizer-bug, DBA, Core Platform Team Workboards (Clinic Duty Team), Wikidata, Pywikibot-tests, Pywikibot, MediaWiki-API
Dvorapa updated the task description for T245989: Wikidata API fails with timeout when asking for 5 RC redirects.
Mon, Feb 24, 11:51 AM · mariadb-optimizer-bug, DBA, Core Platform Team Workboards (Clinic Duty Team), Wikidata, Pywikibot-tests, Pywikibot, MediaWiki-API
Dvorapa created P10495 Wikidata API weird timeout.
Mon, Feb 24, 11:51 AM
Dvorapa updated the task description for T245989: Wikidata API fails with timeout when asking for 5 RC redirects.
Mon, Feb 24, 11:49 AM · mariadb-optimizer-bug, DBA, Core Platform Team Workboards (Clinic Duty Team), Wikidata, Pywikibot-tests, Pywikibot, MediaWiki-API
Dvorapa added a parent task for T245989: Wikidata API fails with timeout when asking for 5 RC redirects: T225591: Make Travis and Appveyor pass again.
Mon, Feb 24, 11:47 AM · mariadb-optimizer-bug, DBA, Core Platform Team Workboards (Clinic Duty Team), Wikidata, Pywikibot-tests, Pywikibot, MediaWiki-API
Dvorapa added a subtask for T225591: Make Travis and Appveyor pass again: T245989: Wikidata API fails with timeout when asking for 5 RC redirects.
Mon, Feb 24, 11:47 AM · Goal, Pywikibot, Pywikibot-tests
Dvorapa updated the task description for T245989: Wikidata API fails with timeout when asking for 5 RC redirects.
Mon, Feb 24, 11:47 AM · mariadb-optimizer-bug, DBA, Core Platform Team Workboards (Clinic Duty Team), Wikidata, Pywikibot-tests, Pywikibot, MediaWiki-API
Dvorapa renamed T245989: Wikidata API fails with timeout when asking for 5 RC redirects from Wikidata API fails with timeour when asking for 5 RC redirects to Wikidata API fails with timeout when asking for 5 RC redirects.
Mon, Feb 24, 11:46 AM · mariadb-optimizer-bug, DBA, Core Platform Team Workboards (Clinic Duty Team), Wikidata, Pywikibot-tests, Pywikibot, MediaWiki-API
Dvorapa created T245989: Wikidata API fails with timeout when asking for 5 RC redirects.
Mon, Feb 24, 11:46 AM · mariadb-optimizer-bug, DBA, Core Platform Team Workboards (Clinic Duty Team), Wikidata, Pywikibot-tests, Pywikibot, MediaWiki-API
Dvorapa added a comment to T241413: A lot of wikisource urls are redirected to the "mul" site.
Mon, Feb 24, 9:43 AM · Upstream, Pywikibot-tests, Pywikibot
Dvorapa committed rPWBCe14aee041777: [bugfix] Fix mul Wikisource aliases (authored by Dvorapa).
[bugfix] Fix mul Wikisource aliases
Mon, Feb 24, 9:26 AM

Sun, Feb 23

Dvorapa added a comment to T241413: A lot of wikisource urls are redirected to the "mul" site.

Weird enough this happens only in tests, so there is some issue with aspects.py

Sun, Feb 23, 3:30 PM · Upstream, Pywikibot-tests, Pywikibot
Dvorapa added a comment to T241413: A lot of wikisource urls are redirected to the "mul" site.

Okay, I investigated this and it seems code_aliases or interwiki_replacements is shared between wikimedia_family class families. This is bad, because if I add specific code_aliases to a wikimedia_family class family, it is shared between all of them. Therefore specific code_aliases for Wikisource makes non-existing language codes to be redirected to mul even for Wikipedia! (see https://travis-ci.org/dvorapa/pywikibot/jobs/654053005 for more details)

Sun, Feb 23, 12:52 PM · Upstream, Pywikibot-tests, Pywikibot

Sat, Feb 22

Dvorapa added a comment to T181443: Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER'.

Now we need to know, why is this happening, because I don't feel like there are so many new files in Commons with this character

Sat, Feb 22, 11:36 PM · User-TheSandDoctor, Pywikibot, Commons, Pywikibot-category.py
Dvorapa added a comment to T199643: Generate a new CSRF token if the old one is invalidated.

We should use action=checktoken for a token validation, but I'm not sure, where to put this check. It needs to check before every write/relogin action I think

Sat, Feb 22, 11:16 PM · Pywikibot
Dvorapa added a parent task for T245917: Beta Cluster Wikisource contains invalid interwikis: T243669: Travis fails on generate_family_files_tests.TestGenerateFamilyFiles.
Sat, Feb 22, 10:47 PM · Beta-Cluster-Infrastructure
Dvorapa added a subtask for T243669: Travis fails on generate_family_files_tests.TestGenerateFamilyFiles: T245917: Beta Cluster Wikisource contains invalid interwikis.
Sat, Feb 22, 10:47 PM · Pywikibot, Pywikibot-tests
Dvorapa added a parent task for T130381: wiki.musicbrainz.org has started reporting multiple languages: T243669: Travis fails on generate_family_files_tests.TestGenerateFamilyFiles.
Sat, Feb 22, 10:46 PM · Patch-For-Review, Upstream, Pywikibot-tests, Pywikibot
Dvorapa added a subtask for T243669: Travis fails on generate_family_files_tests.TestGenerateFamilyFiles: T130381: wiki.musicbrainz.org has started reporting multiple languages.
Sat, Feb 22, 10:46 PM · Pywikibot, Pywikibot-tests
Dvorapa renamed T130381: wiki.musicbrainz.org has started reporting multiple languages from generate_family_file for wiki.musicbrainz.org has started reporting that multiple languages to wiki.musicbrainz.org has started reporting multiple languages.
Sat, Feb 22, 10:39 PM · Patch-For-Review, Upstream, Pywikibot-tests, Pywikibot
Dvorapa added a comment to T130381: wiki.musicbrainz.org has started reporting multiple languages.

$wgInterwikiMagic=false seems to be ignored by API

Sat, Feb 22, 10:16 PM · Patch-For-Review, Upstream, Pywikibot-tests, Pywikibot
Dvorapa added a project to T130381: wiki.musicbrainz.org has started reporting multiple languages: MediaWiki-API.

It seems action=query&prop=siteinfo&siprop=interwikimap automatically considers ab interwiki as Abkhazian language interwiki for acousticbrainz.org/$1 and lb as Luxembourgish for listenbrainz.org/$1

Sat, Feb 22, 10:02 PM · Patch-For-Review, Upstream, Pywikibot-tests, Pywikibot
Dvorapa added a comment to T130381: wiki.musicbrainz.org has started reporting multiple languages.

Asked in the MusicBrainz bug tracker, but I feel like this isn't their fault. Is this even configurable in MediaWiki, that ab is not Abkhazian MusicBrainz wiki, but AcousticBrainz website?

Sat, Feb 22, 9:30 PM · Patch-For-Review, Upstream, Pywikibot-tests, Pywikibot
Dvorapa added a comment to T181443: Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER'.

I don't understand it either. Could you find out, which file makes this (or is it for random files?) and also tell me, which wiki do you check? (Commons?)

Sat, Feb 22, 7:54 PM · User-TheSandDoctor, Pywikibot, Commons, Pywikibot-category.py
Dvorapa changed the status of T181443: Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER' from Open to Stalled.

@Fructibus @TheSandDoctor Anything else we could fix in Pywikibot?

Sat, Feb 22, 7:36 PM · User-TheSandDoctor, Pywikibot, Commons, Pywikibot-category.py
Dvorapa added a comment to T181443: Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER'.

I'm sorry, I don't understand, what your script does and how. There should be no title in commons with that character and if there are links to a page with that character, the freshly called InvalidTitle error should be always checked in scripts.

Sat, Feb 22, 7:23 PM · User-TheSandDoctor, Pywikibot, Commons, Pywikibot-category.py
Dvorapa committed rPWBC3f7eb28e5c24: [bugfix] Raise InvalidTitle for title containing illegal char (authored by Dvorapa).
[bugfix] Raise InvalidTitle for title containing illegal char
Sat, Feb 22, 3:27 PM
Dvorapa committed rPWBC936910b62b28: Don't use enum34 1.1.8 (authored by Dvorapa).
Don't use enum34 1.1.8
Sat, Feb 22, 3:24 PM
Dvorapa updated the task description for T245917: Beta Cluster Wikisource contains invalid interwikis.
Sat, Feb 22, 2:36 PM · Beta-Cluster-Infrastructure
Dvorapa renamed T245917: Beta Cluster Wikisource contains invalid interwikis from Beta Cluster Wikisource contains invalid interwiki to Beta Cluster Wikisource contains invalid interwikis.
Sat, Feb 22, 2:35 PM · Beta-Cluster-Infrastructure
Dvorapa created T245917: Beta Cluster Wikisource contains invalid interwikis.
Sat, Feb 22, 2:35 PM · Beta-Cluster-Infrastructure
Dvorapa created T245915: enum34 1.1.8 does not work correctly.
Sat, Feb 22, 12:34 PM · Upstream, Pywikibot
Dvorapa added a comment to T181443: Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER'.

Also: thanks for switching it to a catchable exception! :)

Sat, Feb 22, 12:18 PM · User-TheSandDoctor, Pywikibot, Commons, Pywikibot-category.py

Fri, Feb 21

Dvorapa added a comment to T181443: Pywikibot stops when finding the character \uFFFD - 'REPLACEMENT CHARACTER'.

@zhuyifei1999 Do you think that such a raise could be made? The problem that I see with both handlings though is that the titles are not "invalid" as they are the valid image titles on the wiki(?). I am also having this issue when it comes to my Commons Corruption Checking task.

Fri, Feb 21, 10:38 PM · User-TheSandDoctor, Pywikibot, Commons, Pywikibot-category.py
Dvorapa committed rPWBC24a023a710e2: [docs] Fix the appearance of AppVeyor badge (authored by Dvorapa).
[docs] Fix the appearance of AppVeyor badge
Fri, Feb 21, 10:36 PM
Dvorapa added a comment to T233484: Unexpected success with TestGenerateFamilyFiles.test_attributes_after_run .

So we can close this?

Fri, Feb 21, 10:36 PM · Pywikibot-tests, Pywikibot
Dvorapa closed T243663: Travis fails on site_tests.SiteSysopTestCase, a subtask of T225591: Make Travis and Appveyor pass again, as Resolved.
Fri, Feb 21, 6:43 PM · Goal, Pywikibot, Pywikibot-tests
Dvorapa closed T243663: Travis fails on site_tests.SiteSysopTestCase as Resolved.
Fri, Feb 21, 6:43 PM · Pywikibot, Pywikibot-tests
Dvorapa added a comment to T243663: Travis fails on site_tests.SiteSysopTestCase.

There should a way implemented to login with a sysop account at travis. Not sure whether we have one but I guess we had it.
I've no access to the pwb config at travis anymore due to unknown reason :-(

Fri, Feb 21, 6:42 PM · Pywikibot, Pywikibot-tests
Dvorapa created T245851: Run a CI test using sysop account.
Fri, Feb 21, 6:42 PM · Pywikibot, Pywikibot-tests
Dvorapa closed T243664: Travis fails on site_tests.TestSiteLoadRevisionsSysop, a subtask of T225591: Make Travis and Appveyor pass again, as Resolved.
Fri, Feb 21, 6:40 PM · Goal, Pywikibot, Pywikibot-tests
Dvorapa closed T243664: Travis fails on site_tests.TestSiteLoadRevisionsSysop as Resolved.
Fri, Feb 21, 6:40 PM · Pywikibot, Pywikibot-tests
Dvorapa added a comment to T243669: Travis fails on generate_family_files_tests.TestGenerateFamilyFiles.

After last patch en:musicbrainz fails with the same issue as en:betawikisource.

Fri, Feb 21, 6:35 PM · Pywikibot, Pywikibot-tests
Dvorapa committed rPWBCad4021575444: [tests] Fix MusicBrainz sample number (authored by Dvorapa).
[tests] Fix MusicBrainz sample number
Fri, Feb 21, 5:09 PM
Dvorapa added a comment to T243200: Move PAWS to OAuth 2.0.

I don't see T245012, T226942 as blockers for PAWS.

Fri, Feb 21, 12:02 PM · Pywikibot-OAuth, Pywikibot-login.py, Pywikibot, PAWS
Dvorapa added a project to T224712: Attempt to login fails several times: MediaWiki-API.

Another thing is, that this might indicate API can not handle this problem correctly:

Fri, Feb 21, 10:27 AM · Beta-Cluster-Infrastructure, Core Platform Team Workboards (Clinic Duty Team), MediaWiki-API, Patch-For-Review, Pywikibot, Pywikibot-tests
Dvorapa committed rPWBC095d264a6608: [tests] Enable some skipped tests in AppVeyor (authored by Dvorapa).
[tests] Enable some skipped tests in AppVeyor
Fri, Feb 21, 5:57 AM
Dvorapa committed rPWBCdc69af9ee42c: [bugfix] Fix tests for requests 2.23 (authored by Dvorapa).
[bugfix] Fix tests for requests 2.23
Fri, Feb 21, 5:55 AM
Dvorapa added a comment to T224712: Attempt to login fails several times.

Seems like an Upstream issue, compare:
en.wikipedia.beta.wmflabs.org


en.wikisource.beta.wmflabs.org

Fri, Feb 21, 4:47 AM · Beta-Cluster-Infrastructure, Core Platform Team Workboards (Clinic Duty Team), MediaWiki-API, Patch-For-Review, Pywikibot, Pywikibot-tests
Dvorapa added a comment to T243123: Login to at least en.wikipedia.beta.wmflabs.org and commons.wikimedia.beta.wmflabs.org sometimes fails with `There seems to be a problem with your login session`.

Is this correct?
en.wikipedia.beta.wmflabs.org


en.wikisource.beta.wmflabs.org

Fri, Feb 21, 4:39 AM · Core Platform Team Workboards (Clinic Duty Team), MediaWiki-extensions-CentralAuth, Beta-Cluster-Infrastructure, MediaWiki-User-login-and-signup, MediaWiki-Core-Testing, User-zeljkofilipin, Quality-and-Test-Engineering-Team (QTE)
Dvorapa added a comment to T243123: Login to at least en.wikipedia.beta.wmflabs.org and commons.wikimedia.beta.wmflabs.org sometimes fails with `There seems to be a problem with your login session`.
Fri, Feb 21, 4:25 AM · Core Platform Team Workboards (Clinic Duty Team), MediaWiki-extensions-CentralAuth, Beta-Cluster-Infrastructure, MediaWiki-User-login-and-signup, MediaWiki-Core-Testing, User-zeljkofilipin, Quality-and-Test-Engineering-Team (QTE)
Dvorapa added a comment to T243123: Login to at least en.wikipedia.beta.wmflabs.org and commons.wikimedia.beta.wmflabs.org sometimes fails with `There seems to be a problem with your login session`.

With a successfully logged in users @Jakob_WMDE and I found that we were intermittently regularly getting CSRF token failures for just minted tokens that should have been valid. Sounds like it could be directly related to this (session storage) too.

Fri, Feb 21, 4:19 AM · Core Platform Team Workboards (Clinic Duty Team), MediaWiki-extensions-CentralAuth, Beta-Cluster-Infrastructure, MediaWiki-User-login-and-signup, MediaWiki-Core-Testing, User-zeljkofilipin, Quality-and-Test-Engineering-Team (QTE)
Dvorapa added a comment to T224712: Attempt to login fails several times.

See also T243123

Fri, Feb 21, 3:55 AM · Beta-Cluster-Infrastructure, Core Platform Team Workboards (Clinic Duty Team), MediaWiki-API, Patch-For-Review, Pywikibot, Pywikibot-tests
Dvorapa added a comment to T243123: Login to at least en.wikipedia.beta.wmflabs.org and commons.wikimedia.beta.wmflabs.org sometimes fails with `There seems to be a problem with your login session`.

Pywikibot tests are failing due to this issue since summer. Sometimes also in production wikis (zh.wikisource.org). See https://travis-ci.org/wikimedia/pywikibot/jobs/560331158 (run on the July 21, 2019)

Fri, Feb 21, 3:46 AM · Core Platform Team Workboards (Clinic Duty Team), MediaWiki-extensions-CentralAuth, Beta-Cluster-Infrastructure, MediaWiki-User-login-and-signup, MediaWiki-Core-Testing, User-zeljkofilipin, Quality-and-Test-Engineering-Team (QTE)
Dvorapa updated the task description for T245799: Unable to login to en.wikisource.
Fri, Feb 21, 3:33 AM · Pywikibot, Pywikibot-tests, Beta-Cluster-Infrastructure
Dvorapa created T245799: Unable to login to en.wikisource.
Fri, Feb 21, 3:33 AM · Pywikibot, Pywikibot-tests, Beta-Cluster-Infrastructure

Thu, Feb 20

Dvorapa added a subtask for T225591: Make Travis and Appveyor pass again: T245763: Python 2.7 fails after update to requests 2.23.
Thu, Feb 20, 7:21 PM · Goal, Pywikibot, Pywikibot-tests
Dvorapa added a parent task for T245763: Python 2.7 fails after update to requests 2.23: T225591: Make Travis and Appveyor pass again.
Thu, Feb 20, 7:21 PM · Pywikibot, Pywikibot-tests
Dvorapa created T245763: Python 2.7 fails after update to requests 2.23.
Thu, Feb 20, 7:21 PM · Pywikibot, Pywikibot-tests

Wed, Feb 19

Dvorapa added a comment to T74896: generate_family_file.py creates dodgy syntax for semantic-mediawiki.org.

Currently throwing a warning about sw language

Wed, Feb 19, 3:42 PM · Pywikibot, Pywikibot-General
Dvorapa added a comment to T74845: generate_family_file.py fails with exception trace if frontpage is not a mediawiki site.

genealogy.net wikis (http://wiki-en.genealogy.net/Main_Page) will be desupported by T245350

Wed, Feb 19, 3:39 PM · Pywikibot, Pywikibot-General
Dvorapa added a comment to T101218: https://github.com/pywikibot/ doesnt have current code.

Anything left here?

Wed, Feb 19, 3:23 PM · Pywikibot
Dvorapa added a comment to T108446: Cosmetic_changes.py crashes on wrong digits in ISBN; needs an -ignore parameter.
Wed, Feb 19, 3:10 PM · Pywikibot, Pywikibot-cosmetic-changes.py
Dvorapa added a comment to T132919: Stale isbn hyphenation data.

What is missing here?

Wed, Feb 19, 3:07 PM · Patch-For-Review, Upstream, Pywikibot, Pywikibot-cosmetic-changes.py
Dvorapa closed T136808: isbn tests fail with stdnum 0.6 as Resolved.

Solved by rPWBCf498990a9d0288702c53b783242fadebfc19bd47

Wed, Feb 19, 3:06 PM · Pywikibot-tests, Pywikibot
Dvorapa added a comment to T174482: DeprecationWarning: ipaddress backport not available..

Is this still an issue?

Wed, Feb 19, 1:15 PM · Pywikibot-network, Pywikibot
Dvorapa renamed T245588: Third-party families cannot be registered in user-config.py from When using pywikibot as a library, third-party families cannot be registered in user-config.py to Third-party families cannot be registered in user-config.py.
Wed, Feb 19, 12:51 PM · Pywikibot
Dvorapa added a comment to T245588: Third-party families cannot be registered in user-config.py.

You can avoid this bug by registering family file in your script directly, not in user-config btw

Wed, Feb 19, 12:51 PM · Pywikibot
Dvorapa added a comment to T245588: Third-party families cannot be registered in user-config.py.

Okay, I made some detective work to find out, what could be wrong and I got to this traceback:

$ python
Python 3.8.1 (default, Jan 22 2020, 06:38:00) 
[GCC 9.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pywikibot
>>> s=pywikibot.Site()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/pavel/pywikibot/pywikibot/tools/__init__.py", line 1790, in wrapper
    return obj(*__args, **__kw)
  File "/home/pavel/pywikibot/pywikibot/__init__.py", line 1242, in Site
    fam = Family.load(fam)
  File "/home/pavel/pywikibot/pywikibot/tools/__init__.py", line 1790, in wrapper
    return obj(*__args, **__kw)
  File "/home/pavel/pywikibot/pywikibot/family.py", line 1008, in load
    raise UnknownFamily('Family %s does not exist' % fam)
pywikibot.exceptions.UnknownFamily: Family projectgorgon does not exist

This seems clear, deprecation wrapper tries to load family before config is fully processed. There is another minor issue, as deprecation wrapper silently pass this error and therefore the rest of config is never loaded (register_family_file in config does not work)

Wed, Feb 19, 12:48 PM · Pywikibot
Dvorapa added a comment to T245588: Third-party families cannot be registered in user-config.py.

I'm sorry, but could you post steps to reproduce without docker or unittests? I don't have server to run docker on and also don't want to break my OS, also I still miss any kind of traceback or error message. What do you want to achieve and what is broken?

Wed, Feb 19, 11:28 AM · Pywikibot
Dvorapa added a comment to T245588: Third-party families cannot be registered in user-config.py.

You register family file from app folder, but it is not in app folder?

Wed, Feb 19, 9:39 AM · Pywikibot

Tue, Feb 18

Dvorapa added a comment to T137805: API action=login is deprecated.

I think T137805 and T224712 are the same issue. Tests fail randomly, but somehow en:wsbeta fails always.

Tue, Feb 18, 11:31 PM · Pywikibot-tests, Pywikibot, Pywikibot-login.py
Dvorapa closed T164154: TestOauthLoginManger.test_identity is failing with AssertionError: None is not an instance of <class 'dict'>, a subtask of T102477: login script -pass parameter ignored, as Resolved.
Tue, Feb 18, 10:09 PM · Pywikibot, Pywikibot-login.py
Dvorapa closed T164154: TestOauthLoginManger.test_identity is failing with AssertionError: None is not an instance of <class 'dict'>, a subtask of T225591: Make Travis and Appveyor pass again, as Resolved.
Tue, Feb 18, 10:09 PM · Goal, Pywikibot, Pywikibot-tests
Dvorapa closed T164154: TestOauthLoginManger.test_identity is failing with AssertionError: None is not an instance of <class 'dict'> as Resolved.

Second issue solved by @Xqt in rPWBC4be470fbbfd07b064efb043d762118d769f02c9b

Tue, Feb 18, 10:09 PM · Pywikibot-tests, Pywikibot
Dvorapa closed T240061: test_allpages_langlinks_disabled and test_allpages_pagesize fail on en:wsbeta, a subtask of T225591: Make Travis and Appveyor pass again, as Invalid.
Tue, Feb 18, 9:40 PM · Goal, Pywikibot, Pywikibot-tests