Page MenuHomePhabricator

Wikimedia ViewVC crashing
Closed, ResolvedPublic


Author: titoxd.wikimedia

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



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).