[Pywikipedia-bugs] [Maniphest] [Commented On] T153891: generate_family_file.py crashes for a private wiki

2018-11-04 Thread zhuyifei1999
zhuyifei1999 added a comment. Just find a random private wiki: tools.zhuyifei1999-test@tools-bastion-02:~$ PYWIKIBOT_NO_USER_CONFIG=1 python /shared/pywikipedia/core/pwb.py /shared/pywikipedia/core/generate_family_file.py https://advisors.wikimedia.org/wiki/Main_Page a_private_wiki Skipping loadin

[Pywikipedia-bugs] [Maniphest] [Commented On] T153891: generate_family_file.py crashes for a private wiki

2018-11-03 Thread Betacommand
Betacommand added a comment. Looks like this is still happening. Example: generate_family_file.py https://www.mywiki.bogus/wiki/Main_Page mywiki This will create the file mywiki_family.py in pywikibot\families Please insert a short name (eg: freeciv): localwiki Generating family file from http://

[Pywikipedia-bugs] [Maniphest] [Commented On] T153891: generate_family_file.py crashes for a private wiki

2018-03-31 Thread gerritbot
gerritbot added a comment. Change 423234 merged by jenkins-bot: [pywikibot/core@master] Implement a workaround to generate family file for private wikis https://gerrit.wikimedia.org/r/423234TASK DETAILhttps://phabricator.wikimedia.org/T153891EMAIL PREFERENCEShttps://phabricator.wikimedia.org/setti

[Pywikipedia-bugs] [Maniphest] [Commented On] T153891: generate_family_file.py crashes for a private wiki

2018-03-31 Thread gerritbot
gerritbot added a comment. Change 423234 had a related patch set uploaded (by Dalba; owner: Dalba): [pywikibot/core@master] Implement a workaround to generate family file for private wikis https://gerrit.wikimedia.org/r/423234TASK DETAILhttps://phabricator.wikimedia.org/T153891EMAIL PREFERENCEShtt

[Pywikipedia-bugs] [Maniphest] [Commented On] T153891: generate_family_file.py crashes for a private wiki

2017-06-26 Thread maiden_taiwan
maiden_taiwan added a comment. The error behavior has changed in the current version of pywikibot. The error is now RuntimeError: Unable to determine articlepath. $ ./generate_family_file.py https://privatewiki.example.com/ test Generating family file from https://privatewiki.example.com/ Tracebac

[Pywikipedia-bugs] [Maniphest] [Commented On] T153891: generate_family_file.py crashes for a private wiki

2017-03-01 Thread MarcoAurelio
MarcoAurelio added a comment. Hapening to me just today. Branch master. See merged task for details. Latest version.TASK DETAILhttps://phabricator.wikimedia.org/T153891EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MarcoAurelioCc: Xqt, Mpaa, valhallasw, Marco

[Pywikipedia-bugs] [Maniphest] [Commented On] T153891: generate_family_file.py crashes for a private wiki

2017-02-03 Thread maiden_taiwan
maiden_taiwan added a comment. Suggestion: Allow the user to provide the missing site information, either on the command line (using options), in a configuration file, or during script execution if the script can prompt the user interactively.TASK DETAILhttps://phabricator.wikimedia.org/T153891EMAI

[Pywikipedia-bugs] [Maniphest] [Commented On] T153891: generate_family_file.py crashes for a private wiki

2017-02-03 Thread zhuyifei1999
zhuyifei1999 added a comment. Current implementation: The dynamic site loader, site_detect.py, cannot determine some of the site information without logging in, and quits reading intentionally. This information includes the site language, and this is why AttributeError: 'MWSite' object has no attri

[Pywikipedia-bugs] [Maniphest] [Commented On] T153891: generate_family_file.py crashes for a private wiki

2016-12-21 Thread maiden_taiwan
maiden_taiwan added a comment. Looks like the tip doesn't work for logging into private wikis either. I'll file a bug report.TASK DETAILhttps://phabricator.wikimedia.org/T153891EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: maiden_taiwanCc: Magul, Aklapper, m

[Pywikipedia-bugs] [Maniphest] [Commented On] T153891: generate_family_file.py crashes for a private wiki

2016-12-21 Thread maiden_taiwan
maiden_taiwan added a comment. Here's the output of generate_family_file.py on a private wiki using your primary repository: $ ./generate_family_file.py https://privatewiki.example.com/wiki/Main_Page test Generating family file from https://privatewiki.example.com/wiki/Main_Page Traceback (most re

[Pywikipedia-bugs] [Maniphest] [Commented On] T153891: generate_family_file.py crashes for a private wiki

2016-12-21 Thread Magul
Magul added a comment. Primary repository is available here: ssh://gerrit.wikimedia.org:29418/pywikibot/core If it will not work (there some issue with broken connection), we have (semi-)official mirror here: https://github.com/wikimedia/pywikibot-coreTASK DETAILhttps://phabricator.wikimedia.org/T

[Pywikipedia-bugs] [Maniphest] [Commented On] T153891: generate_family_file.py crashes for a private wiki

2016-12-21 Thread maiden_taiwan
maiden_taiwan added a comment. @Magul - Thanks, I was not aware that I was using an outdated branch. I just followed the instructions in your official docs at https://www.mediawiki.org/wiki/Manual:Pywikibot/Installation. What is the URL for git cloning your master branch?TASK DETAILhttps://phabric