Giter Site home page Giter Site logo

asnlookup's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

acoul wesyoung

asnlookup's Issues

Unable to get fully installed and setup

Hey Justin,

Thanks for taking the time to develop this. I need to use this for a project and I cannot figure out what is going on. I have setup the asnlookup package (python setup.py install) as well as any requirements with pip. Am I supposed to be setting anything else up? Thank you in advance.

`echo -e "8.8.8.8" | asnlookup
DEBUG:asnlookup.data_manager:file_age_in_hours: filename=asn.db does not exist
DEBUG:asnlookup.data_manager:download_and_convert working_dir=/tmp/tmpxbpJQw
DEBUG:asnlookup.data_manager:Executing cmd=['pyasn_util_download.py', '--latestv4']
usage: /usr/local/bin/pyasn_util_download.py [--dates-from-file FILEWITHDATES] | [--latest]

   The script downloads MRT dump files from ROUTEVIEWS for the dates specified. It requires wget.

Traceback (most recent call last):
File "/usr/local/bin/asnlookup", line 11, in
load_entry_point('asnlookup==0.0.3', 'console_scripts', 'asnlookup')()
File "build/bdist.linux-x86_64/egg/asnlookup/main.py", line 9, in main
File "build/bdist.linux-x86_64/egg/asnlookup/backend.py", line 38, in init
File "build/bdist.linux-x86_64/egg/asnlookup/data_manager.py", line 113, in update_asndb
File "build/bdist.linux-x86_64/egg/asnlookup/data_manager.py", line 54, in maybe_update
File "build/bdist.linux-x86_64/egg/asnlookup/data_manager.py", line 91, in download_and_convert
File "build/bdist.linux-x86_64/egg/asnlookup/data_manager.py", line 72, in get_single_file
asnlookup.data_manager.DataManagerError: ('More than one file found: files=%s', [])
`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.