[Pywikipedia-bugs] [Maniphest] [Commented On] T278076: Allow import pywikibot without using and properly configuring it - e.g. with no families directory available

2021-03-22 Thread Xqt
Xqt added a comment. Pretty sure this is a py2app issue. register_families_folder uses os.listdir() which obviously fails for a folder inside a zip file. What to do in this matter? - find a way to configure py2app in a way to exclude the family folder to be zipped - find a way to get

[Pywikipedia-bugs] [Maniphest] [Commented On] T278046: Convert epytext docstrings to reST (sphinx)

2021-03-22 Thread Xqt
Xqt added a comment. I am not happy with `darglint` docstring checker. It introduces a new undocumented `yield(s)` Sphinx token and does not handle `*args` and `**kwargs` parameter correctly (needs the the stars for the parameter name) and finally it is not possible to keyword token

[Pywikipedia-bugs] [Maniphest] [Merged] T276250: Add support for trvwiki to Pywikibot

2021-03-22 Thread Zabe
Zabe merged a task: T278143: Add support for trvwiki to Pywikibot. TASK DETAIL https://phabricator.wikimedia.org/T276250 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Zabe Cc: Zabe, Aklapper, Maintenance_bot, pywikibot-bugs-list, Jyoo1011,

[Pywikipedia-bugs] [Maniphest] [Updated] T278143: Add support for trvwiki to Pywikibot

2021-03-22 Thread Zabe
Zabe closed this task as a duplicate of T276250: Add support for trvwiki to Pywikibot. TASK DETAIL https://phabricator.wikimedia.org/T278143 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Zabe Cc: Zabe, Aklapper, Maintenance_bot,

[Pywikipedia-bugs] [Maniphest] [Created] T278143: Add support for trvwiki to Pywikibot

2021-03-22 Thread Maintenance_bot
Maintenance_bot created this task. Maintenance_bot added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Per https://wikitech.wikimedia.org/wiki/Add_a_wiki once the wiki has been created TASK DETAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T278076: Allow import pywikibot without using and properly configuring it - e.g. with no families directory available

2021-03-22 Thread Xqt
Xqt added a comment. In T278076#6934165 , @Seppl2013 wrote: > The sample > > % python > Python 3.8.8 (default, Mar 18 2021, 06:01:57) > [Clang 11.0.3 (clang-1103.0.32.62)] on darwin > Type "help", "copyright",

[Pywikipedia-bugs] [Maniphest] [Commented On] T278076: Allow import pywikibot without using and properly configuring it - e.g. with no families directory available

2021-03-22 Thread Seppl2013
Seppl2013 added a comment. The sample % python Python 3.8.8 (default, Mar 18 2021, 06:01:57) [Clang 11.0.3 (clang-1103.0.32.62)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from wikibot import wikibot >>> Doesn't help

[Pywikipedia-bugs] [Maniphest] [Commented On] T278076: Allow import pywikibot without using and properly configuring it - e.g. with no families directory available

2021-03-22 Thread Xqt
Xqt added a comment. In T278076#6934156 , @Seppl2013 wrote: > @Xqt https://github.com/WolfgangFahl/py-3rdparty-mediawiki/issues/43 has the issue about pycrypto... > > Which sample are you talking about? How could i get a traceback

[Pywikipedia-bugs] [Maniphest] [Commented On] T278076: Allow import pywikibot without using and properly configuring it - e.g. with no families directory available

2021-03-22 Thread Seppl2013
Seppl2013 added a comment. @Xqt https://github.com/WolfgangFahl/py-3rdparty-mediawiki/issues/43 has the issue about pycrypto... Which sample are you talking about? How could i get a traceback if i only try an import without catching the Exception. I am in the process of adding

[Pywikipedia-bugs] [Maniphest] [Commented On] T278076: Allow import pywikibot without using and properly configuring it - e.g. with no families directory available

2021-03-22 Thread Xqt
Xqt added a comment. In T278076#6933794 , @Seppl2013 wrote: > If you then do a > > import pywikibot This doesn't help. As shown above importing pywikibot from site-package works without any failing. Please try the same sample

[Pywikipedia-bugs] [Maniphest] [Commented On] T278076: Allow import pywikibot without using and properly configuring it - e.g. with no families directory available

2021-03-22 Thread Seppl2013
Seppl2013 added a comment. see https://github.com/WolfgangFahl/py-3rdparty-mediawiki/commit/8ab0bd846d191fa93cfd661c89e2bc769d69f06b for trying this workaround TASK DETAIL https://phabricator.wikimedia.org/T278076 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Merged] T276250: Add support for trvwiki to Pywikibot

2021-03-22 Thread Peachey88
Peachey88 merged a task: T278098: Add support for trvwiki to Pywikibot. TASK DETAIL https://phabricator.wikimedia.org/T276250 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Zabe, Peachey88 Cc: Zabe, Aklapper, Maintenance_bot, pywikibot-bugs-list,

[Pywikipedia-bugs] [Maniphest] [Updated] T278098: Add support for trvwiki to Pywikibot

2021-03-22 Thread Peachey88
Peachey88 closed this task as a duplicate of T276250: Add support for trvwiki to Pywikibot. TASK DETAIL https://phabricator.wikimedia.org/T278098 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Peachey88 Cc: Aklapper, Maintenance_bot,

[Pywikipedia-bugs] [Maniphest] [Commented On] T277890: Unnecessary else/elif used after raise

2021-03-22 Thread Helix17
Helix17 added a comment. @Xqt Sir, Can you please help me a little. I am having problems in pushing the changes for code review. I am having this error: "error: failed to push some refs to 'https://gerrit.wikimedia.org/r/pywikibot/core' ". TASK DETAIL

[Pywikipedia-bugs] [Maniphest] [Created] T278098: Add support for trvwiki to Pywikibot

2021-03-22 Thread Maintenance_bot
Maintenance_bot created this task. Maintenance_bot added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION Per https://wikitech.wikimedia.org/wiki/Add_a_wiki once the wiki has been created TASK DETAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T278076: Allow import pywikibot without using and properly configuring it - e.g. with no families directory available

2021-03-22 Thread Seppl2013
Seppl2013 added a comment. If you then do a import pywikibot This will already activate some code which might fail. Even if you do import os os.environ["PYWIKIBOT_NO_USER_CONFIG"]="2" you might end up with an exception. Since code I am publishing might be

[Pywikipedia-bugs] [Maniphest] [Commented On] T278076: Allow import pywikibot without using and properly configuring it - e.g. with no families directory available

2021-03-22 Thread Xqt
Xqt added a comment. Could you explain a bit more. Probably make a short sample to demonstrate that issue. Installing pywikibot as a site-package works like this: C:\pwb>python Python 3.9.0 (tags/v3.9.0:9cf6752, Oct 5 2020, 15:34:40) [MSC v.1927 64 bit (AMD64)] on win32 Type

[Pywikipedia-bugs] [Maniphest] [Block] T276250: Add support for trvwiki to Pywikibot

2021-03-22 Thread Marostegui
Marostegui reopened subtask T276246: Create Wikipedia Kari Seediq as Open. TASK DETAIL https://phabricator.wikimedia.org/T276250 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Zabe, Marostegui Cc: Zabe, Aklapper, Maintenance_bot,

[Pywikipedia-bugs] [Maniphest] [Updated] T278076: Allow import pywikibot without using and properly configuring it - e.g. with no families directory available

2021-03-22 Thread Aklapper
Aklapper changed the subtype of this task from "Bug Report" to "Feature Request". Aklapper added a comment. This is not a bug. TASK DETAIL https://phabricator.wikimedia.org/T278076 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Aklapper Cc:

[Pywikipedia-bugs] [Maniphest] [Updated] T278076: Allow import pywikibot without using and properly configuring it - e.g. with no families directory available

2021-03-22 Thread Legoktm
Legoktm added a project: Pywikibot. Restricted Application added a subscriber: pywikibot-bugs-list. TASK DETAIL https://phabricator.wikimedia.org/T278076 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Legoktm Cc: pywikibot-bugs-list, Aklapper,

[Pywikipedia-bugs] [Maniphest] [Updated] T278046: Convert epytext docstrings to reST (sphinx)

2021-03-22 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T278046 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, gerritbot Cc: jayvdb, Huji, Aklapper, Xqt, pywikibot-bugs-list, Jyoo1011, JohnsonLee01, SHEKH,

[Pywikipedia-bugs] [Maniphest] [Commented On] T278046: Convert epytext docstrings to reST (sphinx)

2021-03-22 Thread gerritbot
gerritbot added a comment. Change 673836 had a related patch set uploaded (by Xqt; owner: Xqt): [pywikibot/core@master] [doc] convert epytext docstrings to sphinx format https://gerrit.wikimedia.org/r/673836 TASK DETAIL https://phabricator.wikimedia.org/T278046 EMAIL PREFERENCES