Giter Club home page Giter Club logo

appd-download-bot's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

appd-download-bot's Issues

Downloader not working

Hey Todd,
Having some trouble getting this to work:

[root@localhost orig]# download-appdynamics -u [email protected] -p XXXXXXXX -b64 java-agent
Checking available product versions . . ./usr/lib/python2.6/site-packages/bs4/__init__.py:166: UserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("html.parser"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently.

To get rid of this warning, change this:

 BeautifulSoup([your markup])

to this:

 BeautifulSoup([your markup], "html.parser")

  markup_type=markup_type))

Traceback (most recent call last):
  File "/usr/bin/download-appdynamics", line 10, in <module>
    main()
  File "/usr/lib/python2.6/site-packages/appd/download/download.py", line 159, in main
    username=args.username, password=args.password, debug=args.debug)
  File "/usr/lib/python2.6/site-packages/appd/download/zone.py", line 68, in __init__
    self.version = version
  File "/usr/lib/python2.6/site-packages/appd/download/zone.py", line 131, in version
    avail_versions = self.get_versions()
  File "/usr/lib/python2.6/site-packages/appd/download/zone.py", line 167, in get_versions
    dropdown = soup.find('table', id='version_disp').find('select')
AttributeError: 'NoneType' object has no attribute 'find'
Saving cookies to /root/.cookiejar . . .

Edited the code to fix the beautifulsoup error, but it still seems to be having issue parsing the dropdown element.

Any ideas/thoughts?

args not defined download.py callbacks

Awesome tool! I got it working but had some trouble - I had to comment out the args.quiet checks in the callbacks because they kept telling me args wasn't defined... what did I do wrong?

nicks-mbp:scripts hellameta$ ./download-appdynamics -q -u [email protected] -p password java-agent
Traceback (most recent call last):
  File "./download-appdynamics", line 10, in <module>
    main()
  File "/Library/Python/2.7/site-packages/appd/download/download.py", line 119, in main
    username=args.username, password=args.password, debug=args.debug)
  File "/Library/Python/2.7/site-packages/appd/download/zone.py", line 68, in __init__
    self.version = version
  File "/Library/Python/2.7/site-packages/appd/download/zone.py", line 131, in version
    avail_versions = self.get_versions()
  File "/Library/Python/2.7/site-packages/appd/download/zone.py", line 162, in get_versions
    Zone.status(self, 'Checking available product versions')
  File "/Library/Python/2.7/site-packages/appd/download/events.py", line 44, in fire
    handler(*args, **kargs)
  File "/Library/Python/2.7/site-packages/appd/download/download.py", line 10, in status_callback
    if not args.quiet:
NameError: global name 'args' is not defined```

Allow the user to enter their username and password interactively

It's a security concern that a user's username and password be recorded in plaintext in their shell history.

To avoid leaking my AppD username and password in my shell history when using AppDynamicsDownloader, I would like the downloader to interactively prompt me for my username and password.

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.