MaxBioHazard created this task.
MaxBioHazard added a subscriber: MaxBioHazard.
MaxBioHazard added a project: pywikibot-core.
Herald added subscribers: pywikibot-bugs-list, StudiesWorld, Aklapper.
TASK DESCRIPTION
>python pwb.py reflinks.py -page:"user:MaxBioHazard/test"
Retrieving 1 pages from wikipedia:ru.
Traceback (most recent call last):
File "pwb.py", line 248, in <module>
if not main():
File "pwb.py", line 242, in main
run_python_file(filename, [filename] + args, argvu, file_package)
File "pwb.py", line 120, in run_python_file
main_mod.__dict__)
File ".\scripts\reflinks.py", line 824, in <module>
main()
File ".\scripts\reflinks.py", line 820, in main
bot.run()
File ".\scripts\reflinks.py", line 525, in run
f = urlopen(ref.url.decode("utf8"))
AttributeError: 'str' object has no attribute 'decode'
<class 'AttributeError'>
CRITICAL: Closing network session.
Python 3.5, current nightly Pywikibot. Processed page:
https://ru.wikipedia.org/w/index.php?title=user:MaxBioHazard/test&oldid=74529895
TASK DETAIL
https://phabricator.wikimedia.org/T118674
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: MaxBioHazard
Cc: Aklapper, StudiesWorld, MaxBioHazard, pywikibot-bugs-list, jayvdb
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs