[Pywikipedia-bugs] [Maniphest] [Closed] T133155: tests for namespace shortcuts fails

2016-04-23 Thread Mpaa
Mpaa closed this task as "Resolved". TASK DETAIL https://phabricator.wikimedia.org/T133155 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, Mpaa Cc: gerritbot, Aklapper, jayvdb, TerraCodes, Xqt, pywikibot-bugs-list, Lewizho99, Mdupont, Maathavan

[Pywikipedia-bugs] [Maniphest] [Updated] T133444: Occasional Unexpected offset warnings with one byte off in Pywikibot

2016-04-23 Thread matmarex
matmarex added a comment. Herald added a subscriber: Matanya. I bet this is the same issue as https://phabricator.wikimedia.org/T132676. Check and you'll see that the problematic chunks you're sending end with the '\r' (CR) byte. TASK DETAIL https://phabricator.wikimedia.org/T133444 EMAIL

[Pywikipedia-bugs] [Maniphest] [Commented On] T133445: All pywikibot logging seems to be dumped in pwb-bot.log instead of different files

2016-04-23 Thread Multichill
Multichill added a comment. In https://phabricator.wikimedia.org/T133445#2232161, @valhallasw wrote: > You need to call pywikibot.handle_args() to set up logging: Looks like a good work around, but not really a fix. pwb.py should just initialize this. TASK DETAIL https://phabri

[Pywikipedia-bugs] [Maniphest] [Commented On] T133445: All pywikibot logging seems to be dumped in pwb-bot.log instead of different files

2016-04-23 Thread valhallasw
valhallasw added a comment. You need to call pywikibot.handle_args() to set up logging: import pywikibot pywikibot.error('boo!') will log to pwb-bot.log, import pywikibot pywikibot.handle_args() pywikibot.error('boo!') will log to -bot.log. TASK DETAIL htt

[Pywikipedia-bugs] [Maniphest] [Commented On] T133445: All pywikibot logging seems to be dumped in pwb-bot.log instead of different files

2016-04-23 Thread Multichill
Multichill added a comment. Did some more digging. Might be around a bit longer and I just started using the pwb.py wrapper more often. I do have a login-bot.log from Apr 22 20:13 when I ran pwb.py login.py, The "/usr/bin/python /data/project/multichill/pywikibot/pwb.py /data/project/multic

[Pywikipedia-bugs] [Maniphest] [Edited] T133445: All pywikibot logging seems to be dumped in pwb-bot.log instead of different files

2016-04-23 Thread Multichill
Multichill edited the task description. TASK DETAIL https://phabricator.wikimedia.org/T133445 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Multichill Cc: Aklapper, pywikibot-bugs-list, Multichill, Mdupont, jayvdb

[Pywikipedia-bugs] [Maniphest] [Commented On] T57072: pagegenerators should accept pageids

2016-04-23 Thread gerritbot
gerritbot added a comment. Change 285005 had a related patch set uploaded (by Mpaa): site.py: delete page using pageid instead of title https://gerrit.wikimedia.org/r/285005 TASK DETAIL https://phabricator.wikimedia.org/T57072 EMAIL PREFERENCES https://phabricator.wikimedia.org/set

[Pywikipedia-bugs] [Maniphest] [Updated] T57072: pagegenerators should accept pageids

2016-04-23 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T57072 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: gerritbot Cc: gerritbot, Legoktm, jayvdb, valhallasw, Ricordisamoa, pywikibot-bugs-list, Ladsgroup, Bill

[Pywikipedia-bugs] [Maniphest] [Created] T133445: All pywikibot logging seems to be dumped in pwb-bot.log instead of different files

2016-04-23 Thread Multichill
Multichill created this task. Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION For some reason all Pywikibot logging ends up in pwb-bot.log now instead of -bot.log. This is very annoying when you run multiple bots and you want to debug one of them. Seems to be introduc

[Pywikipedia-bugs] [Maniphest] [Updated] T133444: Occasional Unexpected offset warnings with one byte off in Pywikibot

2016-04-23 Thread Multichill
Multichill added a blocked task: T61914: Chunked upload (tracking). TASK DETAIL https://phabricator.wikimedia.org/T133444 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Multichill Cc: Aklapper, Steinsplitter, Avicennasis, pywikibot-bugs-list, Multich

[Pywikipedia-bugs] [Maniphest] [Edited] T133443: pywikibot WARNING Offset was not supplied. with chunked upload

2016-04-23 Thread Multichill
Multichill edited the task description. TASK DETAIL https://phabricator.wikimedia.org/T133443 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Multichill Cc: Aklapper, Avicennasis, pywikibot-bugs-list, Multichill, Mdupont, jayvdb ___

[Pywikipedia-bugs] [Maniphest] [Created] T133444: Occasional Unexpected offset warnings with one byte off in Pywikibot

2016-04-23 Thread Multichill
Multichill created this task. Herald added subscribers: pywikibot-bugs-list, Avicennasis, Steinsplitter, Aklapper. Herald added a project: Multimedia. TASK DESCRIPTION I seem to get occasional warnings that the offset is wrong with chunked uploading: $ less pwb-bot.log | grep offset 201

[Pywikipedia-bugs] [Maniphest] [Created] T133443: pywikibot WARNING Offset was not supplied. with chunked upload

2016-04-23 Thread Multichill
Multichill created this task. Herald added subscribers: pywikibot-bugs-list, Avicennasis, Aklapper. TASK DESCRIPTION I'm playing around with the new upload implementation in site and chunked uploading. Chunked uploading seems to work ok, but on every upload I get a warning: 2016-04-23 08:

[Pywikipedia-bugs] [Maniphest] [Updated] T133443: pywikibot WARNING Offset was not supplied. with chunked upload

2016-04-23 Thread Multichill
Multichill added a blocked task: T61914: Chunked upload (tracking). TASK DETAIL https://phabricator.wikimedia.org/T133443 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Multichill Cc: Aklapper, Avicennasis, pywikibot-bugs-list, Multichill, Mdupont, j