jayvdb created this task.
jayvdb added subscribers: pywikipedia-bugs, jayvdb, Aklapper.
jayvdb added a project: pywikibot-core.
TASK DESCRIPTION
misspelling has configuration for languages da, de, en, hu and nl, consisting of a category and/or template per language. However these configuration values are only per-language, and no error is show if the specified category or template does not exist on the target wiki.
TASK DETAIL
https://phabricator.wikimedia.org/T94681
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
Cc: Aklapper, jayvdb, pywikipedia-bugs
jayvdb created this task.
jayvdb added subscribers: Aklapper, pywikipedia-bugs, jayvdb.
jayvdb added projects: Pywikibot-tests, pywikibot-core.
TASK DESCRIPTION
The last two builds have been failing on the Internet Archive tests
https://travis-ci.org/wikimedia/pywikibot-core/builds/46652168https://travis-ci.org/wikimedia/pywikibot-core/builds/46671213
======================================================================
ERROR: testInternetArchiveNewest (tests.weblib_tests.TestInternetArchive)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/build/wikimedia/pywikibot-core/tests/weblib_tests.py", line 31, in testInternetArchiveNewest
archivedversion = weblib.getInternetArchiveURL('https://google.com')
File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/weblib.py", line 39, in getInternetArchiveURL
jsontext = http.fetch(uri).content
File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/comms/http.py", line 365, in fetch
error_handling_callback(request)
File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/comms/http.py", line 282, in error_handling_callback
raise request.data
ResponseNotReady
======================================================================
ERROR: testInternetArchiveOlder (tests.weblib_tests.TestInternetArchive)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/build/wikimedia/pywikibot-core/tests/weblib_tests.py", line 38, in testInternetArchiveOlder
archivedversion = weblib.getInternetArchiveURL('https://google.com', '200606')
File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/weblib.py", line 39, in getInternetArchiveURL
jsontext = http.fetch(uri).content
File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/comms/http.py", line 365, in fetch
error_handling_callback(request)
File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/comms/http.py", line 282, in error_handling_callback
raise request.data
ResponseNotReady
TASK DETAIL
https://phabricator.wikimedia.org/T86499
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
Cc: Aklapper, jayvdb, pywikipedia-bugs
Ciencia_Al_Poder created this task.
Ciencia_Al_Poder added a subscriber: Ciencia_Al_Poder.
Ciencia_Al_Poder added a project: pywikibot-core.
Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION
I've noticed that -step isn't taken into account when using -file as a generator.
For example, I've generated a file with a list of pages to work on. And I want Pywikibot to run them in that specific order, because that will improve the review process later.
Pywikibot by default tries to retrieve information of 50 pages by default, but the api returns them in alphabetic (pagename) order rather than the order in which we've requested it. Hence, I found that -step will solve the issue by querying pages one by one, following the same order.
The problem is that pywikibot ignores -step for -file, so it keeps returning 50 pages at a time.
TASK DETAIL
https://phabricator.wikimedia.org/T94746
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: Ciencia_Al_Poder
Cc: pywikipedia-bugs, Ciencia_Al_Poder, Aklapper, jayvdb
Rubin16 created this task.
Rubin16 added a subscriber: Rubin16.
Rubin16 added a project: pywikibot-core.
Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION
Please, see traceback:
Traceback (most recent call last):
File "core/pwb.py", line 213, in <module>
run_python_file(filename, argv, argvu, file_package)
File "core/pwb.py", line 82, in run_python_file
main_mod.__dict__)
File "core/scripts/reflinks.py", line 846, in <module>
main()
File "core/scripts/reflinks.py", line 843, in main
bot.run()
File "core/scripts/reflinks.py", line 519, in run
for page in self.generator:
File "/data/project/rubinbot2/core/pywikibot/pagegenerators.py", line 1239, in RedirectFilterPageGenerator
for page in generator or []:
File "/data/project/rubinbot2/core/pywikibot/pagegenerators.py", line 1574, in PreloadingGenerator
for page in generator:
File "/data/project/rubinbot2/core/pywikibot/data/api.py", line 2229, in __iter__
self.data = self.request.submit()
File "/data/project/rubinbot2/core/pywikibot/data/api.py", line 1554, in submit
headers=headers, body=body)
File "/data/project/rubinbot2/core/pywikibot/tools/__init__.py", line 930, in wrapper
return obj(*__args, **__kw)
File "/data/project/rubinbot2/core/pywikibot/comms/http.py", line 261, in request
r = fetch(baseuri, *args, **kwargs)
File "/data/project/rubinbot2/core/pywikibot/comms/http.py", line 358, in fetch
request._join() # wait for it
File "/data/project/rubinbot2/core/pywikibot/comms/threadedhttp.py", line 375, in _join
self.lock.acquire(True)
File "/usr/lib/python2.7/threading.py", line 323, in acquire
self.__cond.wait()
File "/usr/lib/python2.7/threading.py", line 243, in wait
waiter.acquire()
KeyboardInterrupt
CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
TASK DETAIL
https://phabricator.wikimedia.org/T94687
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: Rubin16
Cc: pywikipedia-bugs, Aklapper, Rubin16, jayvdb
jayvdb created this task.
jayvdb assigned this task to Omegat.
jayvdb added subscribers: pywikipedia-bugs, jayvdb, XZise, Omegat.
jayvdb added projects: PyWikiBot-Interwiki-Map, pywikibot-core, Pywikibot-tests.
TASK DESCRIPTION
The following tests depend on the user having certain token
site_tests.TestSiteTokens.*
site_tests.TestSiteObjectDeprecatedFunctions.test_token
site_tests.SiteUserTestCase2.testPatrol
If the test depends on having a token, the test is non-functional if the test user doesnt have that token, and the test should be marked as skipped.
TASK DETAIL
https://phabricator.wikimedia.org/T85353
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: Omegat, jayvdb
Cc: Aklapper, jayvdb, XZise, Omegat, pywikipedia-bugs
Ricordisamoa created this task.
Ricordisamoa added a subscriber: Ricordisamoa.
Ricordisamoa added projects: Pywikibot-General, tracking.
Ricordisamoa changed Security from none to none.
TASK DESCRIPTION
To lighten the framework and make it more usable with custom configurations.
TASK DETAIL
https://phabricator.wikimedia.org/T78390
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: Ricordisamoa
Cc: Aklapper, Ricordisamoa, pywikipedia-bugs