Page MenuHomePhabricator

Wikimedia ViewVC crashing
Closed, ResolvedPublic

Description

Author: titoxd.wikimedia

Description:
While trying to look at a file on the SVN repo, I clicked on the usual links (the file, then View SVN HEAD), and I received a blank output. When looking at revisions, I get the following error traceback:

An Exception Has Occurred

Error running external program. Command line was: "php -q -s -n"

Python Traceback

Traceback (most recent call last):

File "/usr/local/viewvc-1.0.4-dev/lib/viewvc.py", line 3629, in main
  request.run_viewvc()
File "/usr/local/viewvc-1.0.4-dev/lib/viewvc.py", line 388, in run_viewvc
  self.view_func(self)
File "/usr/local/viewvc-1.0.4-dev/lib/viewvc.py", line 1440, in view_markup
  generate_page(request, "markup", data)
File "/usr/local/viewvc-1.0.4-dev/lib/viewvc.py", line 837, in generate_page
  template.generate(request.server.file(), data)
File "/usr/local/viewvc-1.0.4-dev/lib/ezt.py", line 326, in generate
  self._execute(self.program, ctx)
File "/usr/local/viewvc-1.0.4-dev/lib/ezt.py", line 455, in _execute
  step[0](step[1], ctx)
File "/usr/local/viewvc-1.0.4-dev/lib/ezt.py", line 460, in _cmd_print
  _write_value(value, args, ctx)
File "/usr/local/viewvc-1.0.4-dev/lib/ezt.py", line 636, in _write_value
  apply(value, [ctx] + list(args))
File "/usr/local/viewvc-1.0.4-dev/lib/viewvc.py", line 1214, in __call__
  ' | '))

ViewVCException: ViewVC Unrecoverable Error: Error running external program. Command line was: "php -q -s -n"

This error occurs only when looking at PHP files in the repo. SQL files and text files are not affected, nor are diffs between files of any kind. However, these issues with PHP make ViewVC a bit... useless, at least for now.


Version: unspecified
Severity: major
URL: http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/AjaxFunctions.php?view=markup&pathrev=19598

Details

Reference
bz9950

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:37 PM
bzimport set Reference to bz9950.
bzimport added a subscriber: Unknown Object (MLST).