mandatoryprogrammer / TrustTrees

A Tool for DNS Delegation Trust Graphing
Apache License 2.0
403 stars 70 forks source link

xmlrpclib issue #29

Closed masti10 closed 4 years ago

masti10 commented 4 years ago

Pretty new to the whole python, but tried to install your software.

The following command worked to install the software: python3.7 -m pip install TrustTrees pygraphviz

When it complained about missing xmlrpclib, I installed xmlrpclib-1.0.1.zip from effbot.org

But now I'm seeing the below error:

$ trusttrees.py --help Traceback (most recent call last): File "/usr/local/bin/trusttrees.py", line 19, in import xmlrpclib File "/usr/local/lib/python3.7/site-packages/xmlrpclib.py", line 169 MAXINT = 2L**31-1 ^ SyntaxError: invalid syntax

How to fix it? I need the --resolvers argument(not found until 2.0.1 version??) to work. Appreciate your help.

More info: OS= Centos 7 Has python, python2, python3 and python3.7 binaries in the path.

KevinHock commented 4 years ago

Sorry for the late reply.

Can you try again under Python 3 @masti10?

KevinHock commented 4 years ago

From reading stackoverflow, I think import xmlrpclib needed to be replaced with import xmlrpc.client at the time this issue was made. It has since been replaced so I should have closed this issue a while back.

Thank you for making this!