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

Cannot import name Response from libmproxy #1

Open
ghost opened this issue Dec 7, 2014 · 3 comments
Open

Cannot import name Response from libmproxy #1

ghost opened this issue Dec 7, 2014 · 3 comments

Comments

@ghost
Copy link

ghost commented Dec 7, 2014

Here is the log:

File "/Library/Python/2.7/site-packages/libmproxy/script.py", line 86, in load
execfile(self.argv[0], ns, ns)
File "diags.py", line 1, in
from libmproxy.flow import Response
ImportError: cannot import name Response

@ghost
Copy link
Author

ghost commented Dec 7, 2014

Also, when I try to run "mitmdump -e -s diags.py" correctly I get:

usage: mitmdump [options] [filter]
mitmdump: error: unrecognized arguments: -e

So instead I ran "mitmdump -s diags.py"

@anthonya1999
Copy link
Owner

You should be able to get away with running just the -s argument.

@charlestruluck
Copy link

I'm getting this too, don't know how to fix it.

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

2 participants