gerritbot added a subscriber: gerritbot.
gerritbot added a comment.
Change 137980 had a related patch set uploaded (by Ricordisamoa):
PROOF-OF-CONCEPT: check own talk, a custom page, and notifications
https://gerrit.wikimedia.org/r/137980
TASK DETAIL
https://phabricator.wikimedia.org/T57032
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, gerritbot
Cc: gerritbot, Legoktm, jayvdb, Ricordisamoa, pywikipedia-bugs
Wesalius created this task.
Wesalius added a subscriber: Wesalius.
Wesalius added a project: pywikibot-core.
Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION
After running **delete.py** with most recent version (Pywikibot: [https] r-pywikibot-core.git (e9db1f9, g5334, 2015/04/11, 00:17:48, o
k) Release version: 2.0b3 httplib2 version: 0.9) with **-summary containing non-ascii characters** (Czech letters) move I get:
```
File "pwb.py", line 161, in <module>
import pywikibot # noqa
File "\core\pywikibot\__init__.py", line 32, in <modu
le>
from pywikibot import config2 as config
File "\core\pywikibot\config2.py", line 280, in <modu
le>
_base_dir = get_base_dir()
File "\core\pywikibot\config2.py", line 222, in get_b
ase_dir
if arg.startswith("-dir:"):
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe1 in position 22: ordinal
not in range(128)
```
This task is probably related to recenetly resolved https://phabricator.wikimedia.org/T95671
TASK DETAIL
https://phabricator.wikimedia.org/T95803
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: Wesalius
Cc: pywikipedia-bugs, Wesalius, Aklapper, jayvdb
XZise created this task.
XZise added a subscriber: XZise.
XZise added projects: pywikibot-core, Pywikibot-tests.
Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION
In a recent [[https://travis-ci.org/xZise/pywikibot-core/jobs/58961497#L2724|test on Travis]] the weblib test errored on Python 2.6. From the stacktrace it appears that None was returned by `pywikibot.weblib.getInternetArchiveURL` which only happens when `closest` is not in the JSON answer. I did two tests locally with Python 2.6.9 and it works fine:
```
>>> from pywikibot.weblib import getInternetArchiveURL as U
>>> U('https://google.com')
u'http://web.archive.org/web/20150417171945/https://www.google.com/'
>>> U(u'https://google.com')
u'http://web.archive.org/web/20150417171945/https://www.google.com/'
```
So this may be just a random failure or a short outage from archive.org (as the tests for the other Python versions worked). Also the other non-nosetest with Python 2.6 failed but I restarted it. There both test failed (which could implicate that the outage started or ended between the tests in the first test).
TASK DETAIL
https://phabricator.wikimedia.org/T96441
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: pywikipedia-bugs, Aklapper, XZise, jayvdb
jayvdb created this task.
jayvdb claimed this task.
jayvdb added a subscriber: jayvdb.
jayvdb added a project: Pywikibot-Other-scripts.
Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION
This script describes itself as
"Script to copy images to Wikimedia Commons, or to another wiki."
However, it will only transfer files to Wikimedia Commons in compat, or the shared file repo in core.
In compat, it doesnt transfer files when fileIsOnCommons() is true.
In core, it doesnt transfer files when fileIsShared is true.
The 'fileIsonCommons' check was added in February 2007
https://mediawiki.org/wiki/Special:Code/pywikipedia/3286
I am unable to see why that was necessary, as it did already have a check whether the page is on the target site, and it would sys.exit if it was on the target site!
http://git.wikimedia.org/blob/pywikibot%2Fcompat.git/261583094f7912cc7bab81…
TASK DETAIL
https://phabricator.wikimedia.org/T87082
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: pywikipedia-bugs, jayvdb, Aklapper
Mineo created this task.
Mineo added a subscriber: Mineo.
Mineo added a project: pywikibot-core.
Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION
I'm running https://github.com/mineo/mb2wikidatabot with Python 2.6.5 (I know, I know, but the server is not under my control and https://www.mediawiki.org/wiki/Manual:Pywikibot/Installation#Initial_setup claims this should work). Every now and then I have to kill the bot manually because it seems to run into a deadlock when quitting. The last messages in the log file are
> 2015-04-14 12:20:34 __init__.py, 702 in stopme: VERBOSE Dropped throttle(s).
> 2015-04-14 12:20:34 http.py, 122 in _flush: VERBOSE Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
> 2015-04-14 12:20:34 http.py, 127 in _flush: VERBOSE All threads finished.
The process has not shut down since then and I can't press ctrl-c because the processes are being run from cron.
gdb output:
> (gdb) info threads
> 2 Thread 0x7fe117339700 (LWP 7870) sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:86
> * 1 Thread 0x7fe11b895700 (LWP 7869) sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:86
This looks like both threads are waiting for something, possible blocking each other.
The revision of pwb currently running is 297089be218a5528150ba1fffaa42773d291c683.
TASK DETAIL
https://phabricator.wikimedia.org/T96241
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: Mineo
Cc: pywikipedia-bugs, Mineo, Aklapper, jayvdb