[Pywikipedia-bugs] [Maniphest] [Changed Status] T191205: can't load page whose title has a certain character

2018-04-02 Thread Xqt
Xqt changed the task status from "Resolved" to "Invalid". TASK DETAILhttps://phabricator.wikimedia.org/T191205EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DanFr, XqtCc: Xqt, Aklapper, pywikibot-bugs-list, DanFr, Magul, Tbscho, rafidaslam, MayS, Mdupont,

[Pywikipedia-bugs] [Maniphest] [Closed] T191205: can't load page whose title has a certain character

2018-04-02 Thread DanFr
DanFr closed this task as "Resolved".DanFr claimed this task.DanFr added a comment. I am using python2, and the "u" worked! Genius! My own more complicated actual code fails with the "from future ..", but I'll work on it. Thanks!TASK DETAILhttps://phabricator.wikimedia.org/T191205EMAIL

[Pywikipedia-bugs] [Maniphest] [Raised Priority] T191188: error: Could not find suitable distribution for Requirement.parse

2018-04-02 Thread Xqt
Xqt raised the priority of this task from "Normal" to "High".Xqt added a comment. The occurences are increasing a lotTASK DETAILhttps://phabricator.wikimedia.org/T191188EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: jayvdb, Aklapper, Dalba, Xqt,

[Pywikipedia-bugs] [Maniphest] [Commented On] T191205: can't load page whose title has a certain character

2018-04-02 Thread Xqt
Xqt added a comment. I guess you are using python 2? Then either add the following line at top of the file: from __future__ import unicode_literals or use "u" prefix when instantiating the page: page = pywikibot.Page(site, u"Beyoncé Knowles")TASK

[Pywikipedia-bugs] [Maniphest] [Commented On] T191205: can't load page whose title has a certain character

2018-04-02 Thread DanFr
DanFr added a comment. When I install pywikibot it gives the version: pywikibot-3.0.20180304.tar.gzTASK DETAILhttps://phabricator.wikimedia.org/T191205EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DanFrCc: Aklapper, pywikibot-bugs-list, DanFr, Magul,

[Pywikipedia-bugs] [Maniphest] [Created] T191205: can't load page whose title has a certain character

2018-04-02 Thread DanFr
DanFr created this task.DanFr added a project: Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONError: $ ./test_page.py family and mylang are not set. Defaulting to family='test' and mylang='test'. Traceback (most recent call last): File "./test_page.py",

[Pywikipedia-bugs] [Maniphest] [Closed] T191161: test_replace_tag_file is failing on Python 2.7.2

2018-04-02 Thread Dalba
Dalba closed this task as "Resolved".Dalba claimed this task. TASK DETAILhttps://phabricator.wikimedia.org/T191161EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: gerritbot, Xqt, Aklapper, pywikibot-bugs-list, Dalba, Versusxo, Majesticalreaper22,

[Pywikipedia-bugs] [Maniphest] [Lowered Priority] T191113: checkimages.py hangs when putting a file page

2018-04-02 Thread Dalba
Dalba lowered the priority of this task from "High" to "Normal". TASK DETAILhttps://phabricator.wikimedia.org/T191113EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: gerritbot, Dvorapa, Dalba, Aklapper, Zoranzoki21, Xqt, pywikibot-bugs-list, Versusxo,

[Pywikipedia-bugs] [Maniphest] [Updated] T191113: checkimages.py hangs when putting a file page

2018-04-02 Thread Dalba
Dalba added a subtask: T191192: Drop support for python 2.7.2 and 2.7.3. TASK DETAILhttps://phabricator.wikimedia.org/T191113EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: gerritbot, Dvorapa, Dalba, Aklapper, Zoranzoki21, Xqt, pywikibot-bugs-list,

[Pywikipedia-bugs] [Maniphest] [Reopened] T191113: checkimages.py hangs when putting a file page

2018-04-02 Thread Dalba
Dalba reopened this task as "Open".Dalba removed Dalba as the assignee of this task.Dalba added a comment. With the merge of c25f22164f88b1bf91dd329d0566afed685ce530, this issue will continue to happen on 2.7.2 and 2.7.3. We have not found any better solution yet. This task we become invalid as

[Pywikipedia-bugs] [Maniphest] [Commented On] T191192: Drop support for python 2.7.2 and 2.7.3

2018-04-02 Thread gerritbot
gerritbot added a comment. Change 423461 merged by jenkins-bot: [pywikibot/core@master] Deprecation warning; python 2.7.2 and 2.7.3 will be dropped https://gerrit.wikimedia.org/r/423461TASK DETAILhttps://phabricator.wikimedia.org/T191192EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T191161: test_replace_tag_file is failing on Python 2.7.2

2018-04-02 Thread gerritbot
gerritbot added a comment. Change 423463 merged by jenkins-bot: [pywikibot/core@master] Use the old FILE_LINK_REGEX regex for Python versions older than 2.7.4 https://gerrit.wikimedia.org/r/423463TASK DETAILhttps://phabricator.wikimedia.org/T191161EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T191192: Drop support for python 2.7.2 and 2.7.3

2018-04-02 Thread gerritbot
gerritbot added a comment. Change 423458 abandoned by Xqt: [test] increase 2.7.2 test to 2.7.4 for 32 bit at appveyor https://gerrit.wikimedia.org/r/423458TASK DETAILhttps://phabricator.wikimedia.org/T191192EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To:

[Pywikipedia-bugs] [Maniphest] [Commented On] T191161: test_replace_tag_file is failing on Python 2.7.2

2018-04-02 Thread gerritbot
gerritbot added a comment. Change 423463 had a related patch set uploaded (by Dalba; owner: Dalba): [pywikibot/core@master] Use the old FILE_LINK_REGEX regex for Python versions older than 2.7.4 https://gerrit.wikimedia.org/r/423463TASK DETAILhttps://phabricator.wikimedia.org/T191161EMAIL

[Pywikipedia-bugs] [Maniphest] [Updated] T191161: test_replace_tag_file is failing on Python 2.7.2

2018-04-02 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T191161EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: gerritbot, Xqt, Aklapper, pywikibot-bugs-list, Dalba, Versusxo, Majesticalreaper22, Giuliamocci,

[Pywikipedia-bugs] [Maniphest] [Commented On] T191192: Drop support for python 2.7.2 and 2.7.3

2018-04-02 Thread gerritbot
gerritbot added a comment. Change 423461 had a related patch set uploaded (by Xqt; owner: Xqt): [pywikibot/core@master] Deprecation warning; python 2.7.2 and 2.7.3 will be dropped https://gerrit.wikimedia.org/r/423461TASK DETAILhttps://phabricator.wikimedia.org/T191192EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T191192: Drop support for python 2.7.2 and 2.7.3

2018-04-02 Thread gerritbot
gerritbot added a comment. Change 423458 had a related patch set uploaded (by Xqt; owner: Xqt): [pywikibot/core@master] Deprecation warning; python 2.7.2 and 2.7.3 will be dropped https://gerrit.wikimedia.org/r/423458TASK DETAILhttps://phabricator.wikimedia.org/T191192EMAIL

[Pywikipedia-bugs] [Maniphest] [Unassigned] T191161: test_replace_tag_file is failing on Python 2.7.2

2018-04-02 Thread Dalba
Dalba removed Dalba as the assignee of this task.Dalba removed a project: Patch-For-Review.Dalba added a comment. The patch failed to resolve the issue.TASK DETAILhttps://phabricator.wikimedia.org/T191161EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To:

[Pywikipedia-bugs] [Maniphest] [Commented On] T191161: test_replace_tag_file is failing on Python 2.7.2

2018-04-02 Thread gerritbot
gerritbot added a comment. Change 423451 merged by jenkins-bot: [pywikibot/core@master] textlib.py: Avoid zero-width matching groups https://gerrit.wikimedia.org/r/423451TASK DETAILhttps://phabricator.wikimedia.org/T191161EMAIL

[Pywikipedia-bugs] [Maniphest] [Edited] T191192: Drop suport for python 2.7.2 and 2.7.3

2018-04-02 Thread Dalba
Dalba updated the task description. (Show Details) CHANGES TO TASK DESCRIPTIONThe official Lifelife cycle of python 2 exceed on 2020-01-01 but few days ago we found a bugs (T191113, T191161) the re module of older python 2 and python 3 versions. The issue was solved in py2.7.4 and py3.4.0. After

[Pywikipedia-bugs] [Maniphest] [Retitled] T191192: Drop support for python 2.7.2 and 2.7.3

2018-04-02 Thread Dalba
Dalba renamed this task from "Drop suport for python 2.7.2 and 2.7.3" to "Drop support for python 2.7.2 and 2.7.3". TASK DETAILhttps://phabricator.wikimedia.org/T191192EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, DalbaCc: MarcoAurelio, Aklapper,

[Pywikipedia-bugs] [Maniphest] [Commented On] T191192: Drop suport for python 2.7.2 and 2.7.3

2018-04-02 Thread Dalba
Dalba added a comment. In T191192#4096642, @MarcoAurelio wrote: Not sure if that's related or would make sense, but maybe we should ask Toolforge to update their Python as well? AFAIS, they are using trusty on Toolforge, which is shipped with 2.7.6 by default, so, Toolforge should be OK.TASK

[Pywikipedia-bugs] [Maniphest] [Commented On] T191192: Drop suport for python 2.7.2 and 2.7.3

2018-04-02 Thread MarcoAurelio
MarcoAurelio added a comment. Not sure if that's related or would make sense, but maybe we should ask Toolforge to update their Python as well?TASK DETAILhttps://phabricator.wikimedia.org/T191192EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt,

[Pywikipedia-bugs] [Maniphest] [Commented On] T191161: test_replace_tag_file is failing on Python 2.7.2

2018-04-02 Thread gerritbot
gerritbot added a comment. Change 423451 had a related patch set uploaded (by Dalba; owner: Dalba): [pywikibot/core@master] textlib.py: Do not use * quantifier in positive lookaheads of FILE_LINK_REGEX https://gerrit.wikimedia.org/r/423451TASK DETAILhttps://phabricator.wikimedia.org/T191161EMAIL

[Pywikipedia-bugs] [Maniphest] [Updated] T191161: test_replace_tag_file is failing on Python 2.7.2

2018-04-02 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T191161EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: gerritbot, Xqt, Aklapper, pywikibot-bugs-list, Dalba, Versusxo, Majesticalreaper22, Giuliamocci,

[Pywikipedia-bugs] [Maniphest] [Updated] T191161: test_replace_tag_file is failing on Python 2.7.2

2018-04-02 Thread Dalba
Dalba removed a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T191161EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: gerritbot, Xqt, Aklapper, pywikibot-bugs-list, Dalba, Magul, Tbscho, rafidaslam, MayS, Mdupont, JJMC89,

[Pywikipedia-bugs] [Maniphest] [Commented On] T191161: test_replace_tag_file is failing on Python 2.7.2

2018-04-02 Thread gerritbot
gerritbot added a comment. Change 423447 abandoned by Dalba: Draft Reason: Have not tested it yet, submitted by mistake https://gerrit.wikimedia.org/r/423447TASK DETAILhttps://phabricator.wikimedia.org/T191161EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To:

[Pywikipedia-bugs] [Maniphest] [Updated] T191161: test_replace_tag_file is failing on Python 2.7.2

2018-04-02 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T191161EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: gerritbot, Xqt, Aklapper, pywikibot-bugs-list, Dalba, Versusxo, Majesticalreaper22, Giuliamocci,

[Pywikipedia-bugs] [Maniphest] [Commented On] T191161: test_replace_tag_file is failing on Python 2.7.2

2018-04-02 Thread gerritbot
gerritbot added a comment. Change 423447 had a related patch set uploaded (by Dalba; owner: Dalba): [pywikibot/core@master] Draft https://gerrit.wikimedia.org/r/423447TASK DETAILhttps://phabricator.wikimedia.org/T191161EMAIL

[Pywikipedia-bugs] [Maniphest] [Created] T191192: Drop suport for python 2.7.2 and 2.7.3

2018-04-02 Thread Xqt
Xqt created this task.Xqt added projects: Pywikibot-core, Pywikibot-Announce.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONThe official Life cycle of python 2 exceed on 2020-01-01 but few days ago we found a bugs (T191113, T191161) the re module of older python 2 and

[Pywikipedia-bugs] [Maniphest] [Commented On] T191161: test_replace_tag_file is failing on Python 2.7.2

2018-04-02 Thread Dalba
Dalba added a comment. On second thought, consuming 100% of CPU (T191113) is not that better than a MemoryError. There must be a better way.TASK DETAILhttps://phabricator.wikimedia.org/T191161EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Xqt,

[Pywikipedia-bugs] [Maniphest] [Commented On] T191161: test_replace_tag_file is failing on Python 2.7.2

2018-04-02 Thread Dalba
Dalba added a comment. 3.4.0 alpha 1 is the first release of 3.4 series and we have dropped support for 3.3. So we only have this issue with 2.7.2 and 2.7.3. We could consider dropping support for them but we need a deprecation period. Till then, I suggest using the old regex for those

[Pywikipedia-bugs] [Maniphest] [Closed] T191190: importing HTMLParser fails for py2.7.2

2018-04-02 Thread Xqt
Xqt closed this task as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T191190EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Dalba, XqtCc: gerritbot, Aklapper, Dalba, Xqt, pywikibot-bugs-list, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985,

[Pywikipedia-bugs] [Maniphest] [Commented On] T191190: importing HTMLParser fails for py2.7.2

2018-04-02 Thread gerritbot
gerritbot added a comment. Change 423366 merged by jenkins-bot: [pywikibot/core@master] setup.py: Use PYTHON_VERSION for version comparisons https://gerrit.wikimedia.org/r/423366TASK DETAILhttps://phabricator.wikimedia.org/T191190EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T191190: importing HTMLParser fails for py2.7.2

2018-04-02 Thread gerritbot
gerritbot added a comment. Change 423368 abandoned by Xqt: [bugfix] Check whether future is already installed Reason: https://gerrit.wikimedia.org/r/#/c/423366/ is the right solution https://gerrit.wikimedia.org/r/423368TASK DETAILhttps://phabricator.wikimedia.org/T191190EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T191190: importing HTMLParser fails for py2.7.2

2018-04-02 Thread gerritbot
gerritbot added a comment. Change 423368 had a related patch set uploaded (by Xqt; owner: Xqt): [pywikibot/core@master] [bugfix] Check whether future is already installed https://gerrit.wikimedia.org/r/423368TASK DETAILhttps://phabricator.wikimedia.org/T191190EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T191190: importing HTMLParser fails for py2.7.2

2018-04-02 Thread gerritbot
gerritbot added a comment. Change 423366 had a related patch set uploaded (by Dalba; owner: Dalba): [pywikibot/core@master] setup.py: Use PYTHON_VERSION for version comparisons https://gerrit.wikimedia.org/r/423366TASK DETAILhttps://phabricator.wikimedia.org/T191190EMAIL

[Pywikipedia-bugs] [Maniphest] [Updated] T191190: importing HTMLParser fails for py2.7.2

2018-04-02 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T191190EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Dalba, gerritbotCc: gerritbot, Aklapper, Dalba, Xqt, pywikibot-bugs-list, Versusxo, Majesticalreaper22,

[Pywikipedia-bugs] [Maniphest] [Claimed] T191190: importing HTMLParser fails for py2.7.2

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

[Pywikipedia-bugs] [Maniphest] [Updated] T191189: Python 2.7.2 appveyor builds: ImportError: No module named future.backports.html.parser

2018-04-02 Thread Dalba
Dalba closed this task as a duplicate of T191190: importing HTMLParser fails for py2.7.2. TASK DETAILhttps://phabricator.wikimedia.org/T191189EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Aklapper, pywikibot-bugs-list, Dalba, Magul, Tbscho,

[Pywikipedia-bugs] [Maniphest] [Merged] T191190: importing HTMLParser fails for py2.7.2

2018-04-02 Thread Dalba
Dalba merged a task: T191189: Python 2.7.2 appveyor builds: ImportError: No module named future.backports.html.parser. TASK DETAILhttps://phabricator.wikimedia.org/T191190EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Aklapper, Dalba, Xqt,

[Pywikipedia-bugs] [Maniphest] [Triaged] T191190: importing HTMLParser fails for py2.7.2

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

[Pywikipedia-bugs] [Maniphest] [Created] T191190: importing HTMLParser fails for py2.7.2

2018-04-02 Thread Xqt
Xqt created this task.Xqt added projects: Pywikibot-core, Pywikibot-tests.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION4732== 4733ERROR: site_detect_tests (unittest2.loader.ModuleImportFailure)

[Pywikipedia-bugs] [Maniphest] [Triaged] T191189: Python 2.7.2 appveyor builds: ImportError: No module named future.backports.html.parser

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

[Pywikipedia-bugs] [Maniphest] [Updated] T191189: Python 2.7.2 appveyor builds: ImportError: No module named future.backports.html.parser

2018-04-02 Thread Dalba
Dalba added a commit: rPWBC2a7a54a14218: Abandon support for python 2.6. TASK DETAILhttps://phabricator.wikimedia.org/T191189EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Aklapper, pywikibot-bugs-list, Dalba, Magul, Tbscho, rafidaslam, MayS,

[Pywikipedia-bugs] [Maniphest] [Created] T191189: Python 2.7.2 appveyor builds: ImportError: No module named future.backports.html.parser

2018-04-02 Thread Dalba
Dalba created this task.Dalba added projects: Pywikibot-tests, Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION== ERROR: site_detect_tests (unittest2.loader.ModuleImportFailure)

[Pywikipedia-bugs] [Maniphest] [Edited] T191188: error: Could not find suitable distribution for Requirement.parse

2018-04-02 Thread Xqt
Xqt updated the task description. (Show Details) CHANGES TO TASK DESCRIPTION...``` Searching for Reading https://pypi.python.org/simple// Couldn't find index page for '' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading https://pypi.python.org/simple/ No local

[Pywikipedia-bugs] [Maniphest] [Edited] T191188: error: Could not find suitable distribution for Requirement.parse

2018-04-02 Thread Xqt
Xqt updated the task description. (Show Details) CHANGES TO TASK DESCRIPTION... - ... and a lot more All of them failes reading the package from pypi: ``` Reading https://pypi.python.org/simple/ No local packages or working download links found for ... ``` TASK

[Pywikipedia-bugs] [Maniphest] [Triaged] T191188: error: Could not find suitable distribution for Requirement.parse

2018-04-02 Thread Xqt
Xqt triaged this task as "Normal" priority. TASK DETAILhttps://phabricator.wikimedia.org/T191188EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: Aklapper, Dalba, Xqt, pywikibot-bugs-list, Magul, Tbscho, rafidaslam, MayS, Mdupont, JJMC89, Avicennasis,

[Pywikipedia-bugs] [Maniphest] [Created] T191188: error: Could not find suitable distribution for Requirement.parse

2018-04-02 Thread Xqt
Xqt created this task.Xqt added projects: Pywikibot-core, Pywikibot-tests.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONThere where a lot of error messages like error: Could not find suitable distribution for Requirement.parse for several packages on appveyor in past: