[20:18:22] [telegram] hey [20:18:35] [telegram] thank you @Thecladis for adding me [20:19:00] [telegram] I have a problem logging in with pywikibot [20:19:30] [telegram] https://tools-static.wmflabs.org/bridgebot/dd9a1a49/file_1765.jpg [20:20:17] [telegram] I double-checked the password, I think the problem is with the password file [20:20:25] [telegram] did you install the pywikibot-framework? [20:20:37] [telegram] yes [20:21:19] [telegram] it might be a problem with the path for finding extra files... [20:21:35] [telegram] that would be my second guess [20:21:36] [telegram] I only use Pywikibot under Ubuntu ... that works way easier. [20:21:55] [telegram] Are you using python3 and the latest Pywikibot version? [20:21:55] [telegram] or with https://paws.wmflabs.org/ [20:22:00] [telegram] I know, but I'm stuck with Windows because of several reasons [20:22:11] [telegram] yep (re @Maarten: Are you using python3 and the latest Pywikibot version?) [20:23:14] [telegram] Should work just fine in Windows. Please file a bug in Phabricator. Don’t forget to add the output of version.py and of course the stack trace. [20:23:27] [telegram] ok, I will [20:23:49] [telegram] actually, I think I will file another bug in Phabricator about the documentation... [20:24:19] [telegram] What documentation? πŸ€ͺ [20:25:23] [telegram] yeah, exactly πŸ˜‚ [20:33:39] [telegram] I'm just kidding a bit. Documentation is at https://www.mediawiki.org/wiki/Manual:Pywikibot . [20:33:40] [telegram] What do you think is missing? [20:35:39] [telegram] basically this is what I think of the installation page: https://www.mediawiki.org/wiki/Manual_talk:Pywikibot/Installation#Rework_the_whole_documentation [20:36:34] [telegram] i.e. there's the suggestion to use "python pwb.py", while the command works with "py pwb.py" [20:37:43] [telegram] what do you see/get with just py ? [20:38:06] [telegram] This seems to be a combination of outdated documentation, your lack of experience and using Windows. [20:38:58] [telegram] if I use "python", it says "unrecognised language or program" (re @edoderoo: what do you see/get with just py ?) [20:39:10] [telegram] if I use "py", it works like a charm [20:39:22] [telegram] the perfect storm πŸ˜‚ (re @Maarten: This seems to be a combination of outdated documentation, your lack of experience and using Windows.) [20:39:22] [telegram] and with python3 ? [20:40:09] [telegram] it suggests me to disabilitate something, which I did (re @edoderoo: and with python3 ?) [20:40:12] [telegram] but maybe py is just the correct command for Windows. In Linux there is python for python2 and python3 for what you need.... [20:40:29] [telegram] In Windows it's also python and python3 [20:40:53] [telegram] I read in some MS official page that they found a way to deprecate those commands [20:41:12] [telegram] so it works with PATH, which I think it's what is blocking me in the end [20:41:22] [telegram] Haven't used it on Windows for a while, but last couple of years I just used https://git-scm.com/downloads so I could just use a bash shell [20:43:18] [telegram] windows 10 has a bash shell itself nowadays ... maybe that will be of help in the end [20:44:07] [telegram] Anyway, you got python to work judging from your screenshot @Sannita . Do you have a link to the bug you filed? [20:44:27] [telegram] https://www.mediawiki.org/wiki/How_to_report_a_bug [20:45:35] [telegram] Gimme a sec (re @Maarten: Anyway, you got python to work judging from your screenshot @Sannita . Do you have a link to the bug you filed?) [20:45:55] [telegram] https://phabricator.wikimedia.org/T269503 [20:47:09] [telegram] I think the problem has a related query https://www.mediawiki.org/wiki/Topic:Vrl03a6g6zrlpgps [20:48:20] [telegram] Also, instead of using py in the command, try using python or python3 [20:48:23] [telegram] there it mentions your account is missing the bot-flag [20:49:07] [telegram] https://it.wikipedia.org/wiki/Speciale:PermessiUtente/SanniBot doesn't look that way [20:51:39] [telegram] do you have a user-config.py ? And does it have a line like [20:51:39] [telegram] usernames['wikipedia']['it']='SanniBot' [20:55:49] [telegram] @edoderoo : Can you modify your bot to not just add "schilderij" like it did at https://www.wikidata.org/w/index.php?title=Q103842811&type=revision&diff=1318225937&oldid=1318214234 ? [21:42:43] [telegram] I can confirm my bot has bot status, I basically run it with AWB (re @Maarten: https://it.wikipedia.org/wiki/Speciale:PermessiUtente/SanniBot doesn't look that way) [21:43:04] [telegram] yes (re @edoderoo: do you have a user-config.py ? And does it have a line like [21:43:06] [telegram] usernames['wikipedia']['it']='SanniBot') [21:43:33] [telegram] then I think you have all the basics in place ... [21:57:23] [telegram] I don't use py pwb.py. only pwb.py (re @Sannita: i.e. there's the suggestion to use "python pwb.py", while the command works with "py pwb.py") [21:57:47] [telegram] And you can start with any command and it will ask you to login there [21:58:01] [telegram] Wrapper script to invoke pywikibot-based scripts. [21:58:01] [telegram] Run scripts with pywikibot in directory mode using: [21:58:03] [telegram] python pwb.py [21:58:04] [telegram] This wrapper script uses the package directory to store all user files, [21:58:06] [telegram] will fix up search paths so the package does not need to be installed, etc. [21:58:07] [telegram] Currently are global options. This can be used for tests [21:58:09] [telegram] to set the default site (see T216825): [21:58:09] T216825: Enable global args with pwb.py script for tests - https://phabricator.wikimedia.org/T216825 [21:58:10] [telegram] python pwb.py -lang:de bot_tests -v (re @Galder: I don't use py pwb.py. only pwb.py) [21:58:12] [telegram] πŸ€·β€β™‚οΈ [21:59:01] [telegram] Are you in cmd? [21:59:43] [telegram] There you don't need to type py if python is installed with the dependencies [23:46:57] [telegram] @Sannita if you're more familiar with bash and Linux WSL might be something to consider. [23:47:32] [telegram] @Sannita if you're more familiar with bash and Linux, WSL (Windows Subsystem Linux) might be something to consider.