Xqt created this task.
Xqt added a subscriber: Xqt.
Xqt added a project: Pywikibot-solve-disambiguation.py.
Xqt changed Security from none to none.
TASK DESCRIPTION
running that script with -always option over hundreds of pages putting page changes asynchronously leads to infinity loop or the script hangs consuming all resource of on CPU (25% of a 4 core machine) and couldn't be stopped via Ctrl-C.
TASK DETAIL
https://phabricator.wikimedia.org/T85061
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Aklapper, Xqt, pywikipedia-bugs
valhallasw created this task.
valhallasw added a subscriber: valhallasw.
valhallasw added projects: pywikibot-core, Pywikibot-General.
valhallasw changed Security from none to none.
TASK DESCRIPTION
On both linux and windows.
TASK DETAIL
https://phabricator.wikimedia.org/T76248
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: valhallasw
Cc: pywikipedia-bugs, valhallasw, jayvdb
XZise created this task.
XZise assigned this task to jayvdb.
XZise added subscribers: pywikipedia-bugs, jayvdb, XZise, Xqt.
XZise added a project: pywikibot-core.
TASK DESCRIPTION
Before officially releasing 2.0 all code (especially the library) should be PEP-8 compliant and non-compliant code should be marked deprecated. But I also think that this shouldn't be rushed as this gives us a chance to change the method headers for example and improve them without the need to deprecate parts of the new PEP-8 method header.
TASK DETAIL
https://phabricator.wikimedia.org/T85328
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb, XZise
Cc: Aklapper, jayvdb, XZise, Xqt, pywikipedia-bugs
Xqt created this task.
Xqt added a subscriber: Xqt.
Xqt added a project: pywikibot-core.
Xqt changed Security from none to none.
TASK DESCRIPTION
syntax for print statement has been changed few days ago:
Traceback (most recent call last):
File "C:\pwb\core\pwb.py", line 221, in <module>
run_python_file(filename, argv, argvu, file_package)
File "C:\pwb\core\pwb.py", line 80, in run_python_file
exec(compile(source, filename, "exec"), main_mod.__dict__)
File ".\scripts\vm-auto-erl-neu.py", line 553
print 'fertig'
SyntaxError: invalid syntax
<type 'exceptions.SyntaxError'>
CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
Pywikibot: pywikibot-core (398e7a8, s5826, 2014/12/19, 19:21:54, ok)
Release version: 2.0b3
httplib2 version: 0.9
cacerts: C:\pwb\core\externals\httplib2\python2\httplib2\cacerts.txt
certificate test: ok
Python: 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)]
unicode test: ok
PYWIKIBOT2_DIR: Not set
PYWIKIBOT2_DIR_PWB: C:\pwb\core
PYWIKIBOT2_NO_USER_CONFIG: Not set
Config base dir: C:\pwb\core
TASK DETAIL
https://phabricator.wikimedia.org/T85053
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Aklapper, Xqt, jayvdb, pywikipedia-bugs
valhallasw created this task.
valhallasw added a subscriber: valhallasw.
valhallasw added a project: pywikibot-core.
TASK DESCRIPTION
`bot.debug` has a different interface from all other logging functions:
```
def debug(text, layer, decoder=None, newline=True, **kwargs):
```
versus
```
def error(text, decoder=None, newline=True, **kwargs):
```
We should deprecate `layer`, for `_logger`, passed as kwarg (in debug) or the other way around (for all other functions).
TASK DETAIL
https://phabricator.wikimedia.org/T85620
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: valhallasw
Cc: Aklapper, valhallasw, jayvdb, pywikipedia-bugs
Xqt created this task.
Xqt added a subscriber: Xqt.
Xqt added a project: Pywikibot-solve-disambiguation.py.
Xqt changed Security from none to none.
TASK DESCRIPTION
c:\Pywikipedia\ssh\pywikibot\core>pwb.py solve_disambiguation -just -pos:"Foo" Adler -simulate -lang:pdc
Possibility Foo does not actually exist. Use it anyway? ([y]es, [N]o) y
0 - Aadler
1 - Foo
Found 2 references.
Will work on 2 pages.
Retrieving 2 pages from wikipedia:pdc.
Traceback (most recent call last):
File "C:\Pywikipedia\ssh\pywikibot\core\pwb.py", line 221, in <module>
run_python_file(filename, argv, argvu, file_package)
File "C:\Pywikipedia\ssh\pywikibot\core\pwb.py", line 80, in run_python_file
exec(compile(source, filename, "exec"), main_mod.__dict__)
File "C:\Pywikipedia\ssh\pywikibot\core\scripts\solve_disambiguation.py", line 1121, in <module>
main()
File "C:\Pywikipedia\ssh\pywikibot\core\scripts\solve_disambiguation.py", line 1117, in main
bot.run()
File "C:\Pywikipedia\ssh\pywikibot\core\scripts\solve_disambiguation.py", line 1012, in run
self.treat(refPage, disambPage)
File "C:\Pywikipedia\ssh\pywikibot\core\scripts\solve_disambiguation.py", line 647, in treat
already_dn = text[m.end():m.end() + 8].find(dn_template_str[:4]) > -1
TypeError: 'NoneType' object has no attribute '__getitem__'
<type 'exceptions.TypeError'>
CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
TASK DETAIL
https://phabricator.wikimedia.org/T78521
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Aklapper, Xqt, pywikipedia-bugs
jayvdb created this task.
jayvdb added a subscriber: jayvdb.
jayvdb added projects: Pywikibot-Wikidata, pywikibot-core.
jayvdb changed Security from none to none.
TASK DESCRIPTION
claimit has 'exists' detection for sources and qualifiers, however the algorithm it uses does not work.
Claim needs new methods has_source(s) and has_qualifier(s).
TASK DETAIL
https://phabricator.wikimedia.org/T76547
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: jayvdb
Cc: Aklapper, jayvdb, pywikipedia-bugs
jayvdb created this task.
jayvdb added subscribers: jayvdb, saper.
jayvdb added a project: pywikibot-core.
jayvdb changed Security from none to none.
TASK DESCRIPTION
Two features recently landed in compat and need to be ported to core so that core remains feature compatible with compat
https://gerrit.wikimedia.org/r/#/c/175610/https://gerrit.wikimedia.org/r/#/c/175638/
TASK DETAIL
https://phabricator.wikimedia.org/T76294
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
To: jayvdb
Cc: pywikipedia-bugs, jayvdb, saper