[Pywikipedia-bugs] [Maniphest] [Commented On] T270949: Cannot login into private wikibase using pywikibot

2021-03-05 Thread gerritbot
gerritbot added a comment. Change 668661 **merged** by jenkins-bot: [pywikibot/core@master] [bugfix] Re-enable setting private family files https://gerrit.wikimedia.org/r/668661 TASK DETAIL https://phabricator.wikimedia.org/T270949 EMAIL PREFERENCES https://phabricator.wikimedia.or

[Pywikipedia-bugs] [Maniphest] [Commented On] T270949: Cannot login into private wikibase using pywikibot

2021-03-05 Thread DD063520
DD063520 added a comment. ok, working! thank you! TASK DETAIL https://phabricator.wikimedia.org/T270949 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, DD063520 Cc: zhuyifei1999, Huji, Xqt, pywikibot-bugs-list, Dhayanthdharma, DD063520, Akla

[Pywikipedia-bugs] [Maniphest] [Commented On] T270949: Cannot login into private wikibase using pywikibot

2021-03-05 Thread Xqt
Xqt added a comment. In T270949#6886071 , @DD063520 wrote: > WARNING: No user is logged in on site my:my You have to login first. Either use the login.py script: python.exe pwb.py login -site:my:my or force it within your

[Pywikipedia-bugs] [Maniphest] [Commented On] T270949: Cannot login into private wikibase using pywikibot

2021-03-05 Thread DD063520
DD063520 added a comment. II used this patch: https://gerrit.wikimedia.org/r/c/pywikibot/core/+/668661 and I think it is rather not working WARNING: No user is logged in on site my:my could be an error on my side but I would not know which one ... TASK DETAIL https:/

[Pywikipedia-bugs] [Maniphest] [Commented On] T270949: Cannot login into private wikibase using pywikibot

2021-03-05 Thread Xqt
Xqt added a comment. > Now there is still a bug. He can read, but he cannot edit: Thanks for review. Could you please test my newest patch; it should solve it. By the way: you shouldn't import anything in user-config.py. The global variables are already passed during exec function ca

[Pywikipedia-bugs] [Maniphest] [Commented On] T270949: Cannot login into private wikibase using pywikibot

2021-03-05 Thread DD063520
DD063520 added a comment. @Xqt: so one bug is gone, i.e. the configuration file is taken into account: user-config.py looks like from pywikibot.config2 import usernames, register_families_folder user_families_paths = ['./config'] mylang = "my" family = "my" user

[Pywikipedia-bugs] [Maniphest] [Commented On] T270949: Cannot login into private wikibase using pywikibot

2021-03-05 Thread Xqt
Xqt added a comment. In T270949#6885386 , @DD063520 wrote: > @Xqt: it is this commit -e git+https://github.com/wikimedia/pywikibot.git@083ed9341881f562167e732974df35ee051ba994#egg=pywikibot, so it is not even a version I also

[Pywikipedia-bugs] [Maniphest] [Commented On] T270949: Cannot login into private wikibase using pywikibot

2021-03-05 Thread Xqt
Xqt added a comment. In T270949#6885528 , @DD063520 wrote: > If you explain me how to test it, I will do. How to I download the code with the latest commits? checkout the patch from https://gerrit.wikimedia.org/r/c/pywikibot/core/+

[Pywikipedia-bugs] [Maniphest] [Commented On] T270949: Cannot login into private wikibase using pywikibot

2021-03-05 Thread DD063520
DD063520 added a comment. If you explain me how to test it, I will do. How to I download the code with the latest commits? TASK DETAIL https://phabricator.wikimedia.org/T270949 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, DD063520 Cc: zhu

[Pywikipedia-bugs] [Maniphest] [Commented On] T270949: Cannot login into private wikibase using pywikibot

2021-03-05 Thread Xqt
Xqt added a comment. @DD063520 : I made a new implementation for registering family files. Are you able to test it? If appropriate I will update the documentation accordingly. TASK DETAIL https://phabricator.wikimedia.org/T270949 EMAIL PREFERENCES https://phabricator.wikimedia.org/settin

[Pywikipedia-bugs] [Maniphest] [Commented On] T270949: Cannot login into private wikibase using pywikibot

2021-03-05 Thread gerritbot
gerritbot added a comment. Change 668661 had a related patch set uploaded (by Xqt; owner: Xqt): [pywikibot/core@master] [bugfix] Re-enable setting private family files https://gerrit.wikimedia.org/r/668661 TASK DETAIL https://phabricator.wikimedia.org/T270949 EMAIL PREFERENCES http

[Pywikipedia-bugs] [Maniphest] [Commented On] T270949: Cannot login into private wikibase using pywikibot

2021-03-05 Thread DD063520
DD063520 added a comment. @Xqt: it is this commit -e git+https://github.com/wikimedia/pywikibot.git@083ed9341881f562167e732974df35ee051ba994#egg=pywikibot, so it is not even a version TASK DETAIL https://phabricator.wikimedia.org/T270949 EMAIL PREFERENCES https://phabricator.wikime

[Pywikipedia-bugs] [Maniphest] [Commented On] T270949: Cannot login into private wikibase using pywikibot

2021-03-05 Thread Xqt
Xqt added a comment. There are two issues: - register_families_folder does not convert relative paths to absolute paths - family.py seems to get a copy of config.family_files dict somehow; the registered families from user_config aren't included TASK DETAIL https://phabricator.wikime

[Pywikipedia-bugs] [Maniphest] [Commented On] T270949: Cannot login into private wikibase using pywikibot

2021-03-05 Thread DD063520
DD063520 added a comment. Thank you TASK DETAIL https://phabricator.wikimedia.org/T270949 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: DD063520 Cc: Xqt, pywikibot-bugs-list, Dhayanthdharma, DD063520, Aklapper, Jyoo1011, JohnsonLee01, SHEKH, Di

[Pywikipedia-bugs] [Maniphest] [Commented On] T270949: Cannot login into private wikibase using pywikibot

2021-03-04 Thread Xqt
Xqt added a comment. Sorry, haven't seen this task due to missing Pywikibot project tag. I'll investigate into this manner soon. TASK DETAIL https://phabricator.wikimedia.org/T270949 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, py