[Pywikipedia-bugs] [Maniphest] [Commented On] T136114: PAWS can not login, OAuth error: API error mwoauth-invalid-authorization

2022-10-21 Thread Martimpassos
Martimpassos added a comment. Hello, I'm getting this same error when trying to instantiate specific objects. This works: claim = pywikibot.Claim(repo, 'P180') target = pywikibot.ItemPage(repo, 'Q10332140') claim.setTarget(target) item.addClaim(claim, summary='Adding

[Pywikipedia-bugs] [Maniphest] [Commented On] T136114: PAWS can not login, OAuth error: API error mwoauth-invalid-authorization

2019-07-16 Thread Chicocvenancio
Chicocvenancio added a comment. @Mohinem how are you trying to login? There is no login required for Wikimedia wikis. TASK DETAIL https://phabricator.wikimedia.org/T136114 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Chicocvenancio Cc:

[Pywikipedia-bugs] [Maniphest] [Commented On] T136114: PAWS can not login, OAuth error: API error mwoauth-invalid-authorization

2019-07-15 Thread Mohinem
Mohinem added a comment. I'm trying tologin, but I'm getting this- WARNING: API error mwoauth-invalid-authorization-invalid-user: The authorization headers in your request are for a user that does not exist here Traceback (most recent call last): File "/srv/paws/pwb/pwb.py",

[Pywikipedia-bugs] [Maniphest] [Commented On] T136114: PAWS can not login, OAuth error: API error mwoauth-invalid-authorization

2018-11-06 Thread Chicocvenancio
Chicocvenancio added a comment. PAWS will auto connect your username to several wikis.TASK DETAILhttps://phabricator.wikimedia.org/T136114EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: ChicocvenancioCc: Viztor, Chicocvenancio, yuvipanda, MisterSynergy,

[Pywikipedia-bugs] [Maniphest] [Commented On] T136114: PAWS can not login, OAuth error: API error mwoauth-invalid-authorization

2018-11-06 Thread Dvorapa
Dvorapa added a comment. In T136114#4726253, @Framawiki wrote: Or use -lang:xx arg for provided scripts. The default used wiki used is http://test.wikipedia.org/. In my experience I could never use -lang without having the same wiki connected to the username in user-config.pyTASK

[Pywikipedia-bugs] [Maniphest] [Commented On] T136114: PAWS can not login, OAuth error: API error mwoauth-invalid-authorization

2018-11-06 Thread Framawiki
Framawiki added a comment. Or use -lang:xx arg for provided scripts. The default used wiki used is http://test.wikipedia.org/.TASK DETAILhttps://phabricator.wikimedia.org/T136114EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Chicocvenancio, FramawikiCc:

[Pywikipedia-bugs] [Maniphest] [Commented On] T136114: PAWS can not login, OAuth error: API error mwoauth-invalid-authorization

2018-11-06 Thread Chicocvenancio
Chicocvenancio added a comment. Or define it in code.TASK DETAILhttps://phabricator.wikimedia.org/T136114EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: ChicocvenancioCc: Viztor, Chicocvenancio, yuvipanda, MisterSynergy, WalterKlosse, MarcoAurelio, Abbe98,

[Pywikipedia-bugs] [Maniphest] [Commented On] T136114: PAWS can not login, OAuth error: API error mwoauth-invalid-authorization

2018-11-06 Thread Dvorapa
Dvorapa added a comment. In T136114#4725329, @Viztor wrote: This is still an existing bug. So if I fill in my home wiki information in user-config.py. it work successfully, but not if I don't. I have a theory about what happened, so basically the script is trying to log me into a wikimedia site

[Pywikipedia-bugs] [Maniphest] [Commented On] T136114: PAWS can not login, OAuth error: API error mwoauth-invalid-authorization

2017-08-04 Thread MarcoAurelio
MarcoAurelio added a comment. In T136114#3493304, @yuvipanda wrote: @MarcoAurelio - is that showing up at paws.tools.wmflabs.org and not at paws.wmflabs.org? Or is it showing up at both? Sorry for the late reply @yuvipanda. I will test again just to be sure but if my memory does not fail it was

[Pywikipedia-bugs] [Maniphest] [Commented On] T136114: PAWS can not login, OAuth error: API error mwoauth-invalid-authorization

2017-08-02 Thread yuvipanda
yuvipanda added a comment. @MarcoAurelio - is that showing up at paws.tools.wmflabs.org and not at paws.wmflabs.org? Or is it showing up at both?TASK DETAILhttps://phabricator.wikimedia.org/T136114EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: yuvipandaCc:

[Pywikipedia-bugs] [Maniphest] [Commented On] T136114: PAWS can not login, OAuth error: API error mwoauth-invalid-authorization

2017-08-02 Thread MarcoAurelio
MarcoAurelio added a comment. marcoaurelio@PAWS:~$ pwb.py redirect do -family:wikibooks -lang:es Traceback (most recent call last): File "/srv/paws/pwb/pwb.py", line 262, in if not main(): File "/srv/paws/pwb/pwb.py", line 255, in main run_python_file(filename, [filename] + args,

[Pywikipedia-bugs] [Maniphest] [Commented On] T136114: PAWS can not login, OAuth error: API error mwoauth-invalid-authorization

2017-08-02 Thread MarcoAurelio
MarcoAurelio added a comment. @yuvipanda marcoaurelio@PAWS:~$ pwb.py login -family:wikibooks -lang:es Traceback (most recent call last): File "/srv/paws/pwb/pwb.py", line 262, in if not main(): File "/srv/paws/pwb/pwb.py", line 255, in main run_python_file(filename, [filename] +

[Pywikipedia-bugs] [Maniphest] [Commented On] T136114: PAWS can not login, OAuth error: API error mwoauth-invalid-authorization

2017-08-02 Thread MisterSynergy
MisterSynergy added a comment. Works for me as well.TASK DETAILhttps://phabricator.wikimedia.org/T136114EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MisterSynergyCc: yuvipanda, MisterSynergy, WalterKlosse, MarcoAurelio, Abbe98, pywikibot-bugs-list,

[Pywikipedia-bugs] [Maniphest] [Commented On] T136114: PAWS can not login, OAuth error: API error mwoauth-invalid-authorization

2017-08-02 Thread Dvorapa
Dvorapa added a comment. @yuvipanda It works as expected for me.TASK DETAILhttps://phabricator.wikimedia.org/T136114EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DvorapaCc: yuvipanda, MisterSynergy, WalterKlosse, MarcoAurelio, Abbe98, pywikibot-bugs-list,

[Pywikipedia-bugs] [Maniphest] [Commented On] T136114: PAWS can not login, OAuth error: API error mwoauth-invalid-authorization

2017-08-02 Thread yuvipanda
yuvipanda added a comment. @MisterSynergy can you (and others!) try out a new install at https://paws.tools.wmflabs.org? All your old files will still be here, but the authentication (and other code) is vastly improved and stable. I'll point paws.wmflabs.org to this in the next few days. Try it

[Pywikipedia-bugs] [Maniphest] [Commented On] T136114: PAWS can not login, OAuth error: API error mwoauth-invalid-authorization

2017-07-15 Thread WalterKlosse
WalterKlosse added a comment. Thank youTASK DETAILhttps://phabricator.wikimedia.org/T136114EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: WalterKlosseCc: WalterKlosse, MarcoAurelio, Abbe98, pywikibot-bugs-list, Framawiki, Tgr, matej_suchanek, Urbanecm,

[Pywikipedia-bugs] [Maniphest] [Commented On] T136114: PAWS can not login, OAuth error: API error mwoauth-invalid-authorization

2017-07-15 Thread Urbanecm
Urbanecm added a comment. You're not right. Only 308 Wikipedias and 909 wikis in together ;). You may use https://meta.wikimedia.org/wiki/User:Krinkle/Tools/Global_SUL when signed as your bot to create an account at all wikis by a script. urbanecm@notebook

[Pywikipedia-bugs] [Maniphest] [Commented On] T136114: PAWS can not login, OAuth error: API error mwoauth-invalid-authorization

2017-07-15 Thread WalterKlosse
WalterKlosse added a comment. Yesbut it existing thousands of wikisTASK DETAILhttps://phabricator.wikimedia.org/T136114EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: WalterKlosseCc: WalterKlosse, MarcoAurelio, Abbe98, pywikibot-bugs-list, Framawiki, Tgr,

[Pywikipedia-bugs] [Maniphest] [Commented On] T136114: PAWS can not login, OAuth error: API error mwoauth-invalid-authorization

2017-07-15 Thread Urbanecm
Urbanecm added a comment. As I said: The script tries to login at all existent wikis so you'll have to create your account at it by visiting it for the first time.TASK DETAILhttps://phabricator.wikimedia.org/T136114EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T136114: PAWS can not login, OAuth error: API error mwoauth-invalid-authorization

2017-07-15 Thread WalterKlosse
WalterKlosse added a comment. When i login site that is writen in the error the error show another wikiTASK DETAILhttps://phabricator.wikimedia.org/T136114EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: WalterKlosseCc: WalterKlosse, MarcoAurelio, Abbe98,

[Pywikipedia-bugs] [Maniphest] [Commented On] T136114: PAWS can not login, OAuth error: API error mwoauth-invalid-authorization

2017-07-15 Thread Urbanecm
Urbanecm added a comment. Hmm... I've got it. The tools tries to browse ALL wikis per interwiki. You'll need to visit all wikis when logged in to be sure you have an account at all of them. This is totally irelevant to PAWS.TASK DETAILhttps://phabricator.wikimedia.org/T136114EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T136114: PAWS can not login, OAuth error: API error mwoauth-invalid-authorization

2017-07-15 Thread Urbanecm
Urbanecm added a comment. Why are you trying to edit wikipedia:ar then? By the way try pwb.py commonscat -start:Category:! -summary:"Přidáno commonscat za použití bota" (note the quotes).TASK DETAILhttps://phabricator.wikimedia.org/T136114EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T136114: PAWS can not login, OAuth error: API error mwoauth-invalid-authorization

2017-07-15 Thread WalterKlosse
WalterKlosse added a comment. I login on Commons manually but then it write pywikibot.exceptions.NoUsername: Failed OAuth authentication for wikipedia:ar: The authorization headers in your request are for a user that does not exist hereTASK DETAILhttps://phabricator.wikimedia.org/T136114EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T136114: PAWS can not login, OAuth error: API error mwoauth-invalid-authorization

2017-07-15 Thread Framawiki
Framawiki added a comment. The account was already created on commonswiki, per CentalAuth.TASK DETAILhttps://phabricator.wikimedia.org/T136114EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: FramawikiCc: WalterKlosse, MarcoAurelio, Abbe98, pywikibot-bugs-list,

[Pywikipedia-bugs] [Maniphest] [Commented On] T136114: PAWS can not login, OAuth error: API error mwoauth-invalid-authorization

2017-07-15 Thread Urbanecm
Urbanecm added a comment. Just login on Commons manually before you run the bot for the first time. Dne so 15. čvc 2017 21:06 uživatel WalterKlosse < no-re...@phabricator.wikimedia.org> napsal: WalterKlosse added a comment. I have the same problem after i login i write pwb.py commonscat

[Pywikipedia-bugs] [Maniphest] [Commented On] T136114: PAWS can not login, OAuth error: API error mwoauth-invalid-authorization

2017-07-15 Thread WalterKlosse
WalterKlosse added a comment. I have the same problem after i login i write pwb.py commonscat -start:Category:! -summary:Přidáno commonscat za použití bota and it respond this: WARNING CommonscatBot.init set the Bot.site property; this is only needed when the Bot accesses many sites. Retrieving

[Pywikipedia-bugs] [Maniphest] [Commented On] T136114: PAWS can not login, OAuth error: API error mwoauth-invalid-authorization

2017-04-25 Thread MarcoAurelio
MarcoAurelio added a comment. @Dvorapa: would you please tell me how to do that? I am new to the PAWS platform. Thanks.TASK DETAILhttps://phabricator.wikimedia.org/T136114EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MarcoAurelioCc: MarcoAurelio, Abbe98,