[Pywikipedia-bugs] [Maniphest] [Commented On] T188246: pywikibot.exceptions.NoUsername: ERROR

2018-02-27 Thread Dalba
Dalba added a comment. In T188246#4005858, @MuhammadShuaib wrote: I am running script via jsub command, how to do this in cron? One way to do it is to create a myscript.sh file containing: #!/usr/bin/env bash export PYWIKIBOT2_DIR=/absolute/path/to/your/user-config/directory python pwb.py

[Pywikipedia-bugs] [Maniphest] [Commented On] T188246: pywikibot.exceptions.NoUsername: ERROR

2018-02-27 Thread Dalba
Dalba added a comment. Thanks! It seems to me that pywikibot is not able to find your user-config.py. What is the path of your user-config.py ? (it normally should be the same directory as pwb.py or in ~/.pywikibot) You could try setting the PYWIKIBOT2_DIR environment variable (export

[Pywikipedia-bugs] [Maniphest] [Commented On] T188246: pywikibot.exceptions.NoUsername: ERROR

2018-02-27 Thread Dalba
Dalba added a comment. Could you also give the result of cat user-config.py?TASK DETAILhttps://phabricator.wikimedia.org/T188246EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Dalba, zhuyifei1999, matej_suchanek, Aklapper, pywikibot-bugs-list

[Pywikipedia-bugs] [Maniphest] [Commented On] T188246: pywikibot.exceptions.NoUsername: ERROR

2018-02-26 Thread Dalba
Dalba added a comment. What is the output of python pwb.py version? What is the command that your are using to invoke the script? Make sure you don't have another user-config.py in your working directory. (that will override the one in .pywikibot directory.)TASK DETAILhttps

[Pywikipedia-bugs] [Maniphest] [Unblock] T184508: Drop support for Python 3.3

2018-02-14 Thread Dalba
Dalba closed subtask T186991: Some tests fails with AttributeError: type object 'test' has no attribute 'install_dists' as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T184508EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Xq

[Pywikipedia-bugs] [Maniphest] [Commented On] T106121: RFC removing old code / code cleanup

2018-02-13 Thread Dalba
Dalba added a comment. In T106121#3967489, @Dvorapa wrote: Will we require to increment PATCH number for every bugfix made and MINOR for every improvement? Based on our current release cycle, I presume that we can keep developing on the dev (pre-release) version. The person who is going

[Pywikipedia-bugs] [Maniphest] [Commented On] T106121: RFC removing old code / code cleanup

2018-02-13 Thread Dalba
Dalba added a comment. In T106121#3962754, @Dvorapa wrote: But I personally more like 3.1.20180212 (major.incompatibility.stamp). Under semver any incompatibility in API is considered a major change. In a major.incompatibility.stamp scheme, what kind of change will be associated with major

[Pywikipedia-bugs] [Maniphest] [Commented On] T106121: RFC removing old code / code cleanup

2018-02-11 Thread Dalba
Dalba added a comment. In T106121#3883666, @Xqt wrote: I propose to increase the minor release for backward incompatibility e.g. remove older depecated parts. Increasing minor version for backward incompatibility? Is there any package that does that? I think it'll confuse users. I personally

[Pywikipedia-bugs] [Maniphest] [Edited] T187008: Pywikibot documentation on readthedocs is horribly outdated

2018-02-11 Thread Dalba
Dalba updated the task description. (Show Details) CHANGES TO TASK DESCRIPTIONAs pointed out in T185082, the docs on https://readthedocs.org/projects/pywikibot/ are 2 yrs and 7 months old for latest and even older for stable. Theay are generated from @jayvdb's GitHub fork, but the fork wasn't

[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 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 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 'api_ref

[Pywikipedia-bugs] [Maniphest] [Closed] T186999: pywikibot-core-tox-docker is failing with "T001 print found." errors

2018-02-11 Thread Dalba
Dalba closed this task as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T186999EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: gerritbot, TerraCodes, Jay8g, Liuxinyu970226, Aklapper, pywikibot-bugs-list, Dalba, Giuliamocci,

[Pywikipedia-bugs] [Maniphest] [Claimed] T186999: pywikibot-core-tox-docker is failing with "T001 print found." errors

2018-02-11 Thread Dalba
Dalba claimed this task. TASK DETAILhttps://phabricator.wikimedia.org/T186999EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: TerraCodes, Jay8g, Liuxinyu970226, Aklapper, pywikibot-bugs-list, Dalba, Magul, Tbscho, rafidaslam, MayS, Mdupont, JJMC89

[Pywikipedia-bugs] [Maniphest] [Edited] T186999: pywikibot-core-tox-docker is failing with "T001 print found." errors

2018-02-11 Thread Dalba
Dalba updated the task description. (Show Details) CHANGES TO TASK DESCRIPTIONSee https://integration.wikimedia.org/ci/job/pywikibot-core-tox-docker/1260/console A new version of `flake8-print` (3.1.0) has been released about 4 hours ago. Wago which is the probable causemight have caused

[Pywikipedia-bugs] [Maniphest] [Triaged] T186999: pywikibot-core-tox-docker is failing with "T001 print found." errors

2018-02-11 Thread Dalba
Dalba triaged this task as "Unbreak Now!" priority.Herald added subscribers: Liuxinyu970226, Jay8g, TerraCodes. TASK DETAILhttps://phabricator.wikimedia.org/T186999EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: TerraCodes, Jay8g, Liux

[Pywikipedia-bugs] [Maniphest] [Created] T186999: pywikibot-core-tox-docker is failing with "T001 print found." errors

2018-02-11 Thread Dalba
Dalba created this task.Dalba added projects: Pywikibot-tests, Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONSee https://integration.wikimedia.org/ci/job/pywikibot-core-tox-docker/1260/console flake8-print has been released about 4 hours ago. Which

[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] [Updated] T185082: Pywikibot documentation is blank

2018-02-11 Thread Dalba
Dalba removed a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T185082EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: valhallasw, gerritbot, zhuyifei1999, Framawiki, hashar, rafidaslam, Legoktm, Dalba, jayvdb, Xqt, Aklapper

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T185082: Pywikibot documentation is blank

2018-02-11 Thread Dalba
Dalba added a subscriber: valhallasw.Dalba added a comment. The previous change didn't help. Also noticed that the documentation build at http://pywikibot.readthedocs.io/en/latest/ is very outdated. The last successful build is 2 years and 2 months old? If we are not going to maintain that, it's

[Pywikipedia-bugs] [Maniphest] [Commented On] T186991: Some tests fails with AttributeError: type object 'test' has no attribute 'install_dists'

2018-02-11 Thread Dalba
Dalba added a comment. It seems to be related to pytest-runner.TASK DETAILhttps://phabricator.wikimedia.org/T186991EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Aklapper, pywikibot-bugs-list, Dalba, Xqt, Magul, Tbscho, rafidaslam, MayS, Mdupont

[Pywikipedia-bugs] [Maniphest] [Closed] T186985: KeyError: u"Log entry (renameuser) has no 'comment' key"

2018-02-11 Thread Dalba
Dalba closed this task as "Resolved".Dalba claimed this task. TASK DETAILhttps://phabricator.wikimedia.org/T186985EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: gerritbot, Aklapper, pywikibot-bugs-list, Dalba, Giuliamocci, Adrian1985

[Pywikipedia-bugs] [Maniphest] [Closed] T186968: Add Nepali Template:User sandbox in clean_sandbox.py

2018-02-10 Thread Dalba
Dalba closed this task as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T186968EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Tulsi_Bhagat, DalbaCc: Zoranzoki21, Xqt, Jayprakash12345, Aklapper, pywikibot-bugs-list, Tulsi_Bhagat, G

[Pywikipedia-bugs] [Maniphest] [Updated] T186985: KeyError: u"Log entry (renameuser) has no 'comment' key"

2018-02-10 Thread Dalba
Dalba added a commit: rPWBC73208751f8c1: [bugfix] Check KeyError for hidden logentry comment. TASK DETAILhttps://phabricator.wikimedia.org/T186985EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: gerritbot, Aklapper, pywikibot-bugs-list, Dalba

[Pywikipedia-bugs] [Maniphest] [Commented On] T186985: KeyError: u"Log entry (renameuser) has no 'comment' key"

2018-02-10 Thread Dalba
Dalba added a comment. https://travis-ci.org/wikimedia/pywikibot/jobs/339874487#L4452 TestSimpleLogentries.test_simple_entries_dewp _ self = def wrapped_method(self): sitedata = self.sites[key] self.site_key = key self.family

[Pywikipedia-bugs] [Maniphest] [Triaged] T186985: KeyError: u"Log entry (renameuser) has no 'comment' key"

2018-02-10 Thread Dalba
Dalba triaged this task as "High" priority. TASK DETAILhttps://phabricator.wikimedia.org/T186985EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Aklapper, pywikibot-bugs-list, Dalba, Magul, Tbscho, rafidaslam, MayS, Mdupont, JJMC89, A

[Pywikipedia-bugs] [Maniphest] [Created] T186985: KeyError: u"Log entry (renameuser) has no 'comment' key"

2018-02-10 Thread Dalba
Dalba created this task.Dalba added projects: Pywikibot-tests, Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONhttps://travis-ci.org/wikimedia/pywikibot/jobs/339874481#L5400 == ERROR

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T186465: diff-checker.py should not check lines where only indentation changed

2018-02-04 Thread Dalba
Dalba added a subscriber: Xqt.Dalba added a comment. It can be done, but I'm not sure if it's necessary or desired. Diff-checker errors are very easy to fix and I look at this as an opportunity to improve the code. Also git tools like blame and diff will blame you for the change by default, even

[Pywikipedia-bugs] [Maniphest] [Closed] T186459: imagecopy_self.imageFetcher.getNewFieldsFromInformation getNewFieldsFromInformation

2018-02-04 Thread Dalba
Dalba closed this task as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T186459EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, DalbaCc: gerritbot, Aklapper, Dalba, Xqt, pywikibot-bugs-list, Adrian1985, Cpaulf30, Baloch007, Dar

[Pywikipedia-bugs] [Maniphest] [Commented On] T186412: LoginManager.botAllowed compares Page object with string

2018-02-04 Thread Dalba
Dalba added a comment. Possible similar issue in imagecopy_self.py and solve_disambiguation.py.TASK DETAILhttps://phabricator.wikimedia.org/T186412EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, DalbaCc: valhallasw, Lokal_Profil, Dalba, gerritbot

[Pywikipedia-bugs] [Maniphest] [Commented On] T186255: [RFC] Allow 100 characters per line

2018-02-02 Thread Dalba
Dalba added a comment. In T186255#3939172, @Dvorapa wrote: In these days of 16:9 monitors and 1920x1080 resolutions (usual notebook for everyday use) it is funny to restrict lines to a third of a monitor just to be able to make 3-way comparison? Or why? The screen resolution of my desktop

[Pywikipedia-bugs] [Maniphest] [Commented On] T186316: solve_disambiguation_tests are failing with AssertionError: source parameter should be either a Site or Page object

2018-02-02 Thread Dalba
Dalba added a comment. The first argument of pywikibot.Link should be text. The second argument is the source.TASK DETAILhttps://phabricator.wikimedia.org/T186316EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Dvorapa, Aklapper, pywikibot-bugs-list

[Pywikipedia-bugs] [Maniphest] [Retitled] T186316: solve_disambiguation_tests are failing with AssertionError: source parameter should be either a Site or Page object

2018-02-02 Thread Dalba
Dalba renamed this task from "Travis builds are failing with AssertionError: source parameter should be either a Site or Page object" to "solve_disambiguation_tests are failing with AssertionError: source parameter should be either a Site or Page object&quo

[Pywikipedia-bugs] [Maniphest] [Created] T186316: Travis builds are failing with AssertionError: source parameter should be either a Site or Page object

2018-02-02 Thread Dalba
Dalba created this task.Dalba added projects: Pywikibot-core, Pywikibot-tests.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONhttps://travis-ci.org/wikimedia/pywikibot/jobs/336514923#L4758 == FAIL

[Pywikipedia-bugs] [Maniphest] [Triaged] T186316: Travis builds are failing with AssertionError: source parameter should be either a Site or Page object

2018-02-02 Thread Dalba
Dalba triaged this task as "High" priority. TASK DETAILhttps://phabricator.wikimedia.org/T186316EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Aklapper, pywikibot-bugs-list, Dalba, Magul, Tbscho, rafidaslam, MayS, Mdupont, JJMC89, A

[Pywikipedia-bugs] [Maniphest] [Claimed] T186301: diff-checker fails with UnicodeDecodeError

2018-02-01 Thread Dalba
Dalba claimed this task. TASK DETAILhttps://phabricator.wikimedia.org/T186301EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Dvorapa, Aklapper, Dalba, Xqt, pywikibot-bugs-list, Magul, Tbscho, rafidaslam, MayS, Mdupont, JJMC89, Avicennasis, jayvdb

[Pywikipedia-bugs] [Maniphest] [Commented On] T184713: EventStreams doesnt find any messages anymore

2018-02-01 Thread Dalba
Dalba added a comment. The default requests version available on Toolforge is 2.2.1. Is it OK to require 2.9?TASK DETAILhttps://phabricator.wikimedia.org/T184713EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, DalbaCc: Dalba, Petrb, gerritbot, Framawiki

[Pywikipedia-bugs] [Maniphest] [Closed] T186000: Some linter tests fails on musicbrainz family

2018-02-01 Thread Dalba
Dalba closed this task as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T186000EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, DalbaCc: gerritbot, Dalba, Dvorapa, Framawiki, Aklapper, Mpaa, Xqt, pywikibot-bugs-list, Adrian1985

[Pywikipedia-bugs] [Maniphest] [Unblock] T185519: Add support for Linter API in PageGenerators

2018-02-01 Thread Dalba
Dalba closed subtask T186000: Some linter tests fails on musicbrainz family as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T185519EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Mpaa, DalbaCc: gerritbot, Framawiki, Inductiveloa

[Pywikipedia-bugs] [Maniphest] [Unassigned] T184508: Drop support for Python 3.3

2018-01-25 Thread Dalba
Dalba removed Dalba as the assignee of this task. TASK DETAILhttps://phabricator.wikimedia.org/T184508EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Xqt, Dvorapa, gerritbot, Aklapper, pywikibot-bugs-list, Dalba, Adrian1985, Cpaulf30, Baloch007

[Pywikipedia-bugs] [Maniphest] [Declined] T185681: Installation of olefile is failing on Python 3.3 appveyor builds

2018-01-25 Thread Dalba
Dalba closed this task as "Declined".Dalba added a comment. I hope we can get rid of 3.3 soon, i.e. before oldefile breaks again.TASK DETAILhttps://phabricator.wikimedia.org/T185681EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: gerritbot

[Pywikipedia-bugs] [Maniphest] [Edited] T185681: Installation of olefile is failing on Python 3.3 appveyor builds

2018-01-25 Thread Dalba
Dalba updated the task description. (Show Details) CHANGES TO TASK DESCRIPTIONhttps://ci.appveyor.com/project/Ladsgroup/pywikibot-g4xqx/build/1.0.76 ```...TASK DETAILhttps://phabricator.wikimedia.org/T185681EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences

[Pywikipedia-bugs] [Maniphest] [Created] T185681: Installation of olefile is failing on Python 3.3 appveyor builds

2018-01-25 Thread Dalba
Dalba created this task.Dalba added a project: Pywikibot-tests.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONSearching for olefile Reading https://pypi.python.org/simple/olefile/ Downloading https://pypi.python.org/packages/10/1b

[Pywikipedia-bugs] [Maniphest] [Closed] T185392: cleanUpSectionHeaders doesn't work with tabs

2018-01-23 Thread Dalba
Dalba closed this task as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T185392EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Dvorapa, DalbaCc: gerritbot, Aklapper, pywikibot-bugs-list, Dvorapa, Adrian1985, Cpaulf30, Baloch007, Dar

[Pywikipedia-bugs] [Maniphest] [Closed] T184692: version.py result is wrongly "OUTDATED" for SVN repository

2018-01-22 Thread Dalba
Dalba closed this task as "Resolved".Dalba claimed this task.Dalba added a comment. I'm marking this task as resolved because the main purpose of this task (wrong OUTDATED status) is resolved. We can improve the deprecated getversion_svn function, but I'm not sure if it's worth it. We

[Pywikipedia-bugs] [Maniphest] [Closed] T185491: python3 pwb.py version fails when there is no vcs

2018-01-22 Thread Dalba
Dalba closed this task as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T185491EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: gerritbot, Aklapper, pywikibot-bugs-list, Dalba, Adrian1985, Cpaulf30, Baloch007, Darkminds311

[Pywikipedia-bugs] [Maniphest] [Commented On] T184692: version.py result is wrongly "OUTDATED" for SVN repository

2018-01-22 Thread Dalba
Dalba added a comment. The above path will change the status to UNKNOWN. The issue is that the getversion_svn function (which is deprecated in favour of getversion_svn_setuptools) is not able to find the hash string. The easiest solution is to pip install setuptools_svn. This makes

[Pywikipedia-bugs] [Maniphest] [Created] T185491: python3 pwb.py version fails when there is no vcs

2018-01-22 Thread Dalba
Dalba created this task.Dalba added a project: Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONTemporarily remove the .git directory. $python3 pwb.py version Traceback (most recent call last): File "pwb.py", line 263, in <module> if no

[Pywikipedia-bugs] [Maniphest] [Commented On] T184081: Convert pywikibot wikibase tests to dry tests by using vcrpy

2018-01-21 Thread Dalba
Dalba added a comment. It timeouts on trying to re-login. The reason being that the VCRed response contains a username which does not match the value of site.user(). See https://phabricator.wikimedia.org/diffusion/PWBC/browse/master/pywikibot/data/api.py;d23f618a685394b3ae21b43e14db1f11a1fe10a5

[Pywikipedia-bugs] [Maniphest] [Triaged] T185401: Unexpected ResourceWarning in TestDeprecatedDataSiteMethods.test_get_descriptions

2018-01-20 Thread Dalba
Dalba triaged this task as "Normal" priority. TASK DETAILhttps://phabricator.wikimedia.org/T185401EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: gerritbot, Aklapper, pywikibot-bugs-list, Dalba, Adrian1985, Cpaulf30, Baloch007, Darkminds311

[Pywikipedia-bugs] [Maniphest] [Reopened] T181913: test_url_image (tests.proofreadpage_tests.TestProofreadPageValidSite) sometimes fails

2018-01-20 Thread Dalba
Dalba reopened this task as "Open". TASK DETAILhttps://phabricator.wikimedia.org/T181913EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, DalbaCc: Mpaa, gerritbot, Xqt, Framawiki, Aklapper, pywikibot-bugs-list, Dalba, Adrian1985, Cpaulf30,

[Pywikipedia-bugs] [Maniphest] [Commented On] T181913: test_url_image (tests.proofreadpage_tests.TestProofreadPageValidSite) sometimes fails

2018-01-20 Thread Dalba
Dalba added a comment. The test still fails from time to time, the new traceback is: https://travis-ci.org/wikimedia/pywikibot/jobs/331196015#L5369 == ERROR: test_url_image (tests.proofreadpage_tests.TestProofreadPageValidSite

[Pywikipedia-bugs] [Maniphest] [Edited] T181913: test_url_image (tests.proofreadpage_tests.TestProofreadPageValidSite) sometimes fails

2018-01-20 Thread Dalba
Dalba updated the task description. (Show Details) CHANGES TO TASK DESCRIPTIONhttps://travis-ci.org/5j9/pywikibot-core/jobs/310700716#L4756 ```lang=python == ERROR: test_url_image

[Pywikipedia-bugs] [Maniphest] [Edited] T181913: test_url_image (tests.proofreadpage_tests.TestProofreadPageValidSite) sometimes fails

2018-01-20 Thread Dalba
Dalba updated the task description. (Show Details) CHANGES TO TASK DESCRIPTIONhttps://travis-ci.org/wikimedia5j9/pywikibot-core/jobs/331196015#L5369 310700716#L4756 ```lang=python == ERROR: test_url_image

[Pywikipedia-bugs] [Maniphest] [Edited] T181913: test_url_image (tests.proofreadpage_tests.TestProofreadPageValidSite) sometimes fails

2018-01-20 Thread Dalba
Dalba updated the task description. (Show Details) CHANGES TO TASK DESCRIPTIONhttps://travis-ci.org/5j9wikimedia/pywikibot-core/jobs/310700716#L4756331196015#L5369 ```lang=python == ERROR: test_url_image

[Pywikipedia-bugs] [Maniphest] [Updated] T185403: test_url_image sometimes fails with ValueError: No prp-page-image src found

2018-01-20 Thread Dalba
Dalba closed this task as a duplicate of T181913: test_url_image (tests.proofreadpage_tests.TestProofreadPageValidSite) sometimes fails. TASK DETAILhttps://phabricator.wikimedia.org/T185403EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Aklapper

[Pywikipedia-bugs] [Maniphest] [Merged] T181913: test_url_image (tests.proofreadpage_tests.TestProofreadPageValidSite) sometimes fails

2018-01-20 Thread Dalba
Dalba merged a task: T185403: test_url_image sometimes fails with ValueError: No prp-page-image src found. TASK DETAILhttps://phabricator.wikimedia.org/T181913EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, DalbaCc: Mpaa, gerritbot, Xqt, Framawiki

[Pywikipedia-bugs] [Maniphest] [Created] T185403: test_url_image sometimes fails with ValueError: No prp-page-image src found

2018-01-20 Thread Dalba
Dalba created this task.Dalba added projects: Pywikibot-core, Pywikibot-tests.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONhttps://travis-ci.org/wikimedia/pywikibot/jobs/331196015#L5369 == ERROR

[Pywikipedia-bugs] [Maniphest] [Created] T185401: Unexpected ResourceWarning in TestDeprecatedDataSiteMethods.test_get_descriptions

2018-01-20 Thread Dalba
Dalba created this task.Dalba added projects: Pywikibot-core, Pywikibot-tests.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONhttps://travis-ci.org/wikimedia/pywikibot/jobs/331197733#L4244 _ TestDeprecatedDataSiteMethods.test_get_descriptions

[Pywikipedia-bugs] [Maniphest] [Claimed] T185369: Some Python 2.6 builds are failing with DistributionNotFound: The 'setuptools_scm>=1.15.0' distribution was not found

2018-01-19 Thread Dalba
Dalba claimed this task. TASK DETAILhttps://phabricator.wikimedia.org/T185369EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Aklapper, pywikibot-bugs-list, Dalba, Magul, Tbscho, rafidaslam, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Masti

[Pywikipedia-bugs] [Maniphest] [Unassigned] T185369: Some Python 2.6 builds are failing with DistributionNotFound: The 'setuptools_scm>=1.15.0' distribution was not found

2018-01-19 Thread Dalba
Dalba removed Dalba as the assignee of this task.Dalba added a comment. Simply adding setuptools_scm ; python_version == '2.6' to requirement.txt does not work. Because requirements.txt is not installed on appveyor builds. We may use dev-requirements.txt instead.TASK DETAILhttps

[Pywikipedia-bugs] [Maniphest] [Claimed] T185369: Some Python 2.6 builds are failing with DistributionNotFound: The 'setuptools_scm>=1.15.0' distribution was not found

2018-01-19 Thread Dalba
Dalba claimed this task.Dalba added a comment. Sounds like https://github.com/pypa/setuptools_scm/issues/209 They've suggested to install setuptools_scm by pip as a temporary workaround.TASK DETAILhttps://phabricator.wikimedia.org/T185369EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings

[Pywikipedia-bugs] [Maniphest] [Closed] T185296: TestDryPageGenerator DeprecationWarning: Instead of using kwargs from Request.__init__, parameters for the request to the API should be added via the "

2018-01-19 Thread Dalba
Dalba closed this task as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T185296EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: gerritbot, Aklapper, pywikibot-bugs-list, Dalba, Adrian1985, Cpaulf30, Baloch007, Darkminds311

[Pywikipedia-bugs] [Maniphest] [Updated] T185369: Some Python 2.6 builds are failing with DistributionNotFound: The 'setuptools_scm>=1.15.0' distribution was not found

2018-01-19 Thread Dalba
Dalba added a parent task: T72987: Python 2.6 issues (tracking). TASK DETAILhttps://phabricator.wikimedia.org/T185369EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Aklapper, pywikibot-bugs-list, Dalba, Magul, Tbscho, rafidaslam, MayS, Mdupont

[Pywikipedia-bugs] [Maniphest] [Updated] T72987: Python 2.6 issues (tracking)

2018-01-19 Thread Dalba
Dalba added a subtask: T185369: Some Python 2.6 builds are failing with DistributionNotFound: The 'setuptools_scm>=1.15.0' distribution was not found. TASK DETAILhttps://phabricator.wikimedia.org/T72987EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Dalb

[Pywikipedia-bugs] [Maniphest] [Created] T185369: Some Python 2.6 builds are failing with DistributionNotFound: The 'setuptools_scm>=1.15.0' distribution was not found

2018-01-19 Thread Dalba
Dalba created this task.Dalba added projects: Pywikibot-core, Pywikibot-tests.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONOccuring on both travis and appveyor: https://travis-ci.org/wikimedia/pywikibot/jobs/331083321#L1064 https://ci.appveyor.com/project/Ladsgroup

[Pywikipedia-bugs] [Maniphest] [Commented On] T185317: AssertionError in test_invalid_isbn

2018-01-19 Thread Dalba
Dalba added a comment. In T185317#3913727, @divadsn wrote: @Dalba ok, that's a point, but now why the revert? That patch could be fixed with a follow-up, which would be simply adding a |Invalid ISBN found to the regex, why not instead? IMO, https://gerrit.wikimedia.org/r/#/c/399348/ was more

[Pywikipedia-bugs] [Maniphest] [Commented On] T185317: AssertionError in test_invalid_isbn

2018-01-19 Thread Dalba
Dalba added a comment. All dependencies other than requests are optional. requirements.txt is a comprehensive list of recommended dependencies. Installing it ensures that the environment can run any pywikibot script properly. I think it's mostly intended for end users, developers might want

[Pywikipedia-bugs] [Maniphest] [Commented On] T185317: AssertionError in test_invalid_isbn

2018-01-19 Thread Dalba
Dalba added a comment. In T185317#3913465, @divadsn wrote: But isn't it a requirement to run Pywikibot as I can see in the requirements.txt? Not really, the only real requirement to run pywikibot is requests. Most of the other requirements are extras for specific scripts. See install_requires

[Pywikipedia-bugs] [Maniphest] [Closed] T185317: AssertionError in test_invalid_isbn

2018-01-19 Thread Dalba
Dalba closed this task as "Resolved".Dalba claimed this task. TASK DETAILhttps://phabricator.wikimedia.org/T185317EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: gerritbot, Aklapper, pywikibot-bugs-list, Dalba, Adrian1985, Cpaulf30,

[Pywikipedia-bugs] [Maniphest] [Commented On] T185317: AssertionError in test_invalid_isbn

2018-01-19 Thread Dalba
Dalba added a comment. There is also another change request at https://gerrit.wikimedia.org/r/#/c/399348/. I had tested it on travis and it too seems to pass the travis tests. I'll probably will suggest to revert the one above.TASK DETAILhttps://phabricator.wikimedia.org/T185317EMAIL

[Pywikipedia-bugs] [Maniphest] [Updated] T185317: AssertionError in test_invalid_isbn

2018-01-19 Thread Dalba
Dalba added a comment. The issue has appear after 9a13055ce9c130d832ebd273681e7bf4d5dd71a7.TASK DETAILhttps://phabricator.wikimedia.org/T185317EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Aklapper, pywikibot-bugs-list, Dalba, Magul, Tbscho

[Pywikipedia-bugs] [Maniphest] [Created] T185317: AssertionError in test_invalid_isbn

2018-01-19 Thread Dalba
Dalba created this task.Dalba added projects: Pywikibot-tests, Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONRunning on Windows, make sure you don't have python-stdnum installed. $ python -m unittest

[Pywikipedia-bugs] [Maniphest] [Declined] T185302: unclosed SSLSocket ResourceWarning during dry tests

2018-01-19 Thread Dalba
Dalba closed this task as "Declined".Dalba added a comment. We are already igoring disruptive resource warnings in WarningSourceSkipContextManager. But I'm not sure if it's a good idea to ignore all resource warnings, even the harmless ones like this. May reopen in the future if req

[Pywikipedia-bugs] [Maniphest] [Created] T185302: unclosed SSLSocket ResourceWarning during dry tests

2018-01-19 Thread Dalba
Dalba created this task.Dalba added a project: Pywikibot-tests.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONhttps://integration.wikimedia.org/ci/job/pywikibot-core-tox-nose34-docker/722/console 10:26:37 WARNING: /usr/lib/python3.4/unittest/mock.py:667: ResourceWarning

[Pywikipedia-bugs] [Maniphest] [Triaged] T185296: TestDryPageGenerator DeprecationWarning: Instead of using kwargs from Request.__init__, parameters for the request to the API should be added via the

2018-01-19 Thread Dalba
Dalba triaged this task as "Lowest" priority. TASK DETAILhttps://phabricator.wikimedia.org/T185296EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: gerritbot, Aklapper, pywikibot-bugs-list, Dalba, Adrian1985, Cpaulf30, Baloch007, Darkminds311

[Pywikipedia-bugs] [Maniphest] [Created] T185296: TestDryPageGenerator DeprecationWarning: Instead of using kwargs from Request.__init__, parameters for the request to the API should be added via the

2018-01-19 Thread Dalba
Dalba created this task.Dalba added a project: Pywikibot-tests.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONRunning tests.api_tests.TestDryPageGenerator issues the following warning: WARNING: /src/pywikibot/data/api.py:2221: DeprecationWarning: Instead of using kwargs

[Pywikipedia-bugs] [Maniphest] [Closed] T185188: Unexpected ResourceWarning in TestDeprecatedDataSiteMethods.test_get_sitelinks

2018-01-18 Thread Dalba
Dalba closed this task as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T185188EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: gerritbot, Aklapper, pywikibot-bugs-list, Dalba, Adrian1985, Cpaulf30, Baloch007, Darkminds311

[Pywikipedia-bugs] [Maniphest] [Claimed] T185188: Unexpected ResourceWarning in TestDeprecatedDataSiteMethods.test_get_sitelinks

2018-01-18 Thread Dalba
Dalba claimed this task. TASK DETAILhttps://phabricator.wikimedia.org/T185188EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Aklapper, pywikibot-bugs-list, Dalba, Magul, Tbscho, rafidaslam, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Masti

[Pywikipedia-bugs] [Maniphest] [Closed] T184886: Fix the DeprecationWarning in TestDryCosmeticChanges#test_standardizePageFooter

2018-01-18 Thread Dalba
Dalba closed this task as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T184886EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: gerritbot, Aklapper, pywikibot-bugs-list, Dalba, Adrian1985, Cpaulf30, Baloch007, Darkminds311

[Pywikipedia-bugs] [Maniphest] [Commented On] T185188: Unexpected ResourceWarning in TestDeprecatedDataSiteMethods.test_get_sitelinks

2018-01-18 Thread Dalba
Dalba added a comment. Maybe we should ignore all resource warnings, regardless of filename and message?TASK DETAILhttps://phabricator.wikimedia.org/T185188EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Aklapper, pywikibot-bugs-list, Dalba, Magul

[Pywikipedia-bugs] [Maniphest] [Created] T185188: Unexpected ResourceWarning in TestDeprecatedDataSiteMethods.test_get_sitelinks

2018-01-18 Thread Dalba
Dalba created this task.Dalba added projects: Pywikibot-tests, Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONhttps://travis-ci.org/wikimedia/pywikibot/jobs/330228531#L4531 ___ TestDeprecatedDataSiteMethods.test_get_sitelinks

[Pywikipedia-bugs] [Maniphest] [Claimed] T184712: Page.title(asUrl=True) should encode also slashes

2018-01-17 Thread Dalba
Dalba triaged this task as "Low" priority.Dalba claimed this task. TASK DETAILhttps://phabricator.wikimedia.org/T184712EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Framawiki, Aklapper, pywikibot-bugs-list, Blahma, Magul, Tbscho, rafida

[Pywikipedia-bugs] [Maniphest] [Claimed] T184886: Fix the DeprecationWarning in TestDryCosmeticChanges#test_standardizePageFooter

2018-01-17 Thread Dalba
Dalba claimed this task. TASK DETAILhttps://phabricator.wikimedia.org/T184886EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Aklapper, pywikibot-bugs-list, Dalba, Magul, Tbscho, rafidaslam, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Masti

[Pywikipedia-bugs] [Maniphest] [Closed] T93915: Cosmetic changes is adding unnecessary newline at end

2018-01-17 Thread Dalba
Dalba closed this task as "Resolved".Dalba claimed this task.Dalba added a comment. In T93915#1730029, @jayvdb wrote: The bug was fixed by 097245e7e3 . now it is a warning: $ python pwb.py cosmetic_changes.py -ns:0 -family:wiktionary -lang:cs -page:'!' -summary:"cc" -simu

[Pywikipedia-bugs] [Maniphest] [Retitled] T184886: Fix the DeprecationWarning in TestDryCosmeticChanges#test_standardizePageFooter

2018-01-17 Thread Dalba
Dalba renamed this task from "Fix the DeprecationWarning in TestDryCosmeticChanges#test_resolveHtmlEntities" to "Fix the DeprecationWarning in TestDryCosmeticChanges#test_standardizePageFooter".Dalba updated the task description. (Show Details) CHANGES TO TAS

[Pywikipedia-bugs] [Maniphest] [Unblock] T182523: option conflict (tracking)

2018-01-17 Thread Dalba
Dalba closed subtask T182522: imagecopy does not support its -cc option as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T182523EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Liuxinyu970226, Aklapper, Xqt, pywikibot-bugs-l

[Pywikipedia-bugs] [Maniphest] [Closed] T182522: imagecopy does not support its -cc option

2018-01-17 Thread Dalba
Dalba closed this task as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T182522EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Ryan10145, DalbaCc: gerritbot, TerraCodes, Aklapper, Xqt, pywikibot-bugs-list, Adrian1985, Asad_Ali_Palijo

[Pywikipedia-bugs] [Maniphest] [Closed] T184426: pagegenerators_tests.PetScanPageGeneratorTestCase.test_petscan fails

2018-01-16 Thread Dalba
Dalba closed this task as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T184426EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: gerritbot, Magnus, Aklapper, pywikibot-bugs-list, Dalba, Sn1per, Xqt, Adrian1985, Cpaulf30,

[Pywikipedia-bugs] [Maniphest] [Claimed] T184426: pagegenerators_tests.PetScanPageGeneratorTestCase.test_petscan fails

2018-01-16 Thread Dalba
Dalba claimed this task. TASK DETAILhttps://phabricator.wikimedia.org/T184426EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Magnus, Aklapper, pywikibot-bugs-list, Dalba, Sn1per, Xqt, Magul, Tbscho, rafidaslam, MayS, Mdupont, JJMC89, Avicennasis

[Pywikipedia-bugs] [Maniphest] [Closed] T185000: appveyor build fails for vcrpy unittest

2018-01-16 Thread Dalba
Dalba closed this task as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T185000EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: gerritbot, Phantom42, rafidaslam, Dalba, jayvdb, Aklapper, Xqt, pywikibot-bugs-list, Adrian1985

[Pywikipedia-bugs] [Maniphest] [Reopened] T184426: pagegenerators_tests.PetScanPageGeneratorTestCase.test_petscan fails

2018-01-16 Thread Dalba
Dalba reopened this task as "Open".Dalba added a comment. Failing again: https://ci.appveyor.com/project/Ladsgroup/pywikibot-g4xqx/build/1.0.45/job/6tw3b47x73dwl7hh#L4800 == ERROR: te

[Pywikipedia-bugs] [Maniphest] [Claimed] T185000: appveyor build fails for vcrpy unittest

2018-01-16 Thread Dalba
Dalba claimed this task.Dalba added a comment. Upstream issue: https://github.com/kevin1024/vcrpy/issues/342 However we can fix this by amending the requirements.TASK DETAILhttps://phabricator.wikimedia.org/T185000EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences

[Pywikipedia-bugs] [Maniphest] [Closed] T184996: Unexpected ResourceWarning in namespace_tests.TestNamespaceDictDeprecated

2018-01-16 Thread Dalba
Dalba closed this task as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T184996EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, DalbaCc: gerritbot, Aklapper, pywikibot-bugs-list, Dalba, Adrian1985, Cpaulf30, Baloch007, Darkminds311

[Pywikipedia-bugs] [Maniphest] [Updated] T184996: Unexpected ResourceWarning in namespace_tests.TestNamespaceDictDeprecated

2018-01-16 Thread Dalba
Dalba added a commit: rPWBCc50bcee3bcb1: [bugfix] Ignore unclosed socket warnings. TASK DETAILhttps://phabricator.wikimedia.org/T184996EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, DalbaCc: Aklapper, pywikibot-bugs-list, Dalba, Magul, Tbscho

[Pywikipedia-bugs] [Maniphest] [Commented On] T184996: Unexpected ResourceWarning in namespace_tests.TestNamespaceDictDeprecated

2018-01-16 Thread Dalba
Dalba added a comment. We also recently had another ResourceWarning in cookiejar.py: https://travis-ci.org/wikimedia/pywikibot/jobs/329129077#L4352 TestDeprecatedDataSiteMethods.test_get_aliases self = def test_get_aliases(self): """T

[Pywikipedia-bugs] [Maniphest] [Edited] T184996: Unexpected ResourceWarning in namespace_tests.TestNamespaceDictDeprecated

2018-01-16 Thread Dalba
Dalba updated the task description. (Show Details) CHANGES TO TASK DESCRIPTIONhttps://travis-ci.org/wikimedia/pywikibot/jobs/329427210#L4794 ```...TASK DETAILhttps://phabricator.wikimedia.org/T184996EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc

[Pywikipedia-bugs] [Maniphest] [Created] T184996: Unexpected ResourceWarning in namespace_tests.TestNamespaceDictDeprecated

2018-01-16 Thread Dalba
Dalba created this task.Dalba added projects: Pywikibot-core, Pywikibot-tests.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION== FAIL: test_lookup_name (tests.namespace_tests.TestNamespaceDictDeprecated

[Pywikipedia-bugs] [Maniphest] [Unassigned] T184886: Fix the DeprecationWarning in TestDryCosmeticChanges#test_resolveHtmlEntities

2018-01-14 Thread Dalba
Dalba removed Dalba as the assignee of this task.Dalba added a project: Pywikibot-core. TASK DETAILhttps://phabricator.wikimedia.org/T184886EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Aklapper, pywikibot-bugs-list, Dalba, Magul, Tbscho

[Pywikipedia-bugs] [Maniphest] [Updated] T184886: Fix the DeprecationWarning in TestDryCosmeticChanges#test_resolveHtmlEntities

2018-01-14 Thread Dalba
Dalba added a commit: rPWBC097245e7e347: Changes are wrongly detected in the last langlink. TASK DETAILhttps://phabricator.wikimedia.org/T184886EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Aklapper, pywikibot-bugs-list

<    2   3   4   5   6   7   8   9   10   11   >