[Pywikipedia-bugs] [Maniphest] [Commented On] T244062: test_create_short_link of page_tests.TestShortLink fails with strange APIError

2020-02-01 Thread Dvorapa
Dvorapa added a comment. Is this in API or in our short link implementation? TASK DETAIL https://phabricator.wikimedia.org/T244062 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Dvorapa Cc: Dvorapa, Aklapper, pywikibot-bugs-list, Xqt, Zkhalido, V

[Pywikipedia-bugs] [Maniphest] [Commented On] T244062: test_create_short_link of page_tests.TestShortLink fails with strange APIError

2020-02-01 Thread Xqt
Xqt added a comment. In T244062#5842946 , @Dvorapa wrote: > Is this in API or in our short link implementation? This is an API exception. TASK DETAIL https://phabricator.wikimedia.org/T244062 EMAIL PREFERENCES https://phabricat

[Pywikipedia-bugs] [Maniphest] [Commented On] T244062: test_create_short_link of page_tests.TestShortLink fails with strange APIError

2020-02-01 Thread Dvorapa
Dvorapa added a comment. In T244062#5842953 , @Xqt wrote: > In T244062#5842946 , @Dvorapa wrote: > >> Is this in API or in our short link implementation? > > This is an API excep

[Pywikipedia-bugs] [Maniphest] [Commented On] T244062: test_create_short_link of page_tests.TestShortLink fails with strange APIError

2020-02-01 Thread Dvorapa
Dvorapa added a comment. https://cs.wikipedia.org/wiki/Speci%C3%A1ln%C3%AD:Seznam_glob%C3%A1ln%C3%ADch_blokov%C3%A1n%C3%AD?ip=35.222.7.205 TASK DETAIL https://phabricator.wikimedia.org/T244062 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Dvora

[Pywikipedia-bugs] [Maniphest] [Commented On] T244062: test_create_short_link of page_tests.TestShortLink fails with strange APIError

2020-02-02 Thread Xqt
Xqt added a comment. https://meta.wikimedia.org/w/index.php?title=Steward_requests%2FGlobal_permissions&type=revision&diff=19767314&oldid=19766748 TASK DETAIL https://phabricator.wikimedia.org/T244062 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ T

[Pywikipedia-bugs] [Maniphest] [Commented On] T244062: test_create_short_link of page_tests.TestShortLink fails with strange APIError

2020-02-02 Thread revi
revi added a comment. GIPBE duly granted. TASK DETAIL https://phabricator.wikimedia.org/T244062 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: revi Cc: revi, Dvorapa, Aklapper, pywikibot-bugs-list, Xqt, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdu

[Pywikipedia-bugs] [Maniphest] [Commented On] T244062: test_create_short_link of page_tests.TestShortLink fails with strange APIError

2020-02-02 Thread Xqt
Xqt added a comment. In T244062#5843377 , @revi wrote: > GIPBE duly granted. Great, thanks! TASK DETAIL https://phabricator.wikimedia.org/T244062 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferenc

[Pywikipedia-bugs] [Maniphest] [Commented On] T244062: test_create_short_link of page_tests.TestShortLink fails with strange APIError

2020-02-02 Thread Dvorapa
Dvorapa added a comment. @revi Have you granted the rights for all Travis/AppVeyor IPs? Or just those mentioned in the request? TASK DETAIL https://phabricator.wikimedia.org/T244062 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Dvorapa Cc: revi

[Pywikipedia-bugs] [Maniphest] [Commented On] T244062: test_create_short_link of page_tests.TestShortLink fails with strange APIError

2020-02-02 Thread revi
revi added a comment. Only two accounts (`pywikibot-oauth` and `pywikibot-test`) were granted GIPBE, and you must authenticate as one of the accounts to enjoy the IP Block exemption. We are not willing to unblock Amazon Web Services/Google Cloud/Microsoft Azure/etc etc IPs as they are freque

[Pywikipedia-bugs] [Maniphest] [Commented On] T244062: test_create_short_link of page_tests.TestShortLink fails with strange APIError

2020-02-02 Thread Dvorapa
Dvorapa added a comment. In T244062#5843425 , @revi wrote: > Only two accounts (`pywikibot-oauth` and `pywikibot-test`) were granted GIPBE, and you must authenticate as one of the accounts to enjoy the IP Block exemption. We are not wil

[Pywikipedia-bugs] [Maniphest] [Commented On] T244062: test_create_short_link of page_tests.TestShortLink fails with strange APIError

2020-02-02 Thread revi
revi added a comment. GIPBEs does not exempt you from the local blocks, check if there is local block against that IP on the project you are editing. TASK DETAIL https://phabricator.wikimedia.org/T244062 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/

[Pywikipedia-bugs] [Maniphest] [Commented On] T244062: test_create_short_link of page_tests.TestShortLink fails with strange APIError

2020-02-02 Thread Dvorapa
Dvorapa added a comment. I see, thank you! TASK DETAIL https://phabricator.wikimedia.org/T244062 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Dvorapa Cc: revi, Dvorapa, Aklapper, pywikibot-bugs-list, Xqt, Zkhalido, Viztor, Wenyi, Tbscho, MayS,

[Pywikipedia-bugs] [Maniphest] [Commented On] T244062: test_create_short_link of page_tests.TestShortLink fails with strange APIError

2020-02-12 Thread Dvorapa
Dvorapa added a comment. Currently it fails on enwiki and testwiki. TASK DETAIL https://phabricator.wikimedia.org/T244062 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Dvorapa Cc: revi, Dvorapa, Aklapper, pywikibot-bugs-list, Xqt, Zkhalido, Vizt

[Pywikipedia-bugs] [Maniphest] [Commented On] T244062: test_create_short_link of page_tests.TestShortLink fails with strange APIError

2020-02-12 Thread gerritbot
gerritbot added a comment. Change 571695 had a related patch set uploaded (by Xqt; owner: Xqt): [pywikibot/core@master] [tests] Show additional informations with "urlshortener-blocked" APIError https://gerrit.wikimedia.org/r/571695 TASK DETAIL https://phabricator.wikimedia.org/T24406

[Pywikipedia-bugs] [Maniphest] [Commented On] T244062: test_create_short_link of page_tests.TestShortLink fails with strange APIError

2020-02-12 Thread gerritbot
gerritbot added a comment. Change 571695 **merged** by jenkins-bot: [pywikibot/core@master] [tests] Show additional informations with "urlshortener-blocked" APIError https://gerrit.wikimedia.org/r/571695 TASK DETAIL https://phabricator.wikimedia.org/T244062 EMAIL PREFERENCES https

[Pywikipedia-bugs] [Maniphest] [Commented On] T244062: test_create_short_link of page_tests.TestShortLink fails with strange APIError

2020-02-12 Thread Xqt
Xqt added a comment. There is a local block too: https://en.wikipedia.org/wiki/Special:BlockList?ip=35.222.7.205 TASK DETAIL https://phabricator.wikimedia.org/T244062 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: revi, Dvorapa, Aklapper

[Pywikipedia-bugs] [Maniphest] [Commented On] T244062: test_create_short_link of page_tests.TestShortLink fails with strange APIError

2020-02-12 Thread gerritbot
gerritbot added a comment. Change 571730 had a related patch set uploaded (by Xqt; owner: Xqt): [pywikibot/core@master] [bugfix] userinfo is required for user name or IP no https://gerrit.wikimedia.org/r/571730 TASK DETAIL https://phabricator.wikimedia.org/T244062 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T244062: test_create_short_link of page_tests.TestShortLink fails with strange APIError

2020-02-12 Thread gerritbot
gerritbot added a comment. Change 571730 **merged** by jenkins-bot: [pywikibot/core@master] [bugfix] userinfo is required for user name or IP no https://gerrit.wikimedia.org/r/571730 TASK DETAIL https://phabricator.wikimedia.org/T244062 EMAIL PREFERENCES https://phabricator.wikimed

[Pywikipedia-bugs] [Maniphest] [Commented On] T244062: test_create_short_link of page_tests.TestShortLink fails with strange APIError

2020-02-12 Thread Xqt
Xqt added a comment. Hm, there is only a global block for the newly given IP but the script account is not logged in: https://meta.wikimedia.org/wiki/Special:BlockList?wpTarget=67.225.165.198&blockType=&limit=50&wpFormIdentifier=blocklist https://ci.appveyor.com/project/Ladsgroup/pywikib

[Pywikipedia-bugs] [Maniphest] [Commented On] T244062: test_create_short_link of page_tests.TestShortLink fails with strange APIError

2020-02-12 Thread Dvorapa
Dvorapa added a comment. No, site.user() is empty even when logged in. self.site.username() still retrieves Pywikibot-test TASK DETAIL https://phabricator.wikimedia.org/T244062 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Dvorapa Cc: SQL, Lego

[Pywikipedia-bugs] [Maniphest] [Commented On] T244062: test_create_short_link of page_tests.TestShortLink fails with strange APIError

2020-02-12 Thread Xqt
Xqt added a comment. In T244062#5877523 , @Dvorapa wrote: > No, site.user() is empty even when logged in. self.site.username() still retrieves Pywikibot-test > > def user(self): """Return the currently-logged

[Pywikipedia-bugs] [Maniphest] [Commented On] T244062: test_create_short_link of page_tests.TestShortLink fails with strange APIError

2020-02-12 Thread Dvorapa
Dvorapa added a comment. Then self.logged_in() does not work as expected TASK DETAIL https://phabricator.wikimedia.org/T244062 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Dvorapa Cc: SQL, Legoktm, Anomie, revi, Dvorapa, Aklapper, pywikibot-bug

[Pywikipedia-bugs] [Maniphest] [Commented On] T244062: test_create_short_link of page_tests.TestShortLink fails with strange APIError

2020-02-12 Thread Dvorapa
Dvorapa added a comment. Does it have something in common with those warnings all over tests: WARNING: No user is logged in on site wikipedia:en skipped 'TestUserWatchedPages: Not able to login to wikipedia:en' ? TASK DETAIL https://phabricator.wikimedia.org/T244062 EMAIL PR

[Pywikipedia-bugs] [Maniphest] [Commented On] T244062: test_create_short_link of page_tests.TestShortLink fails with strange APIError

2020-02-12 Thread Xqt
Xqt added a comment. I guess user attribute must be set forthe test class to force login. After global blocks for several IPs used by test runners the account must be logged in for this api method. Surely without block this test will work I think. TASK DETAIL https://phabricator.wikimedia

[Pywikipedia-bugs] [Maniphest] [Commented On] T244062: test_create_short_link of page_tests.TestShortLink fails with strange APIError

2020-02-13 Thread gerritbot
gerritbot added a comment. Change 571919 had a related patch set uploaded (by Xqt; owner: Xqt): [pywikibot/core@master] [bugfix] Force login for TestShortLink https://gerrit.wikimedia.org/r/571919 TASK DETAIL https://phabricator.wikimedia.org/T244062 EMAIL PREFERENCES https://phabr

[Pywikipedia-bugs] [Maniphest] [Commented On] T244062: test_create_short_link of page_tests.TestShortLink fails with strange APIError

2020-02-13 Thread gerritbot
gerritbot added a comment. Change 571919 **merged** by jenkins-bot: [pywikibot/core@master] [bugfix] Force login for TestShortLink https://gerrit.wikimedia.org/r/571919 TASK DETAIL https://phabricator.wikimedia.org/T244062 EMAIL PREFERENCES https://phabricator.wikimedia.org/setting

[Pywikipedia-bugs] [Maniphest] [Commented On] T244062: test_create_short_link of page_tests.TestShortLink fails with strange APIError

2020-04-01 Thread gerritbot
gerritbot added a comment. Change 585068 had a related patch set uploaded (by Xqt; owner: Xqt): [pywikibot/core@master] [tests] Use meta for TestShortLink https://gerrit.wikimedia.org/r/585068 TASK DETAIL https://phabricator.wikimedia.org/T244062 EMAIL PREFERENCES https://phabricat

[Pywikipedia-bugs] [Maniphest] [Commented On] T244062: test_create_short_link of page_tests.TestShortLink fails with strange APIError

2020-04-01 Thread gerritbot
gerritbot added a comment. Change 585068 **merged** by jenkins-bot: [pywikibot/core@master] [tests] Use meta for TestShortLink https://gerrit.wikimedia.org/r/585068 TASK DETAIL https://phabricator.wikimedia.org/T244062 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/pa

[Pywikipedia-bugs] [Maniphest] [Commented On] T244062: test_create_short_link of page_tests.TestShortLink fails with strange APIError

2020-04-01 Thread Dvorapa
Dvorapa added a comment. Shouldn't we login to meta in the create_shortlink method itself? Rather than workaround it in tests? TASK DETAIL https://phabricator.wikimedia.org/T244062 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, Dvorapa Cc:

[Pywikipedia-bugs] [Maniphest] [Commented On] T244062: test_create_short_link of page_tests.TestShortLink fails with strange APIError

2020-04-01 Thread Dvorapa
Dvorapa added a comment. It seems it works correctly, but weirdly enough the test fails (failed). There might be some issue with test initiation. TASK DETAIL https://phabricator.wikimedia.org/T244062 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To

[Pywikipedia-bugs] [Maniphest] [Commented On] T244062: test_create_short_link of page_tests.TestShortLink fails with strange APIError

2020-04-01 Thread Xqt
Xqt added a comment. In T244062#6017699 , @Dvorapa wrote: > Shouldn't we login to meta in the create_shortlink method itself? Rather than workaround it in tests? I thought that unified global account are logged in automatically. See

[Pywikipedia-bugs] [Maniphest] [Commented On] T244062: test_create_short_link of page_tests.TestShortLink fails with strange APIError

2020-04-01 Thread Xqt
Xqt added a comment. In T244062#6017891 , @Dvorapa wrote: > It seems it works correctly, but weirdly enough the test fails (failed). There might be some issue with test initiation. The only difference is the system site package; no

[Pywikipedia-bugs] [Maniphest] [Commented On] T244062: test_create_short_link of page_tests.TestShortLink fails with strange APIError

2020-04-01 Thread Dvorapa
Dvorapa added a comment. In T244062#6017969 , @Xqt wrote: > In T244062#6017699 , @Dvorapa wrote: > >> Shouldn't we login to meta in the create_shortlink method itself? Rather than w

[Pywikipedia-bugs] [Maniphest] [Commented On] T244062: test_create_short_link of page_tests.TestShortLink fails with strange APIError

2020-04-01 Thread Xqt
Xqt added a comment. In T244062#6017983 , @Dvorapa wrote: > Okay, what if tests are "unified global account are logged in automatically" in the beginning of tests (initiation of Meta Class?), then `login_logout` test will logout all of

[Pywikipedia-bugs] [Maniphest] [Commented On] T244062: test_create_short_link of page_tests.TestShortLink fails with strange APIError

2020-04-01 Thread Dvorapa
Dvorapa added a comment. In T244062#6018028 , @Xqt wrote: > In T244062#6017983 , @Dvorapa wrote: > >> Okay, what if tests are "unified global account are logged in automatically" in

[Pywikipedia-bugs] [Maniphest] [Commented On] T244062: test_create_short_link of page_tests.TestShortLink fails with strange APIError

2020-04-07 Thread gerritbot
gerritbot added a comment. Change 587310 had a related patch set uploaded (by Dvorapa; owner: Dvorapa): [pywikibot/core@master] [test] Make sure test user is logged in on meta:meta https://gerrit.wikimedia.org/r/587310 TASK DETAIL https://phabricator.wikimedia.org/T244062 EMAIL PREFE

[Pywikipedia-bugs] [Maniphest] [Commented On] T244062: test_create_short_link of page_tests.TestShortLink fails with strange APIError

2020-04-07 Thread gerritbot
gerritbot added a comment. Change 587310 **merged** by jenkins-bot: [pywikibot/core@master] [test] Make sure test user is logged in on meta:meta https://gerrit.wikimedia.org/r/587310 TASK DETAIL https://phabricator.wikimedia.org/T244062 EMAIL PREFERENCES https://phabricator.wikimed