Last modified: 2007-05-18 14:24:33 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T11950, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9950 - Wikimedia ViewVC crashing
Wikimedia ViewVC crashing
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-05-18 06:51 UTC by Titoxd
Modified: 2007-05-18 14:24 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Titoxd 2007-05-18 06:51:36 UTC
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.
Comment 1 Brion Vibber 2007-05-18 14:24:33 UTC
Fixed path in config.

Note You need to log in before you can comment on or make changes to this bug.