Page MenuHomePhabricator

Scap syntax error on beta
Closed, DuplicatePublic

Description

16:33:05 16:33:05 Generating JSON versions and md5 files
16:33:10 16:33:10 Last output:
16:33:10 Traceback (most recent call last):
16:33:10 File "/usr/bin/scap", line 32, in <module>
16:33:10 from scap import cli
16:33:10 File "/usr/lib/python2.7/dist-packages/scap/__init__.py", line 28, in <module>
16:33:10 from scap.main import (
16:33:10 File "/usr/lib/python2.7/dist-packages/scap/main.py", line 45, in <module>
16:33:10 import scap.tasks as tasks
16:33:10 File "/usr/lib/python2.7/dist-packages/scap/tasks.py", line 500
16:33:10 }, env={'PHP': 'hhvm -vEval.PerfPidMap=true')
16:33:10 ^
16:33:10 SyntaxError: invalid syntax
16:33:10 16:33:10 Finished l10n-update (duration: 27m 51s)
16:33:10 16:33:10 Unhandled error:
16:33:10 Traceback (most recent call last):
16:33:10   File "/usr/lib/python2.7/dist-packages/scap/cli.py", line 336, in run
16:33:10     exit_status = app.main(app.extra_arguments)
16:33:10   File "/usr/lib/python2.7/dist-packages/scap/main.py", line 476, in main
16:33:10     return super(Scap, self).main(*extra_args)
16:33:10   File "/usr/lib/python2.7/dist-packages/scap/main.py", line 70, in main
16:33:10     self._after_sync_common()
16:33:10   File "/usr/lib/python2.7/dist-packages/scap/main.py", line 498, in _after_sync_common
16:33:10     version, wikidb, self.verbose, self.config)
16:33:10   File "/usr/lib/python2.7/dist-packages/scap/utils.py", line 402, in context_wrapper
16:33:10     return func(*args, **kwargs)
16:33:10   File "/usr/lib/python2.7/dist-packages/scap/tasks.py", line 602, in update_localization_cache
16:33:10     scap_path, cache_dir, use_cores, verbose_messagelist))
16:33:10   File "/usr/lib/python2.7/dist-packages/scap/utils.py", line 402, in context_wrapper
16:33:10     return func(*args, **kwargs)
16:33:10   File "/usr/lib/python2.7/dist-packages/scap/utils.py", line 479, in sudo_check_call
16:33:10     
16:33:10 CalledProcessError: Command '/usr/bin/scap cdb-json-refresh --directory="/srv/mediawiki-staging/php-master/cache/l10n" --threads=6 ' returned non-zero exit status 1
16:33:10 16:33:10 scap failed: CalledProcessError Command '/usr/bin/scap cdb-json-refresh --directory="/srv/mediawiki-staging/php-master/cache/l10n" --threads=6 ' returned non-zero exit status 1 (duration: 31m 16s)