[Pywikipedia-bugs] [Maniphest] [Commented On] T109208: [RFC] considering step parameter on several site methods

2016-03-05 Thread gerritbot
gerritbot added a comment.


  Change 274981 merged by jenkins-bot:
  [bugfix] Fix parameters for issue_deprecation_warning
  
  https://gerrit.wikimedia.org/r/274981

TASK DETAIL
  https://phabricator.wikimedia.org/T109208

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt, gerritbot
Cc: gerritbot, StudiesWorld, Ladsgroup, jayvdb, XZise, valhallasw, Aklapper, 
Xqt, pywikibot-bugs-list



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T109208: [RFC] considering step parameter on several site methods

2016-03-05 Thread gerritbot
gerritbot added a comment.


  Change 274981 had a related patch set uploaded (by John Vandenberg):
  [bugfix] Fix parameters for issue_deprecation_warning
  
  https://gerrit.wikimedia.org/r/274981

TASK DETAIL
  https://phabricator.wikimedia.org/T109208

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt, gerritbot
Cc: gerritbot, StudiesWorld, Ladsgroup, jayvdb, XZise, valhallasw, Aklapper, 
Xqt, pywikibot-bugs-list



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T109208: [RFC] considering step parameter on several site methods

2016-03-05 Thread gerritbot
gerritbot added a comment.


  Change 274981 had a related patch set uploaded (by John Vandenberg):
  [bugfix] swap parameters for issue_deprecation_warning in right order
  
  https://gerrit.wikimedia.org/r/274981

TASK DETAIL
  https://phabricator.wikimedia.org/T109208

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt, gerritbot
Cc: gerritbot, StudiesWorld, Ladsgroup, jayvdb, XZise, valhallasw, Aklapper, 
Xqt, pywikibot-bugs-list



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Reopened] T115790: Botwiki currently/permanently(?) not available

2016-03-05 Thread jayvdb
jayvdb reopened this task as "Open".
jayvdb added a comment.


  Website is now reporting
  
The website you were trying to reach is temporarily unavailable.
Please check back soon.
If you are the owner of this website, please contact Technical Support as 
soon as possible.
  
  @Snowolf , we dont depend on this site.  Dont feel like you need to bring it 
back online because of this ticket -- we can easily remove it from our test 
suite without any adverse effects.

TASK DETAIL
  https://phabricator.wikimedia.org/T115790

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: XZise, jayvdb
Cc: jayvdb, Legoktm, Snowolf, Aklapper, pywikibot-bugs-list, XZise



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Updated] T128992: site detection failures

2016-03-05 Thread jayvdb
jayvdb added a blocking task: T85786: Add botwiki as test site for MW 1.17.

TASK DETAIL
  https://phabricator.wikimedia.org/T128992

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: Aklapper, pywikibot-bugs-list, jayvdb



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Updated] T85786: Add botwiki as test site for MW 1.17

2016-03-05 Thread jayvdb
jayvdb added a blocked task: T128992: site detection failures.

TASK DETAIL
  https://phabricator.wikimedia.org/T85786

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: XZise, gerritbot, jayvdb, Doug, Snowolf, Aklapper, pywikibot-bugs-list, Mpaa



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Edited] T128998: memento webcite 404 errors

2016-03-05 Thread jayvdb
jayvdb edited the task description.

TASK DETAIL
  https://phabricator.wikimedia.org/T128998

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: Aklapper, jayvdb, pywikibot-bugs-list, Luke081515, Krenair



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T128986: proofread page tests fail if username is not present

2016-03-05 Thread jayvdb
jayvdb added a comment.


  The problem can also be seen on Travis and Appveyor
  
  https://travis-ci.org/wikimedia/pywikibot-core/jobs/113989338#L3348
  
https://ci.appveyor.com/project/wikimedia/pywikibot-core/build/1.0.823/job/yoy536ofag8fw46u#L4320

TASK DETAIL
  https://phabricator.wikimedia.org/T128986

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: Aklapper, Mpaa, jayvdb, pywikibot-bugs-list



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Updated] T128991: test_pagegen_i18n_input failing: setlocale: LC_ALL: cannot change locale (arz): No such file or directory

2016-03-05 Thread jayvdb
jayvdb added a comment.


  Note this problem was first encountered with 
https://travis-ci.org/wikimedia/pywikibot-core/jobs/58265112#L2632 , after 
https://phabricator.wikimedia.org/rPWBCd4f4a3cfc04af148fb9db2af73cb27774c96e219 
was merged, which needed to be reverted in 
https://phabricator.wikimedia.org/rPWBCa0a416b5a159a411a504caac2f8c504f5fa2790b 
.

TASK DETAIL
  https://phabricator.wikimedia.org/T128991

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: gerritbot, Aklapper, jayvdb, pywikibot-bugs-list



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Updated] T128991: test_pagegen_i18n_input failing: setlocale: LC_ALL: cannot change locale (arz): No such file or directory

2016-03-05 Thread gerritbot
gerritbot added a project: Patch-For-Review.

TASK DETAIL
  https://phabricator.wikimedia.org/T128991

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: gerritbot
Cc: gerritbot, Aklapper, jayvdb, pywikibot-bugs-list



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T128991: test_pagegen_i18n_input failing: setlocale: LC_ALL: cannot change locale (arz): No such file or directory

2016-03-05 Thread gerritbot
gerritbot added a comment.


  Change 203963 had a related patch set uploaded (by John Vandenberg):
  Dynamically determine site for i18n.input test
  
  https://gerrit.wikimedia.org/r/203963

TASK DETAIL
  https://phabricator.wikimedia.org/T128991

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: gerritbot
Cc: gerritbot, Aklapper, jayvdb, pywikibot-bugs-list



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Updated] T129001: listpages -cat throws exception

2016-03-05 Thread gerritbot
gerritbot added a project: Patch-For-Review.

TASK DETAIL
  https://phabricator.wikimedia.org/T129001

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: gerritbot
Cc: gerritbot, pywikibot-bugs-list, Aklapper, jayvdb



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T129001: listpages -cat throws exception

2016-03-05 Thread gerritbot
gerritbot added a comment.


  Change 275272 had a related patch set uploaded (by John Vandenberg):
  Fix -cat pagegenerator
  
  https://gerrit.wikimedia.org/r/275272

TASK DETAIL
  https://phabricator.wikimedia.org/T129001

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: gerritbot
Cc: gerritbot, pywikibot-bugs-list, Aklapper, jayvdb



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T76211: pywikibot external pycolorname used by catimages.py

2016-03-05 Thread jayvdb
jayvdb added a comment.


  Nice.  Based on your analysis, and the following addition by me, I believe it 
is safe to assume that @DrTrigon was the only prior contributor to pycolorname.
  
  From https://sourceforge.net/p/toolserver/code/3409/ we can see that the 
`catimages.py` code before pycolorname was a hard coded list, so there was no 
prior code from anyone else in that branch. (even if multiple people helped 
build the static list of colors, that list isnt code, and doesnt need 
crediting).

TASK DETAIL
  https://phabricator.wikimedia.org/T76211

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: AbdealiJK, jayvdb
Cc: Vlkyrie, DrTrigon, Aklapper, jayvdb, valhallasw, pywikibot-bugs-list, Anshoe



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Updated] T76211: pywikibot external pycolorname used by catimages.py

2016-03-05 Thread AbdealiJK
AbdealiJK added a comment.


  Hello again,
  
  I did a fairly elaborate search for contributors and found out about the 
history of pycolorname. Here are my findings:
  
  The following changes are noteworthy in pywikibot-compat related to 
pycolorname:
  
  - (Feb 20 2013) 
https://phabricator.wikimedia.org/rPWBO4e302baecac70e28fc12de117928a3fdd00f6e44 
- Create catimages.py with dtbext.pycolorname
  - (Apr 26 2013) 
https://phabricator.wikimedia.org/rPWBO9318df16e657f4e2304e38b2312ffd9936910399 
- Removes dtnext.pycolorname and uses pycolorname (But doesnt mention where 
that pkg is imported from)
  - (May 12 2013) 
https://phabricator.wikimedia.org/rPWBOe35d4b3ff81034f4d23f492cfd2d8c29cca929fe 
- A commented link to svn.toolserver is added in `externals/__init__.py`
  - (Aug 30 2013) 
https://phabricator.wikimedia.org/rPWBO7724dd8c7e8a6c5e93ba743b0a927f85450686ee 
- Adds the gerrit pywikibot/pycolorname to `.gitmodules`
  - (Sep 21 2013) 
https://phabricator.wikimedia.org/rPWBO201c19708b57e8ef89af8e8de8a78d73273e1adf 
- Changes older svn.toolserver link to gerrit link in `externals/__init__.py`
  
  Now I tracked all the commits in the places pycolorname was used from earlier:
  
  - From the gerrit repo
- Code can be found at 
https://gerrit.wikimedia.org/r/#/admin/projects/pywikibot/pycolorname
- The commits can be found at 
https://phabricator.wikimedia.org/diffusion/PWXC/history/master/
- Contributors found: @DrTrigon
  - From the archived svn.toolserver repo
- Code can be found at 
https://sourceforge.net/p/toolserver/code/HEAD/tree/drtrigon/externals/pycolorname/
- The commits can be found at 
https://sourceforge.net/p/toolserver/code/15985/log/?path=/drtrigon/externals/pycolorname
- Contributors found: @DrTrigon
- Note: It seems the commit history was preserved when it moved.
- Note: The folder was renamed from 
`/drtrigon/pywikipedia/dtbext/pycolorname`
  - Commits before renaming can be found at 
https://sourceforge.net/p/toolserver/code/3599/log/?path=/drtrigon/pywikipedia/dtbext/pycolorname
  - Contributors found: @DrTrigon
  - Note: This is when `dtbext.pycolorname` was being used when 
`catimages.py` was first added.
  - Note: The folder was again renamed from 
`/drtrigon/pywikipedia/pycolorname`
- Commits before renaming can be found at 
https://sourceforge.net/p/toolserver/code/3420/log/?path=/drtrigon/pywikipedia/pycolorname
- Contributors found: @DrTrigon
  
  As you can see I have followed all repos that pywikibot-compat has used for 
the pycolorname package and also all renames the package has had. I haven't 
found any other contributors other than @DrTrigon
  
  Please let me know if I have missed something. I think I've tracked it 
completely and can't find any gaps in it's history.
  
  @DrTrigon do you remember anyone else that has contributed ? If I had a 
name/email maybe I could do this in a more targeted way and find something I've 
missed ?

TASK DETAIL
  https://phabricator.wikimedia.org/T76211

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: AbdealiJK
Cc: Vlkyrie, DrTrigon, Aklapper, jayvdb, valhallasw, pywikibot-bugs-list, Anshoe



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Updated] T129001: listpages -cat throws exception

2016-03-05 Thread jayvdb
jayvdb added a comment.


  git bisect identifies the problem as 
https://phabricator.wikimedia.org/rPWBC343b875be1382c64738bacd7022c0a75ec3bd327

TASK DETAIL
  https://phabricator.wikimedia.org/T129001

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: pywikibot-bugs-list, Aklapper, jayvdb



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T129001: listpages -cat throws exception

2016-03-05 Thread jayvdb
jayvdb added a comment.


  Easily reproduced with `$ python pwb.py listpages -cat`

TASK DETAIL
  https://phabricator.wikimedia.org/T129001

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: pywikibot-bugs-list, Aklapper, jayvdb



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Block] T128991: test_pagegen_i18n_input failing: setlocale: LC_ALL: cannot change locale (arz): No such file or directory

2016-03-05 Thread jayvdb
jayvdb created blocking task T129001: listpages -cat throws exception.

TASK DETAIL
  https://phabricator.wikimedia.org/T128991

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: Aklapper, jayvdb, pywikibot-bugs-list



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Changed Project Column] T128998: memento webcite 404 errors

2016-03-05 Thread jayvdb
jayvdb moved this task to Reported Upstream on the Upstream workboard.

TASK DETAIL
  https://phabricator.wikimedia.org/T128998

WORKBOARD
  https://phabricator.wikimedia.org/project/board/153/

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: Aklapper, jayvdb, pywikibot-bugs-list, Luke081515, Krenair



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Updated] T128998: memento webcite 404 errors

2016-03-05 Thread jayvdb
jayvdb added a project: Upstream.

TASK DETAIL
  https://phabricator.wikimedia.org/T128998

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: Aklapper, jayvdb, pywikibot-bugs-list, Luke081515, Krenair



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Created] T128998: memento webcite 404 errors

2016-03-05 Thread jayvdb
jayvdb created this task.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  https://github.com/mementoweb/py-memento-client/issues/5

TASK DETAIL
  https://phabricator.wikimedia.org/T128998

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: Aklapper, jayvdb, pywikibot-bugs-list



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Created] T128994: Some proofread page tests are writing to the wiki without being declared as write tests

2016-03-05 Thread jayvdb
jayvdb created this task.

TASK DESCRIPTION
  `_get_page_mappings` is doing a purge, which is a write operation.  That 
means these tests are writing to the wiki without the class being marked `write 
= True`.
  
  Can the purge be avoided, so that these test methods always run?
  
  An alternative approach is to create a new special value for the `write` flag 
which indicates that the test uses the `purge` operation, which is a special 
kind of write operation because it doesnt create a edit/log entry.
  
==
ERROR: test_check_if_cached_enws 
(tests.proofreadpage_tests.TestIndexPageMappings)
Test if cache is checked and loaded properly on wikisource:en
--
Traceback (most recent call last):
  File "tests/aspects.py", line 688, in wrapped_method
func(self, key)
  File "tests/proofreadpage_tests.py", line 456, in test_check_if_cached
fetched_label = index_page.get_label_from_page_number(num)
  File "pywikibot/proofreadpage.py", line 471, in wrapper
self._get_page_mappings()
  File "pywikibot/proofreadpage.py", line 514, in _get_page_mappings
self.purge()
  File "pywikibot/page.py", line 1299, in purge
return self.site.purgepages([self], **kwargs)
  File "pywikibot/site.py", line 1304, in callee
return fn(self, *args, **kwargs)
  File "pywikibot/site.py", line 5465, in purgepages
titles=[page for page in set(pages)])
  File "pywikibot/site.py", line 1959, in _simple_request
site=self, **kwargs)
  File "tests/__init__.py", line 285, in create_simple
return cls(site=site, parameters=kwargs)
  File "tests/__init__.py", line 279, in __init__
super(TestRequest, self).__init__(0, *args, **kwargs)
  File "pywikibot/data/api.py", line 2205, in __init__
super(CachedRequest, self).__init__(*args, **kwargs)
  File "pywikibot/data/api.py", line 1452, in __init__
% self.site._userinfo['name'])
Error: API write action attempted as IP u'xxx.xxx.xxx.xxx'

==
ERROR: test_get_labels_enws 
(tests.proofreadpage_tests.TestIndexPageMappings)
Test IndexPage page get_label_from_* functions on wikisource:en
--
Traceback (most recent call last):
  File "tests/aspects.py", line 688, in wrapped_method
func(self, key)
  File "tests/proofreadpage_tests.py", line 483, in test_get_labels
self.assertEqual(index_page.get_label_from_page_number(num), label)
  File "pywikibot/proofreadpage.py", line 471, in wrapper
self._get_page_mappings()
  File "pywikibot/proofreadpage.py", line 514, in _get_page_mappings
self.purge()
  File "pywikibot/page.py", line 1299, in purge
return self.site.purgepages([self], **kwargs)
  File "pywikibot/site.py", line 1304, in callee
return fn(self, *args, **kwargs)
  File "pywikibot/site.py", line 5465, in purgepages
titles=[page for page in set(pages)])
  File "pywikibot/site.py", line 1959, in _simple_request
site=self, **kwargs)
  File "tests/__init__.py", line 285, in create_simple
return cls(site=site, parameters=kwargs)
  File "tests/__init__.py", line 279, in __init__
super(TestRequest, self).__init__(0, *args, **kwargs)
  File "pywikibot/data/api.py", line 2205, in __init__
super(CachedRequest, self).__init__(*args, **kwargs)
  File "pywikibot/data/api.py", line 1452, in __init__
% self.site._userinfo['name'])
Error: API write action attempted as IP u'xxx.xxx.xxx.xxx'

==
ERROR: test_get_page_and_number_enws 
(tests.proofreadpage_tests.TestIndexPageMappings)
Test IndexPage page get_page_number functions on wikisource:en
--
Traceback (most recent call last):
  File "tests/aspects.py", line 688, in wrapped_method
func(self, key)
  File "tests/proofreadpage_tests.py", line 500, in test_get_page_and_number
self.assertEqual(index_page.get_page_number_from_label(label),
  File "pywikibot/proofreadpage.py", line 471, in wrapper
self._get_page_mappings()
  File "pywikibot/proofreadpage.py", line 514, in _get_page_mappings
self.purge()
  File "pywikibot/page.py", line 1299, in purge
return self.site.purgepages([self], **kwargs)
  File "pywikibot/site.py", line 1304, in callee
return fn(self, *args, **kwargs)
  File "pywikibot/site.py", line 5465, in purgepages
titles=[page for page in set(pages)])
  File "pywikibot/site.py", line 1959, in _simple_request
site=self, 

[Pywikipedia-bugs] [Maniphest] [Created] T128992: site detection failures

2016-03-05 Thread jayvdb
jayvdb created this task.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  These changes are likely caused by external factors, but they need to be 
investigated and corrected.
  
FAIL: test_detect_failure (tests.site_detect_tests.SiteDetectionTestCase)
Test detection failure for MediaWiki sites with an API.
--
Traceback (most recent call last):
  File "tests/site_detect_tests.py", line 217, in test_detect_failure
self.assertAllError()
  File "tests/site_detect_tests.py", line 122, in assertAllError
self.assertEqual(self.failures, {})
AssertionError: {u'http://hackerspaces.org/wiki/$1': 
AssertionError('http://hackerspaces.org/wiki/$1': 
AssertionError(' is not 
None',)}
+ {}

==
FAIL: test_detect_site (tests.site_detect_tests.SiteDetectionTestCase)
Test detection of MediaWiki sites.
--
Traceback (most recent call last):
  File "tests/site_detect_tests.py", line 184, in test_detect_site
self.assertAllPass()
  File "tests/site_detect_tests.py", line 115, in assertAllPass
self.assertEqual(set(self.passes), set(self.all) - set(self.skips))
AssertionError: Items in the second set but not the first:
u'http://botwiki.sno.cc/wiki/$1'

TASK DETAIL
  https://phabricator.wikimedia.org/T128992

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: Aklapper, pywikibot-bugs-list, jayvdb



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Retitled] T128318: No handlers could be found for logger "pywiki"

2016-03-05 Thread jayvdb
jayvdb changed the title from "No handlers could be found for logger "pywiki" 
to "No handlers could be found for logger "pywiki"".
jayvdb edited the task description.

TASK DETAIL
  https://phabricator.wikimedia.org/T128318

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: Aklapper, StudiesWorld, Xqt, pywikibot-bugs-list



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Retitled] T128453: script_tests fails for editarticle in windows environment

2016-03-05 Thread jayvdb
jayvdb changed the title from "script_tests failes for editarticle in windows 
environment" to "script_tests fails for editarticle in windows environment".

TASK DETAIL
  https://phabricator.wikimedia.org/T128453

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: DrTrigon, Aklapper, jayvdb, StudiesWorld, Xqt, pywikibot-bugs-list



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Created] T128991: test_pagegen_i18n_input failing: setlocale: LC_ALL: cannot change locale (arz): No such file or directory

2016-03-05 Thread jayvdb
jayvdb created this task.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
FAIL: test_pagegen_i18n_input (tests.i18n_tests.InputTestCase)
Test i18n.input via .
--
Traceback (most recent call last):
  File "tests/i18n_tests.py", line 380, in test_pagegen_i18n_input
self.assertIn('Please enter the category name:', result['stderr'])
AssertionError: u'Please enter the category name:' not found in u'sh: 
warning: setlocale: LC_ALL: cannot change locale (arz): No such file or 
directory\n'

TASK DETAIL
  https://phabricator.wikimedia.org/T128991

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: Aklapper, jayvdb, pywikibot-bugs-list



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Created] T128990: WikiStats sorting algorithm causing unexpected largest wikisource

2016-03-05 Thread jayvdb
jayvdb created this task.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  According to https://meta.wikimedia.org/wiki/Wikisource , French Wikisource 
still has more pages , but English Wikisource has more 'good' pages.  need to 
check which algorithm change broke this test
  
FAIL: test_sort (tests.wikistats_tests.WikiStatsTestCase)
Test sorted results.
--
Traceback (most recent call last):
  File "tests/wikistats_tests.py", line 35, in test_sort
self.assertEqual(ws.languages_by_size('wikisource')[0], 'fr')
AssertionError: u'en' != u'fr'
- en
+ fr

TASK DETAIL
  https://phabricator.wikimedia.org/T128990

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: Aklapper, jayvdb, pywikibot-bugs-list



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Created] T128989: TestLogeventsFactoryGenerator multi event tests failing: 500 not less than or equal to 10

2016-03-05 Thread jayvdb
jayvdb created this task.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
==
FAIL: test_logevents_default_multi 
(tests.pagegenerators_tests.TestLogeventsFactoryGenerator)
--
Traceback (most recent call last):
  File "tests/pagegenerators_tests.py", line 885, in 
test_logevents_default_multi
self.assertLessEqual(len(pages), 10)
AssertionError: 500 not less than or equal to 10

==
FAIL: test_logevents_user_multi 
(tests.pagegenerators_tests.TestLogeventsFactoryGenerator)
--
Traceback (most recent call last):
  File "tests/pagegenerators_tests.py", line 911, in 
test_logevents_user_multi
self.assertLessEqual(len(pages), 10)
AssertionError: 500 not less than or equal to 10

TASK DETAIL
  https://phabricator.wikimedia.org/T128989

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: Aklapper, jayvdb, pywikibot-bugs-list



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Created] T128987: testQueriesDirectFromClaim fails with TypeError: Cannot construct a query from a claim of type external-id

2016-03-05 Thread jayvdb
jayvdb created this task.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
ERROR: testQueriesDirectFromClaim 
(tests.wikidataquery_tests.TestLiveApiFunctions)
Test construction of the right Query from a page.Claim.
--
Traceback (most recent call last):
  File "tests/wikidataquery_tests.py", line 165, in 
testQueriesDirectFromClaim
q = query.fromClaim(claim)
  File "pywikibot/data/wikidataquery.py", line 461, in fromClaim
% claim.type)
TypeError: Cannot construct a query from a claim of type external-id

TASK DETAIL
  https://phabricator.wikimedia.org/T128987

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: Aklapper, jayvdb, pywikibot-bugs-list, Ricordisamoa



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Created] T128986: proofread page tests fail if username is not present

2016-03-05 Thread jayvdb
jayvdb created this task.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  Rather than fail badly, they should fail in the class constructor or the test 
framework might be able to simply set a dummy username as these tests do not 
write so it shouldnt attempt to log in.
  
==
ERROR: test_check_if_cached_enws 
(tests.proofreadpage_tests.TestIndexPageMappings)
Test if cache is checked and loaded properly on wikisource:en
--
Traceback (most recent call last):
  File "tests/aspects.py", line 688, in wrapped_method
func(self, key)
  File "tests/proofreadpage_tests.py", line 456, in test_check_if_cached
fetched_label = index_page.get_label_from_page_number(num)
  File "pywikibot/proofreadpage.py", line 471, in wrapper
self._get_page_mappings()
  File "pywikibot/proofreadpage.py", line 514, in _get_page_mappings
self.purge()
  File "pywikibot/page.py", line 1299, in purge
return self.site.purgepages([self], **kwargs)
  File "pywikibot/site.py", line 1299, in callee
self.login(False)
  File "pywikibot/site.py", line 2058, in login
user=self._username[sysop])
  File "pywikibot/tools/__init__.py", line 1357, in wrapper
return obj(*__args, **__kw)
  File "pywikibot/login.py", line 115, in __init__
'wiki_code': self.site.code})
NoUsername: ERROR: Username for wikisource:en is undefined.
If you have an account for that site, please add a line to user-config.py:

usernames['wikisource']['en'] = 'myUsername'

TASK DETAIL
  https://phabricator.wikimedia.org/T128986

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: Aklapper, Mpaa, jayvdb, pywikibot-bugs-list



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Edited] T128981: -logevents command line argument syntax allows specifying limit, however -limit exists for that purpose

2016-03-05 Thread jayvdb
jayvdb edited the task description.

TASK DETAIL
  https://phabricator.wikimedia.org/T128981

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: Aklapper, jayvdb, pywikibot-bugs-list



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Edited] T128981: -logevents command line argument syntax allows specifying limit, however -limit exists for that purpose

2016-03-05 Thread jayvdb
jayvdb edited the task description.

TASK DETAIL
  https://phabricator.wikimedia.org/T128981

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: Aklapper, jayvdb, pywikibot-bugs-list



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Edited] T128981: -logevents command line argument syntax allows specifying limit, however -limit exists for that purpose

2016-03-05 Thread jayvdb
jayvdb edited the task description.

TASK DETAIL
  https://phabricator.wikimedia.org/T128981

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: Aklapper, jayvdb, pywikibot-bugs-list



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Edited] T67192: move imageuncat's uploadedYesterday to pagegenerators

2016-03-05 Thread jayvdb
jayvdb edited the task description.

TASK DETAIL
  https://phabricator.wikimedia.org/T67192

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: AbdealiJK, jayvdb
Cc: gerritbot, Avicennasis, Aklapper, jayvdb, Daviskr, valhallasw, 
Ricordisamoa, pywikibot-bugs-list, Multichill, Liuxinyu970226



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Created] T128981: -logevents command line argument syntax allows specifying limit, however -limit exists for that purpose

2016-03-05 Thread jayvdb
jayvdb created this task.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  -logevents command line argument syntax allows specifying limit, however 
-limit exists for that purpose

TASK DETAIL
  https://phabricator.wikimedia.org/T128981

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: Aklapper, jayvdb, pywikibot-bugs-list



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T93098: Remove default values in flickrripper script

2016-03-05 Thread darthbhyrava
darthbhyrava added a comment.


  @jayvdb sure, I'll take a look into that, too. :)

TASK DETAIL
  https://phabricator.wikimedia.org/T93098

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: darthbhyrava
Cc: Xqt, gerritbot, darthbhyrava, Avicennasis, jayvdb, pywikibot-bugs-list, 
Aklapper, XZise, tahteche, Jay8g



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T76211: pywikibot external pycolorname used by catimages.py

2016-03-05 Thread AbdealiJK
AbdealiJK added a comment.


  @DrTrigon Thanks for the comments
  
  1. Could you elaborate on how to do this ? I am not familiar with how to 
credit appropriately.
  
  The questions I have on this point are:
  
  - Where else should I credit developers ?
  - Who are the other developers ? (The git log showed only your name)
  - How do we mention the sources ? (Should I remove them from the readme?)
  
  I've created an issue on the repo too : 
https://github.com/AbdealiJK/pycolorname/issues/21
  
  2. yes. There's a bug at  https://github.com/AbdealiJK/pycolorname/issues/20
  
  3. In general json is supposed to be faster. The reason I personally prefer 
json is because it's human readable and easy to parse by anything.
  
  Note:
  
  - The colors from the pickle should be the same for most of them (I will 
check this myself and probably add a test for it too).
  - The colors for cal-print source are different because it seems `colormath` 
changed it's implementation of `delta_e`. And they do not have docs nor code of 
the older releases so I'm unable to verify which method of computing delta_e 
they used.
  
  4. Yes, docs are important. Will make them :)
  
  Created https://github.com/AbdealiJK/pycolorname/issues/23 to handle this
  
  I have planned assignColorName like functionality check here 
 but I think it's best for 
a second release - as I'd like to read up on colortheory a bit more before 
doing that. So I was thinking after the gsoc proposal deadline.

TASK DETAIL
  https://phabricator.wikimedia.org/T76211

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: AbdealiJK
Cc: Vlkyrie, DrTrigon, Aklapper, jayvdb, valhallasw, pywikibot-bugs-list, Anshoe



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Changed Project Column] T57081: Implement support for Flagged Revisions in Pywikibot

2016-03-05 Thread Sumit
Sumit moved this task to Need Discussion on the Possible-Tech-Projects 
workboard.

TASK DETAIL
  https://phabricator.wikimedia.org/T57081

WORKBOARD
  https://phabricator.wikimedia.org/project/board/1042/

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Sumit
Cc: Sumit, DerHexer, Addshore, KasiaWMDE, 01tonythomas, Shrutika719, Aklapper, 
Qgil, jayvdb, Legoktm, Ricordisamoa, pywikibot-bugs-list, Jackmcbarn, Jay8g



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Changed Project Column] T85656: Pywikibot to detect and correctly handle edits that trigger abusefilter rules

2016-03-05 Thread Sumit
Sumit moved this task to Need Discussion on the Possible-Tech-Projects 
workboard.

TASK DETAIL
  https://phabricator.wikimedia.org/T85656

WORKBOARD
  https://phabricator.wikimedia.org/project/board/1042/

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Sumit
Cc: Sumit, 01tonythomas, XZise, Multichill, Xqt, Mpaa, jayvdb, Aklapper, 
pywikibot-bugs-list, Luke081515, Gryllida, Se4598, Jackmcbarn, Jay8g



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T128946: Move out opencv from pywikibot-compat

2016-03-05 Thread DrTrigon
DrTrigon added a comment.


  In https://phabricator.wikimedia.org/T128946#2091074, @jayvdb wrote:
  
  > This will be much harder to package properly, as it is c++.
  
  
  True, this is part of the reason why I never did it myself. I appreciate your 
effort!
  
  > Now the important question -- which bits of this repo (if any) are needed 
for `catimages.py`.
  
  Have you ever had the bot running? That would make answering those questions 
easier as I did not run it for quite some time and things might have changed.
  
  > I dont see `posit` used by `catimages.py`
  
  I found 3 appearances:
  
def _detect_Faces(self):
def _util_get_Pose_POSIT(self, D3points, D2points):
def _detect_Chessboard(self):
  
  In https://phabricator.wikimedia.org/T128946#2091075, @jayvdb wrote:
  
  > @AbdealiJK , if you think the same functionality can be achieved with 
another library, then we do not need to do this task ;-)
  
  
  This actually is THE crucial point, see next comment. And another reason why 
I asked whether you ran the bot once.
  
  In https://phabricator.wikimedia.org/T128946#2091079, @jayvdb wrote:
  
  > Lets expand this tasks scope a little, to include investigating `cv2` used 
by catimages.
  >
  > catimages.py 's first revision 
(https://phabricator.wikimedia.org/rPWBO4e302baecac70e28fc12de117928a3fdd00f6e44)
 used `cv2` described in the source as
  >
  >   # TS: nonofficial cv2.so backport of the testing-version of
  >   # python-opencv because of missing build-host, done by DaB
  >   
  >
  > My guess is that this "testing-version of python-opencv" is now part of the 
main distributed library, and there is no need for a custom `cv2`.  But it 
would be good to find out what "missing build-host" means.
  >
  > There are a bunch of Python packages that provide access to opencv : 
https://pypi.python.org/pypi?%3Aaction=search=opencv=search
  >
  > It looks like none of them are the 'real' cv2 , according to 
http://answers.opencv.org/question/67725/opencv-in-pypi/ , which means 
catimages.py in core will need a custom ImportError message to inform the user 
how to install it.
  >
  > On Fedora, they recommend using yum/dnf to install the operating system 
package `opencv-python`.  In ubuntu it appears to be called `python-opencv`.  
Debian doesnt appear to include it, but Wikimedia doesnt usually use Debian.
  
  
  As far as I remember we had 2 issues back then:
  
  1. The ubuntu version used on the toolserver was older than the one on my 
local machine and thus contained other packages. DaB did this compile manually 
due to a missing build-host.
  2. No matter how recent the ubuntu version used was, the opencv-python 
wrapper always had a lack of support for ALL cv2 functions, so I had to write 
diry/cheap and nasty wrappers myself. This gives the freedom to use THE WHOLE 
cv2 functionality as the c++ implementation is complete. Here is where e.g. the 
need for an automated build process came up; I had to make sure that the code 
got recompiled in case the toolserver would have been updated and thus included 
libraries changed.

TASK DETAIL
  https://phabricator.wikimedia.org/T128946

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: DrTrigon
Cc: Multichill, DaBPunkt, pywikibot-bugs-list, jayvdb, DrTrigon, Aklapper, 
AbdealiJK, Anshoe



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Updated] T67192: move imageuncat's uploadedYesterday to pagegenerators

2016-03-05 Thread gerritbot
gerritbot added a project: Patch-For-Review.

TASK DETAIL
  https://phabricator.wikimedia.org/T67192

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: AbdealiJK, gerritbot
Cc: gerritbot, Avicennasis, Aklapper, jayvdb, Daviskr, valhallasw, 
Ricordisamoa, pywikibot-bugs-list, Multichill, Liuxinyu970226



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T67192: move imageuncat's uploadedYesterday to pagegenerators

2016-03-05 Thread gerritbot
gerritbot added a comment.


  Change 275204 had a related patch set uploaded (by AbdealiJK):
  imageuncat: Use LogpagesPageGenerator
  
  https://gerrit.wikimedia.org/r/275204

TASK DETAIL
  https://phabricator.wikimedia.org/T67192

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: AbdealiJK, gerritbot
Cc: gerritbot, Avicennasis, Aklapper, jayvdb, Daviskr, valhallasw, 
Ricordisamoa, pywikibot-bugs-list, Multichill, Liuxinyu970226



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T76211: pywikibot external pycolorname used by catimages.py

2016-03-05 Thread DrTrigon
DrTrigon added a comment.


  In https://phabricator.wikimedia.org/T76211#2091018, @jayvdb wrote:
  
  > More docstrings, especially module level docstrings, would be especially 
helpful, but structurally it looks very good to me.  Give @DrTrigon  a day or 
two to look at it before publishing.
  
  
  I agree with docstrings, it should give an nice docu with sphinx and or 
doxygen.
  
  I would be very happy, if I could get more than 2 days - more like 1 week or 
so... as I am not in wiki anymore partly due to this rush all the time. Thanks.
  
  In https://phabricator.wikimedia.org/T76211#2091114, @AbdealiJK wrote:
  
  > Hi,
  >
  > Just an FYI here. I've made a development release of pycolornames as 
@jayvdb was ok with it.
  >  You can see that at https://pypi.python.org/pypi/pycolorname
  >
  > Also, I've set it up so we have "nightly builds" whenever any Pull Request 
is merged using `rultor`.
  >  When @DrTrigon completes his review I will release a stable version.
  
  
  So first I would to tanks you for your work! I downloaded 
pycolorname-0.0.1.dev20160305125219.tar.gz and examined it as well as the pypi 
page at https://pypi.python.org/pypi/pycolorname. I think we still have some 
work to do in order to make the first major relase:
  
  1. I totally miss credits for other developers involved as well as proper 
licensing for http://www.pantonepaint.co.kr, http://www.logodesignteam.com, 
http://www.cal-print.com as well as http://www.ralcolor.com (it's questionable 
to me whether we should mention them at all - actually we would have to pay 
license fees to pantone to get such a table - these web pages have been kind or 
careless enough such that we were able to get the data - at least for once ;) - 
however you can mention Pantone and RAL - https://en.wikipedia.org of course. I 
don't like insisting on that stuff but I think we have to do this properly.
  
  2. There are formatting issues on the pypi page.
  
  3. I cannot compare databases under pycolorname/data/ easily due to changed 
format. I would have to sit down and write code for comparison. Is JSON faster 
than pickle for that size of data?
  
  4. Extending on jayvdb's comment I have to ask for docu containing examples, 
that explain how to use the code (I currently don't understand how, sorry). 
Therefore I cannot comment on the code yet.
  
  To extend on 4. a bit more,  basically we should implement something like in 
assignColorNames done:
  
  - a method that allows to search for a color's name given the RGB value of 
that color
  - this method should return the most close match out of the set of names we 
have in the database and the distance (colormath)
  - this assignments for every RGB value could be pre-calculated and stored in 
a DB in advance as well - not sure whether I tried this once but the DB was 
insanely big... - we should give it a try, it would speed the code up and 
remove the colormath dependency for end-users
  
  This is what I've found so far - all the best!

TASK DETAIL
  https://phabricator.wikimedia.org/T76211

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: AbdealiJK, DrTrigon
Cc: Vlkyrie, DrTrigon, Aklapper, jayvdb, valhallasw, pywikibot-bugs-list, Anshoe



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Created] T128955: script test for featured.py fails

2016-03-05 Thread jayvdb
jayvdb created this task.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  With en.wp as test site:
  
==
FAIL: test_featured (tests.script_tests.TestScriptSimulate)
Test running featured -simulate.
--
Traceback (most recent call last):
  File "tests/script_tests.py", line 295, in testScript
stderr_other)
AssertionError: u'Use -help for further information.' not found in [u'Link 
FA does not exist', u'', u'NOTE: featured articles are not implemented at 
wikipedia:en.', u'0 pages written.']
  
  With ar.wp
  
==
FAIL: test_featured (tests.script_tests.TestScriptSimulate)
Test running featured -simulate.
--
Traceback (most recent call last):
  File "tests/script_tests.py", line 295, in testScript
stderr_other)
AssertionError: u'Use -help for further information.' not found in 
[u'\u0648\u0635\u0644\u0629 \u0645\u0642\u0627\u0644\u0629 
\u0645\u062e\u062a\u0627\u0631\u0629 does not exist', u'', u'NOTE: featured 
articles are not implemented at wikipedia:ar.', u'0 pages written.']
  
  `featured.py` was recently 'archived' in T109210: [RFC] featured.py is 
outdated for wm projects , but I am 
not sure if that is the cause.

TASK DETAIL
  https://phabricator.wikimedia.org/T128955

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: Aklapper, jayvdb, pywikibot-bugs-list



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T128951: reflinks.py doesn't check existing "autogenerated" tags

2016-03-05 Thread Ricordisamoa
Ricordisamoa added a comment.


id = 1
while self.autogen + str(id) in foundRefNames:
id += 1

TASK DETAIL
  https://phabricator.wikimedia.org/T128951

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Ricordisamoa
Cc: Ricordisamoa, Aklapper, pywikibot-bugs-list, Rubin16



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Claimed] T67192: move imageuncat's uploadedYesterday to pagegenerators

2016-03-05 Thread AbdealiJK
AbdealiJK claimed this task.
Herald added a subscriber: Avicennasis.

TASK DETAIL
  https://phabricator.wikimedia.org/T67192

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: AbdealiJK
Cc: Avicennasis, Aklapper, jayvdb, Daviskr, valhallasw, Ricordisamoa, 
pywikibot-bugs-list, Multichill, Liuxinyu970226



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T93098: Remove default values in flickrripper script

2016-03-05 Thread jayvdb
jayvdb added a comment.


  @darthbhyrava , the script `panoramiopicker.py` is nearly a copy of 
`flickrripper.py`, and has the same problem.  If you like, you can fix this 
problem in `panoramiopicker.py` also.

TASK DETAIL
  https://phabricator.wikimedia.org/T93098

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: darthbhyrava, jayvdb
Cc: Xqt, gerritbot, darthbhyrava, Avicennasis, jayvdb, pywikibot-bugs-list, 
Aklapper, XZise, tahteche, Jay8g



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T128951: reflinks.py doesn't check existing "autogenerated" tags

2016-03-05 Thread Dalba
Dalba removed a subscriber: pywikibot-core.

TASK DETAIL
  https://phabricator.wikimedia.org/T128951

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Dalba
Cc: Aklapper, pywikibot-bugs-list, Rubin16



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Created] T128951: reflinks.py doesn't check existing "autogenerated" tags

2016-03-05 Thread Rubin16
Rubin16 created this task.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  For example, have a look at the diff:
  
https://ru.wikipedia.org/w/index.php?title=%D0%AD%D0%BA%D0%BE%D0%BD%D0%BE%D0%BC%D0%B8%D0%BA%D0%B0_%D0%A3%D0%BA%D1%80%D0%B0%D0%B8%D0%BD%D1%8B=76293350=76247022
  
  The bot assigned ref-tags "autogenerated2", "autogenerated3", 
"autogenerated4" but those refnames were already used in the article and that 
resulted in the error - the same refname assigned to different links.
  
  Fortunately, the bot fix it itself during the next edits:
  
https://ru.wikipedia.org/w/index.php?title=%D0%AD%D0%BA%D0%BE%D0%BD%D0%BE%D0%BC%D0%B8%D0%BA%D0%B0_%D0%A3%D0%BA%D1%80%D0%B0%D0%B8%D0%BD%D1%8B=76341806=76293350
  
  
https://ru.wikipedia.org/w/index.php?title=%D0%AD%D0%BA%D0%BE%D0%BD%D0%BE%D0%BC%D0%B8%D0%BA%D0%B0_%D0%A3%D0%BA%D1%80%D0%B0%D0%B8%D0%BD%D1%8B=76381201=76341806
  
  But I think it will be more correct to check existing refnames before they 
are assigned by the script

TASK DETAIL
  https://phabricator.wikimedia.org/T128951

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Rubin16
Cc: Aklapper, pywikibot-bugs-list, pywikibot-core, Rubin16, jayvdb



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Edited] T66838: Port catimages.py to core

2016-03-05 Thread AbdealiJK
AbdealiJK edited the task description.

TASK DETAIL
  https://phabricator.wikimedia.org/T66838

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: AbdealiJK
Cc: Vlkyrie, darthbhyrava, Sumit, DrTrigon, AbdealiJK, StudiesWorld, 
Shrutika719, Avicennasis, Aklapper, Xqt, jayvdb, valhallasw, Ricordisamoa, 
pywikibot-bugs-list, tahteche, Lethexie, droid, Jay8g



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T76211: pywikibot external pycolorname used by catimages.py

2016-03-05 Thread AbdealiJK
AbdealiJK added a comment.


  Hi,
  
  Just an FYI here. I've made a development release of pycolornames as @jayvdb 
was ok with it.
  You can see that at https://pypi.python.org/pypi/pycolorname
  
  Also, I've set it up so we have "nightly builds" whenever any Pull Request is 
merged using `rultor`.
  When @DrTrigon completes his review I will release a stable version.

TASK DETAIL
  https://phabricator.wikimedia.org/T76211

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: AbdealiJK
Cc: Vlkyrie, DrTrigon, Aklapper, jayvdb, valhallasw, pywikibot-bugs-list, Anshoe



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T128946: Move out opencv from pywikibot-compat

2016-03-05 Thread jayvdb
jayvdb added a comment.


  @Multichill , the intention is to organise the catimages dependencies, so 
that it can be ported to core without the old `externals` system that compat 
used, and that all dependencies are properly maintained packages with unit 
tests, etc.  i.e. all dependencies should be available via pip and/or 
yum/apt/dnf/etc.

TASK DETAIL
  https://phabricator.wikimedia.org/T128946

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: Multichill, DaBPunkt, pywikibot-bugs-list, jayvdb, DrTrigon, Aklapper, 
AbdealiJK, Anshoe



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Retitled] T76211: pywikibot external pycolorname used by catimages.py

2016-03-05 Thread jayvdb
jayvdb changed the title from "pywikibot externals opencv and pycolorname used 
by catimages.py" to "pywikibot external pycolorname used by catimages.py".

TASK DETAIL
  https://phabricator.wikimedia.org/T76211

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: AbdealiJK, jayvdb
Cc: Vlkyrie, DrTrigon, Aklapper, jayvdb, valhallasw, pywikibot-bugs-list, Anshoe



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Updated] T128946: Move out opencv from pywikibot-compat

2016-03-05 Thread jayvdb
jayvdb added a blocked task: T66838: Port catimages.py to core.

TASK DETAIL
  https://phabricator.wikimedia.org/T128946

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: Multichill, DaBPunkt, pywikibot-bugs-list, jayvdb, DrTrigon, Aklapper, 
AbdealiJK, Anshoe



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Updated] T66838: Port catimages.py to core

2016-03-05 Thread jayvdb
jayvdb added a blocking task: T128946: Move out opencv from pywikibot-compat.

TASK DETAIL
  https://phabricator.wikimedia.org/T66838

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: Vlkyrie, darthbhyrava, Sumit, DrTrigon, AbdealiJK, StudiesWorld, 
Shrutika719, Avicennasis, Aklapper, Xqt, jayvdb, valhallasw, Ricordisamoa, 
pywikibot-bugs-list, tahteche, Lethexie, droid, Jay8g



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T128946: Move out opencv from pywikibot-compat

2016-03-05 Thread Multichill
Multichill added a comment.


  Why are we wasting time on compat?

TASK DETAIL
  https://phabricator.wikimedia.org/T128946

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Multichill
Cc: Multichill, DaBPunkt, pywikibot-bugs-list, jayvdb, DrTrigon, Aklapper, 
AbdealiJK, Anshoe



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Updated] T119855: Attempting to login with pwb.py results in Permission denied on Mac OS X

2016-03-05 Thread jayvdb
jayvdb added a project: Pywikibot-login.py.
jayvdb edited the task description.

TASK DETAIL
  https://phabricator.wikimedia.org/T119855

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: pywikibot-bugs-list, Aklapper, RedWolf, StudiesWorld



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Updated] T119855: Attempting to login with pwb.py results in Permission denied on Mac OS X

2016-03-05 Thread jayvdb
jayvdb edited projects, added pywikibot-core; removed Pywikibot-compat-to-core.
Herald added a subscriber: pywikibot-bugs-list.

TASK DETAIL
  https://phabricator.wikimedia.org/T119855

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: pywikibot-bugs-list, Aklapper, RedWolf, StudiesWorld, jayvdb



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T128946: Move out opencv from pywikibot-compat

2016-03-05 Thread jayvdb
jayvdb added a subscriber: DaBPunkt.
jayvdb added a comment.


  Ah, I see `posit` is likely used in method `_JpegFile._util_get_Pose_POSIT`.
  
  Lets expand this tasks scope a little, to include investigating `cv2` used by 
catimages.
  
  catimages.py 's first revision 
(https://phabricator.wikimedia.org/rPWBO4e302baecac70e28fc12de117928a3fdd00f6e44)
 used `cv2` described in the source as
  
# TS: nonofficial cv2.so backport of the testing-version of
# python-opencv because of missing build-host, done by DaB
  
  My guess is that this "testing-version of python-opencv" is now part of the 
main distributed library, and there is no need for a custom `cv2`.  But it 
would be good to find out what "missing build-host" means.
  
  There are a bunch of Python packages that provide access to opencv : 
https://pypi.python.org/pypi?%3Aaction=search=opencv=search
  
  It looks like none of them are the 'real' cv2 , according to 
http://answers.opencv.org/question/67725/opencv-in-pypi/ , which means 
catimages.py in core will need a custom ImportError message to inform the user 
how to install it.
  
  On Fedora, they recommend using yum/dnf to install the operating system 
package `opencv-python`.  In ubuntu it appears to be called `python-opencv`.  
Debian doesnt appear to include it, but Wikimedia doesnt usually use Debian.

TASK DETAIL
  https://phabricator.wikimedia.org/T128946

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: DaBPunkt, pywikibot-bugs-list, jayvdb, DrTrigon, Aklapper, AbdealiJK, Anshoe



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T128946: Move out opencv from pywikibot-compat

2016-03-05 Thread jayvdb
jayvdb added a comment.


  @AbdealiJK , if you think the same functionality can be achieved with another 
library, then we do not need to do this task ;-)

TASK DETAIL
  https://phabricator.wikimedia.org/T128946

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: pywikibot-bugs-list, jayvdb, DrTrigon, Aklapper, AbdealiJK, Anshoe



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T128946: Move out opencv from pywikibot-compat

2016-03-05 Thread jayvdb
jayvdb added a comment.


  This will be much harder to package properly, as it is c++.
  
  Now the important question -- which bits of this repo (if any) are needed for 
`catimages.py`.
  
  There are two Python classes, in two different .cpp files.  
`bagofwords_classification_python.cpp` and `posit_python.cpp`
  
  If we need both of them, should they each be in a separate repo & separate 
package?
  
  If `bagofwords_classification_python.cpp` is needed, then I think it needs to 
be under the same license as  
https://github.com/Itseez/opencv/blob/master/LICENSE as code was copied from 
opencv (which was removed in https://github.com/Itseez/opencv/commit/31df47b6 
and is now in https://github.com/Itseez/opencv_contrib ) .
  
  I dont see `posit` used by `catimages.py`

TASK DETAIL
  https://phabricator.wikimedia.org/T128946

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: jayvdb
Cc: pywikibot-bugs-list, jayvdb, DrTrigon, Aklapper, AbdealiJK, Anshoe



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T128946: Move out opencv from pywikibot-compat

2016-03-05 Thread AbdealiJK
AbdealiJK added a comment.


  I was taking a look at this issue, and as discussed am making another issue 
to have an independent discussion on this.
  I'm wondering why we even have this package. It seems easier to just use the 
opencv bindings for python ?
  
  I've used the Pascal dataset before (with matlab). Would it be alright to use 
VOCDevkit directly rather than write our own C version of it ? We could run it 
on octave or matlab.
  Plus I notice a lot of math functions which are easier in matlab/octave.
  
  Could someone give me a brief overview of what exactly this package aims to 
do and some background on why it's C ?
  
  To me this seems to be a package that can be replaced by VOCDevkit and scipy 
at the moment.

TASK DETAIL
  https://phabricator.wikimedia.org/T128946

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: AbdealiJK
Cc: pywikibot-bugs-list, jayvdb, DrTrigon, Aklapper, AbdealiJK, Anshoe



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T76211: pywikibot externals opencv and pycolorname used by catimages.py

2016-03-05 Thread AbdealiJK
AbdealiJK added a comment.


  Sure - and thanks for the feedback :)

TASK DETAIL
  https://phabricator.wikimedia.org/T76211

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: AbdealiJK
Cc: DrTrigon, Aklapper, jayvdb, valhallasw, pywikibot-bugs-list, Anshoe



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T76211: pywikibot externals opencv and pycolorname used by catimages.py

2016-03-05 Thread jayvdb
jayvdb added a comment.


  More docstrings, especially module level docstrings, would be especially 
helpful, but structurally it looks very good to me.  Give @DrTrigon  a day or 
two to look at it before publishing.

TASK DETAIL
  https://phabricator.wikimedia.org/T76211

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: AbdealiJK, jayvdb
Cc: DrTrigon, Aklapper, jayvdb, valhallasw, pywikibot-bugs-list, Anshoe



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T128946: Move out opencv from pywikibot-compat

2016-03-05 Thread Peachey88
Peachey88 removed a subscriber: pywikibot-compat.
Peachey88 added a project: pywikibot-compat.
Herald added a subscriber: pywikibot-bugs-list.

TASK DETAIL
  https://phabricator.wikimedia.org/T128946

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Peachey88
Cc: pywikibot-bugs-list, jayvdb, DrTrigon, Aklapper, AbdealiJK, Anshoe



___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs