Page MenuHomePhabricator

Graph generation is failing
Closed, ResolvedPublic

Description

GraphViz seems to have become not available, and graphs are just showing:

/bin/bash: /usr/bin/dot: No such file or directory

e.g. on https://tools.wmflabs.org/genealogy/wiki/Cornelia_Catharina_Siemense

Event Timeline

This is a side effect of the upgrade to MediaWiki 1.31, which required that we move to PHP 7, and the php7.2 container doesn't have GraphViz installed.

The recent discussions about installing rsvg on the php7.2 container makes me think it's unlikely that dot will be installed, so perhaps the best way forward is to fix the GraphViz extension to support rendering by an external service and set up a separate gridengine-based tool for doing that.

Samwilson claimed this task.

Switching to Stretch job grid has fixed this.

Mitchell316 subscribed.

I've been trying to configure GraphViz, and I'm still having the same exact issue. "/bin/bash: /usr/bin/dot: No such file or directory".

I was having the issue on 1.32.0 of Mediawiki and I am currently on 1.33.0, still with the same problem. I have posted to the Mediawiki support forums and some had mentioned that the newest release of GraphViz (3.1.0) should contain a fix for this bug, but now I am facing another problem:

Before, I was on 3.0.0 of GraphViz, so I completely scrapped everything and deleted all of the 3.0.0 version. I then followed the standard installation guide and downloaded 3.1.0 via composer. Here's the caveat: In the command line, it says I'm downloaded 3.1.0:

  • Installing mediawiki/graph-viz (3.1.0): Cloning d7732c8ecb from cache

But when I go to the Version page of my wiki, it says I only downloaded 3.0.0:
GraphViz 3.0.0 (d7732c8)17:57, 13 March 2018

Any ideas?

Also, I'm not very experienced with this type of software, so it may be that I'm overlooking something very simple.

Aklapper closed this task as Resolved.EditedAug 17 2019, 9:42 AM

Hi @Mitchell316, as this is a question about downloading the latest version of Graph, please bring this question up in a support forum. This task is about the genalogy project instead. Thanks!

This isn't a question about the Graph extension, but about the GraphViz extension. @Mitchell316 if you're still having problems, could you open a new issue please and file it against GraphViz? Although, that extension isn't working with MW1.33 yet; see T226616 for more (maybe yours is a duplicate of that task?).