Page MenuHomePhabricator

`scap update-interwiki-cache` broken
Closed, DuplicatePublic

Description

reedy@tin:/srv/mediawiki-staging$ scap update-interwiki-cache
           ___ ____
         ⎛   ⎛ ,----
          \  //==--'
     _//|,.·//==--'    ____________________________
    _OO≣=-  ︶ ᴹw ⎞_§ ______  ___\ ___\ ,\__ \/ __ \
   (∞)_, )  (     |  ______/__  \/ /__ / /_/ / /_/ /
     ¨--¨|| |- (  / ______\____/ \___/ \__^_/  .__/
         ««_/  «_/ jgs/bd808                /_/

Username for 'https://gerrit.wikimedia.org': reedy
Password for 'https://reedy@gerrit.wikimedia.org': 
remote: Processing changes: new: 1, refs: 1, done    
remote: 
remote: New Changes:
remote:   https://gerrit.wikimedia.org/r/427433 Updating interwiki cache
remote: 
Has Jenkins merged your gerrit change yet? [y/N]: y
16:39:05 Copying to tin.eqiad.wmnet from tin.eqiad.wmnet
16:39:05 Started rsync common
16:39:06 Finished rsync common (duration: 00m 00s)
16:39:06 Started cache_git_info
16:39:40 Finished cache_git_info (duration: 00m 34s)
16:39:40 Started sync-masters
sync-masters: 100% (ok: 1; fail: 0; left: 0)                                    
16:39:47 Finished sync-masters (duration: 00m 07s)
16:39:47 Started sync-pull-masters
sync-pull-masters: 100% (ok: 1; fail: 0; left: 0)                               
16:39:49 Finished sync-pull-masters (duration: 00m 01s)
16:39:49 Unhandled error:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/scap/cli.py", line 336, in run
    exit_status = app.main(app.extra_arguments)
  File "/srv/mediawiki-staging/scap/plugins/updateinterwikicache.py", line 19, in main
    return super(UpdateInterwikiCache, self).main(*extra_args)
  File "/usr/lib/python2.7/dist-packages/scap/main.py", line 634, in main
    return super(SyncFile, self).main(*extra_args)
  File "/usr/lib/python2.7/dist-packages/scap/main.py", line 78, in main
    if not self.arguments.force:
AttributeError: 'Namespace' object has no attribute 'force'
16:39:49 update-interwiki-cache failed: <AttributeError> 'Namespace' object has no attribute 'force'
reedy@tin:/srv/mediawiki-staging$