[Bug 243438] dns/dnsviz: dnsviz graph fails with "No such file or directory while opening share/dnsviz/..."
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Jan 18 20:54:13 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243438
Bug ID: 243438
Summary: dns/dnsviz: dnsviz graph fails with "No such file or
directory while opening share/dnsviz/..."
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: pi at FreeBSD.org
Reporter: john at saltant.com
Flags: maintainer-feedback?(pi at FreeBSD.org)
Assignee: pi at FreeBSD.org
Synopsis
========
The graph subcommand is unable to access files in the share directory.
$ dnsviz graph -Thtml -O -r example.json
/usr/local/lib/python3.7/site-packages/pygraphviz/agraph.py:1367:
RuntimeWarning: Warning: No such file or directory while opening
share/dnsviz/icons/error.png
Error: No or improper image file="share/dnsviz/icons/error.png"
in label of edge RRset-10|example.com|NS -> DNSKEY-3|example.com|8|58821
Warning: No such file or directory while opening share/dnsviz/icons/error.png
Error: No or improper image file="share/dnsviz/icons/error.png"
in label of edge RRset-11|example.com|A -> DNSKEY-3|example.com|8|58821
Warning: No such file or directory while opening share/dnsviz/icons/error.png
Error: No or improper image file="share/dnsviz/icons/error.png"
in label of edge RRset-13|example.com|MX -> DNSKEY-3|example.com|8|58821
Warning: No such file or directory while opening share/dnsviz/icons/error.png
Error: No or improper image file="share/dnsviz/icons/error.png"
in label of edge RRset-14|example.com|AAAA -> DNSKEY-3|example.com|8|58821
Warning: No such file or directory while opening share/dnsviz/icons/error.png
Error: No or improper image file="share/dnsviz/icons/error.png"
in label of edge NSEC-2|fbl5gzdn98.example.com|A ->
DNSKEY-3|example.com|8|58821
warnings.warn(b"".join(errors).decode(self.encoding), RuntimeWarning)
Error reading template file "share/dnsviz/html/dnssec-template.html": No such
file or directory
Analysis
========
/usr/local/lib/python3.7/site-packages/dnsviz/config.py sets
_prefix = ''
instead of
_prefix = '/usr/local'
During the package building process, it appears that install_data is only
populated with the real prefix during the stage target, by which point a copy
of config.py has already been generated with the empty prefix.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list