Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F20181
PWB_redirect.py_on_WD
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
revi
Dec 9 2014, 9:50 AM
2014-12-09 09:50:33 (UTC+0)
Size
1 KB
Referenced Files
None
Subscribers
None
PWB_redirect.py_on_WD
View Options
tools.revibot@tools-trusty:~/core$ python pwb.py redirect double -family:wikidata -lang:wikidata -user:Revibot -always
Retrieving special page...
>>> Q10843059 <<<
Links to: [[Q12861247]].
Links to: [[Q5695447]].
Traceback (most recent call last):
File "pwb.py", line 181, in <module>
run_python_file(fn, argv, argvu)
File "pwb.py", line 75, in run_python_file
exec(compile(source, filename, "exec"), main_mod.__dict__)
File "scripts/redirect.py", line 816, in <module>
main()
File "scripts/redirect.py", line 813, in main
bot.run()
File "scripts/redirect.py", line 712, in run
self.fix_double_redirects()
File "scripts/redirect.py", line 521, in fix_double_redirects
self.fix_1_double_redirect(redir_name)
File "scripts/redirect.py", line 646, in fix_1_double_redirect
oldlink = self.site.redirectRegex().search(oldText).group(1)
AttributeError: 'NoneType' object has no attribute 'group'
<type 'exceptions.AttributeError'>
CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
tools.revibot@tools-trusty:~/core$
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
19312
Default Alt Text
PWB_redirect.py_on_WD (1 KB)
Attached To
Mode
P132 PWB redirect.py on WD
Attached
Detach File
Event Timeline
Log In to Comment