[Pywikipedia-bugs] [Maniphest] [Commented On] T185082: Pywikibot documentation is blank

2018-02-11 Thread Dalba
Dalba added a comment. In T185082#3961771, @Dvorapa wrote: Ok, the main part looks solved. Missing are only docs for some scripts, which I believe have error in their doc comments (a problem we could detect in console) The funny thing is that I was actually going to change the working directory

[Pywikipedia-bugs] [Maniphest] [Commented On] T185082: Pywikibot documentation is blank

2018-02-11 Thread Dvorapa
Dvorapa added a comment. Thanks @Dalba! :)TASK DETAILhttps://phabricator.wikimedia.org/T185082EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Dalba, DvorapaCc: Paladox, valhallasw, gerritbot, zhuyifei1999, Framawiki, hashar, rafidaslam, Legoktm, Dalba,

[Pywikipedia-bugs] [Maniphest] [Commented On] T185082: Pywikibot documentation is blank

2018-02-11 Thread Dalba
Dalba added a comment. In T185082#3961736, @Dvorapa wrote: Yeah, this looks like rel path issue. But wouldn't changing working directory break the other half that currently builds correctly? At least we will know for sure that it is actually a relative path issue. In T185082#3961755, @Dvorapa

[Pywikipedia-bugs] [Maniphest] [Commented On] T185082: Pywikibot documentation is blank

2018-02-11 Thread gerritbot
gerritbot added a comment. Change 409713 merged by jenkins-bot: [pywikibot/core@master] conf.py: Change the current working directory to docs directory https://gerrit.wikimedia.org/r/409713TASK DETAILhttps://phabricator.wikimedia.org/T185082EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T185082: Pywikibot documentation is blank

2018-02-11 Thread Dvorapa
Dvorapa added a comment. @Dalba: The PermissionError was the root cause of blank documentation. This rel path issue existed even before, as you can see e.g. in commit [[https://integration.wikimedia.org/ci/job/pywikibot-core-tox-doc-jessie/2404/console|[L10N] Update languages_by_size (21 November

[Pywikipedia-bugs] [Maniphest] [Commented On] T185082: Pywikibot documentation is blank

2018-02-11 Thread Dvorapa
Dvorapa added a comment. Yeah, this looks like rel path issue. But wouldn't changing working directory break the other half that currently builds correctly?TASK DETAILhttps://phabricator.wikimedia.org/T185082EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To:

[Pywikipedia-bugs] [Maniphest] [Commented On] T185082: Pywikibot documentation is blank

2018-02-11 Thread gerritbot
gerritbot added a comment. Change 409713 had a related patch set uploaded (by Dalba; owner: Dalba): [pywikibot/core@master] conf.py: Change the current working directory to docs directory https://gerrit.wikimedia.org/r/409713TASK DETAILhttps://phabricator.wikimedia.org/T185082EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T185082: Pywikibot documentation is blank

2018-02-11 Thread Dalba
Dalba added a comment. Hmm, now we have a ton of warnings: /src/docs/api_ref/pywikibot.rst:129: WARNING: toctree references unknown document 'api_ref/pywikibot.Page.content_model' /src/docs/api_ref/pywikibot.rst:129: WARNING: toctree references unknown document

[Pywikipedia-bugs] [Maniphest] [Commented On] T185082: Pywikibot documentation is blank

2018-02-11 Thread gerritbot
gerritbot added a comment. Change 409700 merged by jenkins-bot: [pywikibot/core@master] config2.py: Handle PermissionError while creating user-config directory https://gerrit.wikimedia.org/r/409700TASK DETAILhttps://phabricator.wikimedia.org/T185082EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T185082: Pywikibot documentation is blank

2018-02-11 Thread Dvorapa
Dvorapa added a comment. I see. I also don't really understand why os env variable is ignored, I feel like it is hardcoded by testenv and can not be changed somehow or it is hardcoded after conf.py is processed? Let's try to avoid PermissionsError and see, what we'll getTASK

[Pywikipedia-bugs] [Maniphest] [Commented On] T185082: Pywikibot documentation is blank

2018-02-11 Thread gerritbot
gerritbot added a comment. Change 409700 had a related patch set uploaded (by Dalba; owner: Dalba): [pywikibot/core@master] config2.py: Handle PermissionError while creating user-config directory https://gerrit.wikimedia.org/r/409700TASK DETAILhttps://phabricator.wikimedia.org/T185082EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T185082: Pywikibot documentation is blank

2018-02-11 Thread Dalba
Dalba added a comment. In T185082#3961344, @Dvorapa wrote: Maybe the issue is in the commit I mentioned above? Honestly, I don't know :) Right now, I'm trying to make sense of the log file. We have the following error: 00:00:33.283 /src/docs/api_ref/pywikibot.rst:4: WARNING: autodoc: failed

[Pywikipedia-bugs] [Maniphest] [Commented On] T185082: Pywikibot documentation is blank

2018-02-11 Thread Dvorapa
Dvorapa added a comment. In T185082#3961310, @Dalba wrote: The previous change didn't help. Maybe the issue is in the commit I mentioned above? Also noticed that the documentation build at http://pywikibot.readthedocs.io/en/latest/ is very outdated. The last successful build is 2 years and 7

[Pywikipedia-bugs] [Maniphest] [Commented On] T185082: Pywikibot documentation is blank

2018-02-11 Thread gerritbot
gerritbot added a comment. Change 409574 merged by jenkins-bot: [pywikibot/core@master] doc/conf.py: Use the parent of the current file, not the parent of cwd https://gerrit.wikimedia.org/r/409574TASK DETAILhttps://phabricator.wikimedia.org/T185082EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T185082: Pywikibot documentation is blank

2018-02-10 Thread gerritbot
gerritbot added a comment. Change 409574 had a related patch set uploaded (by Dalba; owner: Dalba): [pywikibot/core@master] doc/conf.py: Use the parent of the current file, not the parent of cwd https://gerrit.wikimedia.org/r/409574TASK DETAILhttps://phabricator.wikimedia.org/T185082EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T185082: Pywikibot documentation is blank

2018-02-04 Thread Dvorapa
Dvorapa added a comment. @Legoktm @rafidaslam Well, I thought https://gerrit.wikimedia.org/r/#/c/403436/ could solve the issue, but maybe you are right. Look on lines 73 and 94 in https://gerrit.wikimedia.org/r/#/c/404448/. The source of doc is changed here, is that correct? (@hashar)TASK

[Pywikipedia-bugs] [Maniphest] [Commented On] T185082: Pywikibot documentation is blank

2018-01-20 Thread rafidaslam
rafidaslam added a comment. Yes, I think this happened after https://gerrit.wikimedia.org/r/#/c/404448/ merged. I still have no Idea what is that /nonexistent :/TASK DETAILhttps://phabricator.wikimedia.org/T185082EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T185082: Pywikibot documentation is blank

2018-01-20 Thread Xqt
Xqt added a comment. A new sphinx release was published on 8th january. Maybe that caused it?TASK DETAILhttps://phabricator.wikimedia.org/T185082EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: Xqt, Aklapper, pywikibot-bugs-list, Dvorapa, Cpaulf30,