graphviz package does not configure plugins
Bug #1270025 reported by
Thomi Richards
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
graphviz (Ubuntu) |
Fix Released
|
High
|
Martin Pitt |
Bug Description
After installing graphviz 2.36.0-0ubuntu1 in Trusty, I can no longer generate any PNG images with the 'dot' tool. The reason for this is that the package scripts do not configure the installed graphviz plugins:
To reproduce:
----
$ dot -Tpng my_file.dot > my_file.png
There is no layout engine support for "dot"
Perhaps "dot -c" needs to be run (with installer's privileges) to register the plugins?
$ sudo dot -c
[sudo] password for thomi:
$ dot -Tpng my_file.dot > my_file.png
# works now.
I think the 'sudo dot -c' step ought to be done as part of the package installation scripts.
Related branches
Changed in graphviz (Ubuntu): | |
status: | Triaged → In Progress |
assignee: | nobody → Martin Pitt (pitti) |
Changed in graphviz (Ubuntu): | |
status: | In Progress → Fix Committed |
tags: | added: ci-engineering |
To post a comment you must log in.
For me it fails in a different way: computer/ talks/efficient -bug-handling/ bug-lifecycle. dot > /tmp/bug.png
$ dot -Tpng ./Dokumente/
Format: "png" not recognized. Use one of:
(sic - I didn't forget to copy&paste anything, it's really looking like that). Confirming that "dot -c" fixes that, this should indeed go into the postinst. I'll ask Matthias to confirm, and then upload that.