Skip to content

Fixes #2 the "got an unexpected keyword argument 'cacert'" #3

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

kayvannj
Copy link

Now compatible with the mitmproxy 0.11.3

Fixes this error:
raceback (most recent call last):
File "/usr/local/bin/pmproxy", line 9, in
load_entry_point('PostmanProxy==0.1.5', 'console_scripts', 'pmproxy')()
File "/Library/Python/2.7/site-packages/postmanproxy/main.py", line 91, in main
start_creator_proxy(args)
File "/Library/Python/2.7/site-packages/postmanproxy/main.py", line 45, in start_creator_proxy
cacert = os.path.expanduser("~/.mitmproxy/mitmproxy-ca.pem")
TypeError: init() got an unexpected keyword argument 'cacert'

Now compatible with the mitmproxy 0.11.3

Fixes this error:
raceback (most recent call last):
  File "/usr/local/bin/pmproxy", line 9, in <module>
    load_entry_point('PostmanProxy==0.1.5', 'console_scripts', 'pmproxy')()
  File "/Library/Python/2.7/site-packages/postmanproxy/main.py", line 91, in main
    start_creator_proxy(args)
  File "/Library/Python/2.7/site-packages/postmanproxy/main.py", line 45, in start_creator_proxy
    cacert = os.path.expanduser("~/.mitmproxy/mitmproxy-ca.pem")
TypeError: __init__() got an unexpected keyword argument 'cacert'
@kayvannj kayvannj changed the title Fixing the "got an unexpected keyword argument 'cacert'" Resolve #2 Fixing the "got an unexpected keyword argument 'cacert'" Apr 23, 2015
@kayvannj kayvannj changed the title Resolve #2 Fixing the "got an unexpected keyword argument 'cacert'" Fixes #2 the "got an unexpected keyword argument 'cacert'" Apr 23, 2015
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

Successfully merging this pull request may close these issues.

2 participants