Aklapper added a project: pywikibot-core.
Aklapper added a comment.
Herald added a subscriber: pywikipedia-bugs.
I'm not sure if there's an issue with some Pywikibot default configuration or if this is something specific to the Wikimedia servers... :-/
TASK DETAIL
https://phabricator.wikimedia.org/T87537
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: Aklapper
Cc: pywikipedia-bugs, Aklapper, MGA73, jayvdb
russblau created this task.
russblau added a subscriber: russblau.
russblau added a project: Pywikibot-General.
Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION
The following error occurs when attempting to call .getCategoryRedirectTarget() on a page that is not a category redirect:
>>> import pywikibot
>>> s = pywikibot.Site()
>>> c = pywikibot.Category(s, "Category:Knowsley United F.C. players")
>>> c.isCategoryRedirect()
False
>>> t = c.getCategoryRedirectTarget()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/shared/pywikipedia/rewrite/pywikibot/page.py", line 679, in getCategoryRedirectTarget
raise pywikibot.IsNotRedirectPage(self.title())
File "/shared/pywikipedia/rewrite/pywikibot/exceptions.py", line 106, in __init__
self.title = page.title(asLink=True)
TypeError: title() takes no keyword arguments
TASK DETAIL
https://phabricator.wikimedia.org/T87505
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: russblau
Cc: pywikipedia-bugs, russblau, Aklapper
RansomTime created this task.
RansomTime added a subscriber: RansomTime.
RansomTime added a project: pywikibot-compat.
Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION
Downloading compact from http://tools.wmflabs.org/pywikibot/ - the .zip doesn't contain any data in .git/refs/heads- which pybot requires to determine the version.
The following error occurs when I run generate-family-file.py on a newly unzipped zip from tools.wmflabs
```
D:\Pybot>generate_family_file.py
WARNING: Running on Windows and transliteration_target is not set.
Please see http://www.mediawiki.org/wiki/Manual:Pywikipediabot/Windows
Traceback (most recent call last):
File "D:\Pybot\generate_family_file.py", line 50, in <module>
import wikipedia
File "D:\Pybot\wikipedia.py", line 6062, in <module>
versionrev=(version.getversiondict()["rev"])
File "D:\Pybot\pywikibot\version.py", line 70, in getversiondict
(tag, rev, date, hsh) = getversion_git(_program_dir)
File "D:\Pybot\pywikibot\version.py", line 188, in getversion_git
hsh = open(os.path.join(_program_dir, '.git/refs/heads/master'), 'r').read()
.strip(" \n")
IOError: [Errno 2] No such file or directory: 'D:\\Pybot\\.git/refs/heads/master
'
D:\Pybot\.git\refs\heads>ls -l
total 0
```
TASK DETAIL
https://phabricator.wikimedia.org/T87422
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: RansomTime
Cc: pywikipedia-bugs, Aklapper, RansomTime, Anshoe