Skip to content
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

NameError: global name 'urllib2' is not defined #47

Closed
liyakhatalisheikh opened this issue Jan 2, 2020 · 6 comments
Closed

NameError: global name 'urllib2' is not defined #47

liyakhatalisheikh opened this issue Jan 2, 2020 · 6 comments

Comments

@liyakhatalisheikh
Copy link

While exporting basic or advanced report through email getting
NameError: global name 'urllib2' is not defined error

Python 2.7
MongoDB shell version v3.6.3

@LRRH
Copy link

LRRH commented Dec 2, 2020

has this been resolved? I am still getting the error.

@elecay
Copy link
Contributor

elecay commented Dec 2, 2020

Which version of mongoaudit are you using?

@LRRH
Copy link

LRRH commented Dec 2, 2020 via email

@elecay
Copy link
Contributor

elecay commented Dec 2, 2020

That issue is already fixed. I have no permission to update pip with the new version. You can download the latest release from here: https://github.com/stampery/mongoaudit/archive/0.1.1.zip

Then:

  1. Remove previous installation
  2. Unzip the zip file. Go to the folder mongoaudit-0.1.1 and run: python setup.py install
  3. Run mongoaudit

@elecay elecay closed this as completed Dec 2, 2020
@LRRH
Copy link

LRRH commented Dec 3, 2020 via email

@elecay
Copy link
Contributor

elecay commented Dec 3, 2020

what's the best way to remove the previous version?

pip uninstall mongoaudit

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

No branches or pull requests

3 participants