JAnD created this task.
JAnD added a subscriber: JAnD.
JAnD added a project: pywikibot-core.
TASK DESCRIPTION
zh-min-nan wiktionary returns different names of pages:
I:\py\rewrite>pwb.py interwiki -family:wiktionary -subcats:Gí-giân -cleanup -lang:zh-min-nan -async -whenneeded:5 -untranslated
```
NOTE: Number of pages queued is 0, trying to add 50 more.
Retrieving 36 pages from wiktionary:zh-min-nan.
WARNING: preloadpages: Query returned unexpected title 'Lui-pia?t:Bân-lâm-gú'
WARNING: preloadpages: Query returned unexpected title 'Lui-pia?t:Hôa-gú'
WARNING: preloadpages: Query returned unexpected title 'Lui-pia?t:Eng-gú'
WARNING: preloadpages: Query returned unexpected title 'Lui-pia?t:Ji?t-gí'
WARNING: preloadpages: Query returned unexpected title 'Lui-pia?t:Hui-gú'
WARNING: preloadpages: Query returned unexpected title 'Lui-pia?t:Hoat-gú'
WARNING: preloadpages: Query returned unexpected title 'Lui-pia?t:Tek-gú'
WARNING: preloadpages: Query returned unexpected title 'Lui-pia?t:Se-pan-gâ-gú'
WARNING: preloadpages: Query returned unexpected title 'Lui-pia?t:Phux-tô-gâ-gú'
WARNING: preloadpages: Query returned unexpected title 'Lui-pia?t:O?at-lâm-gú'
WARNING: preloadpages: Query returned unexpected title 'Lui-pia?t:A-la-pek-gú'
WARNING: preloadpages: Query returned unexpected title 'Lui-pia?t:Ke-te-gú'
WARNING: preloadpages: Query returned unexpected title 'Lui-pia?t:Dan-gú'
WARNING: preloadpages: Query returned unexpected title 'Lui-pia?t:Hun-lân-gú'
WARNING: preloadpages: Query returned unexpected title 'Lui-pia?t:In-nî-gú'
WARNING: preloadpages: Query returned unexpected title 'Lui-pia?t:Í-tai-li-gú'
WARNING: preloadpages: Query returned unexpected title 'Lui-pia?t:Lo -se-a-gú'
WARNING: preloadpages: Query returned unexpected title 'Lui-pia?t:Hi-lia?p-gú'
WARNING: preloadpages: Query returned unexpected title 'Lui-pia?t:La-teng-gú'
WARNING: preloadpages: Query returned unexpected title 'Lui-pia?t:Pe?h lo -se-a-
gú'
WARNING: preloadpages: Query returned unexpected title 'Lui-pia?t:Hi-pek-lâi-gú'
WARNING: preloadpages: Query returned unexpected title 'Lui-pia?t:Se-kai-gú'
WARNING: preloadpages: Query returned unexpected title 'Lui-pia?t:Peng-te-gú'
WARNING: preloadpages: Query returned unexpected title 'Lui-pia?t:Pho-lân-gú'
WARNING: preloadpages: Query returned unexpected title 'Lui-pia?t:Lâm-hui-gú'
WARNING: preloadpages: Query returned unexpected title 'Lui-pia?t:Bông-kó -gú'
WARNING: preloadpages: Query returned unexpected title 'Lui-pia?t:Pho-su-gú'
WARNING: preloadpages: Query returned unexpected title 'Lui-pia?t:Thai-gú'
WARNING: preloadpages: Query returned unexpected title 'Lui-pia?t:Má-lâi-gú'
WARNING: preloadpages: Query returned unexpected title 'Lui-pia?t:Ido-gú'
WARNING: preloadpages: Query returned unexpected title 'Lui-pia?t:Hân-gú'
WARNING: preloadpages: Query returned unexpected title 'Lui-pia?t:Thó -ní-kî-gú'
WARNING: preloadpages: Query returned unexpected title 'Lui-pia?t:Mî-iux?-tó-gú'
WARNING: preloadpages: Query returned unexpected title 'Lui-pia?t:Bân-tang-oe'
WARNING: preloadpages: Query returned unexpected title 'Lui-pia?t:Kheh-oe'
WARNING: preloadpages: Query returned unexpected title 'Lui-pia?t:Tagalog-gú'
Dump nan (wiktionary) appended.
Traceback (most recent call last):
File "I:\py\rewrite\pwb.py", line 222, in <module>
run_python_file(filename, argv, argvu, file_package)
File "I:\py\rewrite\pwb.py", line 81, in run_python_file
main_mod.__dict__)
File ".\scripts\interwiki.py", line 2647, in <module>
main()
File ".\scripts\interwiki.py", line 2622, in main
bot.run()
File ".\scripts\interwiki.py", line 2365, in run
self.queryStep()
File ".\scripts\interwiki.py", line 2338, in queryStep
self.oneQuery()
File ".\scripts\interwiki.py", line 2334, in oneQuery
subject.batchLoaded(self)
File ".\scripts\interwiki.py", line 1321, in batchLoaded
elif page.isRedirectPage() or page.isCategoryRedirect():
File "I:\py\rewrite\pywikibot\page.py", line 644, in isCategoryRedirect
for (template, args) in self.templatesWithParams():
File "I:\py\rewrite\pywikibot\tools.py", line 711, in wrapper
return obj(*__args, **__kw)
File "I:\py\rewrite\pywikibot\page.py", line 1869, in templatesWithParams
templates = textlib.extract_templates_and_params(self.text)
File "I:\py\rewrite\pywikibot\page.py", line 440, in text
self._text = self.get(get_redirect=True)
File "I:\py\rewrite\pywikibot\tools.py", line 711, in wrapper
return obj(*__args, **__kw)
File "I:\py\rewrite\pywikibot\page.py", line 349, in get
self._getInternals(sysop)
File "I:\py\rewrite\pywikibot\page.py", line 373, in _getInternals
self.site.loadrevisions(self, getText=True, sysop=sysop)
File "I:\py\rewrite\pywikibot\site.py", line 3167, in loadrevisions
% (page, pagedata['title']))
pywikibot.exceptions.Error: loadrevisions: Query on [[zh-min-nan:ňłćÚí×:L┼źi-pia
╠Źt:A-la-pek-g├║]] returned data on 'L┼źi-pia╠Źt:L┼źi-pia╠Źt:A-la-pek-g├║'
<class 'pywikibot.exceptions.Error'>
CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
```
I:\py\rewrite>
TASK DETAIL
https://phabricator.wikimedia.org/T86696
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: JAnD
Cc: Aklapper, JAnD, jayvdb, pywikipedia-bugs
JAnD created this task.
JAnD added a subscriber: JAnD.
JAnD added a project: pywikibot-core.
TASK DESCRIPTION
D:\Py\rewrite>`pwb.py interwiki -async -cleanup -whenneeded:5 -family:wiktionary -untranslated -lang:ast -subcats:Llingües -array:300`
```
ERROR: Traceback (most recent call last):
File "D:\Py\rewrite\pywikibot\data\api.py", line 937, in submit
headers=headers, body=body)
File "D:\Py\rewrite\pywikibot\tools.py", line 679, in wrapper
return obj(*__args, **__kw)
File "D:\Py\rewrite\pywikibot\comms\http.py", line 256, in request
r = fetch(baseuri, *args, **kwargs)
File "D:\Py\rewrite\pywikibot\comms\http.py", line 353, in fetch
request._join() # wait for it
AttributeError: 'HttpRequest' object has no attribute '_join'
WARNING: Waiting 5 seconds before retrying.
```
after replacing bot with latest nightly:
```
ERROR: Traceback (most recent call last):
File "D:\Py\rewrite\pywikibot\data\api.py", line 983, in submit
headers=headers, body=body)
File "D:\Py\rewrite\pywikibot\tools.py", line 711, in wrapper
return obj(*__args, **__kw)
File "D:\Py\rewrite\pywikibot\comms\http.py", line 248, in request
baseuri = site.base_url(uri)
File "D:\Py\rewrite\pywikibot\site.py", line 641, in __getattr__
% (self.__class__.__name__, attr))
AttributeError: APISite instance has no attribute 'base_url'
WARNING: Waiting 5 seconds before retrying.
```
TASK DETAIL
https://phabricator.wikimedia.org/T86621
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: JAnD
Cc: Aklapper, JAnD, jayvdb, pywikipedia-bugs
XZise created this task.
XZise added subscribers: XZise, murfel.
XZise added projects: pywikibot-core, Google-Code-in-2014.
TASK DESCRIPTION
The T57088 added the possibility to upload multiple files at once but this is only really usable from the command line. If another script (e.g. flickrripper see T78506) wants to use it it's not possible to set a filename and filedescription for each. Especially the first is fatal and could lead to invalid upload tries when the file endings don't match (the second could be worked around by editing the filepage after upload).
One suggestion I have is to make the list a two dimensional. Still allow for each entry a string (the URL) and work as before or allow a tuple or list which contains each of the three values. This packs all information together (so not each list of data has to be handled separately) and also allows for entries in that list to not provide a filename and description and then use the defaults (like it would do currently).
TASK DETAIL
https://phabricator.wikimedia.org/T86300
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: XZise
Cc: Aklapper, XZise, murfel, jayvdb, pywikipedia-bugs
yuvipanda changed the task status from "Open" to "Stalled".
yuvipanda added a comment.
So, socketio client has been installed as well.
Open Questions:
1. is python-search still needed if it is just an alias for python-yahoo?
2. Should we allow deamonize? My gut feeling is 'no' (I realize that this won't prevent people from actually using it via virtualenv, but jobs should go on the grid)
3. Is crontab still required? ToolLabs has a strangeish cron setup, so I'm hoping whatever pywikibot feature this is it sets up jobs to execute via jsub rather than directly.
TASK DETAIL
https://phabricator.wikimedia.org/T86015
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: yuvipanda
Cc: pywikipedia-bugs, Aklapper, jayvdb, Ricordisamoa, yuvipanda, droid, scfc, coren