Skip to content

AttributeError: 'Shell' object has no attribute 'dot' #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Flimm opened this issue Aug 11, 2017 · 5 comments · May be fixed by #6
Open

AttributeError: 'Shell' object has no attribute 'dot' #3

Flimm opened this issue Aug 11, 2017 · 5 comments · May be fixed by #6

Comments

@Flimm
Copy link

Flimm commented Aug 11, 2017

I'm trying to run this command, and I'm getting this exception:

$ python tracegraph.py -t MX --graph png --output booking.png --skip . --skip com. booking.com
Trying to resolve booking.com. (MX) on a.root-servers.net. (198.41.0.4) (R:True)
Trying to resolve booking.com. (MX) on a.gtld-servers.net. (192.5.6.30) (R:True)
Trying to resolve booking.com. (MX) on ns0.bkngs.com. (5.57.23.169) (R:True)
# ....
Traceback (most recent call last):
  File "tracegraph.py", line 546, in <module>
    shell.dot(*args, input="\n".join(graph), stdout=sys.stdout)
  File "dnsgraph/env/lib/python2.7/site-packages/whelk/__init__.py", line 71, in __getattr__
    return self._getattr(name, defer=False)
  File "dnsgraph/env/lib/python2.7/site-packages/whelk/__init__.py", line 79, in _getattr
    return super(Shell, self).__getattribute__(name)
AttributeError: 'Shell' object has no attribute 'dot'

These are the libraries I have installed:

dnspython==1.15.0
whelk==2.7
@Wentao19
Copy link

Hi David,

I run into exactly the same issue, have you fixed the issue?

Many thanks.

Regards,
Wentao

@seveas
Copy link
Owner

seveas commented Mar 10, 2020

You'll need to install graphviz for this to work.

@Wentao19
Copy link

You'll need to install graphviz for this to work.

Hi Dennis,

Thanks for the heads up, after install graphviz, it works perfectly!

Thanks again for your help!

Regards,
Wentao

@Wentao19
Copy link

Hi Dennis,

Does the script support private domain?

Regards,
Wentao

pabs3 added a commit to pabs3/dnsgraph that referenced this issue Mar 7, 2022
@pabs3 pabs3 linked a pull request Mar 7, 2022 that will close this issue
@pabs3
Copy link
Contributor

pabs3 commented Mar 7, 2022

I have a patch that makes the error message more friendly, see #6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants