Comments (3)
Hi Carl,
On 20/03/2012, at 11:22 AM, Carl Jahn wrote:
i downloaded the source and installed mitmproxy with the following command:
sudo python setup.py installIf i try to start mitmproxy with:
./mitmproxy -p 8899I get the following errors:
Traceback (most recent call last):
File "./mitmproxy", line 19, in
from libmproxy import proxy, console, cmdline
File "/Users/carl.jahn/Downloads/cortesi-mitmproxy-bc3ba4c/libmproxy/proxy.py", line 24, in
import utils, flow, certutils
File "/Users/carl.jahn/Downloads/cortesi-mitmproxy-bc3ba4c/libmproxy/certutils.py", line 2, in
from pyasn1.type import univ, constraint, char, namedtype, tag
ImportError: No module named pyasn1.type
The current development version of mitmproxy has two new dependencies - pyasn1 and PyOpenSSL. You will have to install those first if you want to run the github master. If you have pip installed on your system, this should be as simple as going "pip install pyasn1" and "pip install pyopenssl". If not, it's probably easiest to download them from the original sites.
The most recent release does not require these two dependencies, so just downloading 0.7 from mitmproxy.org is also an option.
Cheers,
Aldo
Aldo Cortesi
blog: http://corte.si
twitter: @cortesi
work: www.nullcube.com
+64 210 718 900
from mitmproxy.
Hey Carl,
Did you sort this out? This comment seems to have disappeared from the bug report.
Aldo
On 20/03/2012, at 11:38 AM, Carl Jahn wrote:
Hi Cortesi,
i downloaded the 0.7 Version from mitmproxy.org and installed with:
sudo python setup.py instal
if i start mitmproxy with:
./mitmproxy -p 8899
I get the following errors if a client connects:
Traceback (most recent call last):
File "./mitmproxy", line 61, in
m.run()
File "/Users/test/Downloads/mitmproxy-0.7/libmproxy/console/init.py", line 509, in run
self.ui.run_wrapper(self.loop)
File "/Users/test/Downloads/mitmproxy-0.7/urwid/raw_display.py", line 237, in run_wrapper
return fn()
File "/Users/test/Downloads/mitmproxy-0.7/libmproxy/console/init.py", line 707, in loop
changed = self.tick(self.masterq)
File "/Users/test/Downloads/mitmproxy-0.7/libmproxy/flow.py", line 1298, in tick
return controller.Master.tick(self, q)
File "/Users/test/Downloads/mitmproxy-0.7/libmproxy/controller.py", line 77, in tick
self.handle(msg)
File "/Users/test/Downloads/mitmproxy-0.7/libmproxy/controller.py", line 97, in handle
m(msg)
File "/Users/test/Downloads/mitmproxy-0.7/libmproxy/flow.py", line 1376, in handle_clientconnect
self.add_event("Connect from: %s:%s"%cc.address)
File "/Users/test/Downloads/mitmproxy-0.7/libmproxy/console/init.py", line 893, in add_event
self.eventlist.set_focus(len(self.eventlist))
File "/Users/test/Downloads/mitmproxy-0.7/urwid/listbox.py", line 177, in set_focus
raise IndexError, "No widget at position %s" % (position,)
IndexError: No widget at position 1
Reply to this email directly or view it on GitHub:
https://github.com/cortesi/mitmproxy/issues/37#issuecomment-4585370
Aldo Cortesi
blog: http://corte.si
twitter: @cortesi
work: www.nullcube.com
+64 210 718 900
from mitmproxy.
Hi,
yes i solved the problem. thanks for your help.
maybe you should a installation guide/section at the description.
from mitmproxy.
Related Issues (20)
- mitmproxy crashes while handling the Discord gateway HOT 1
- Allow arbitrary replay concurrency (client_replay_concurrency other than 1 and -1) HOT 2
- Wrong host displayed in mitmweb intercepted request
- Unable to `brew install mitmproxy` on MacOS HOT 2
- Tutorial audio is not working HOT 2
- CONNECT request triggers `response` hook HOT 2
- Support custom wireguard options HOT 1
- Transparent proxy not working on macOS HOT 1
- HTTP Request with Client Certificate doesn't work with IIS server (but works properly with other vendors)
- Console Freezes on Incorrect Timestamps in Flows HOT 3
- Duplicate answers in DNS queries HOT 1
- ChatGPT The CPU usage issue with Mitmproxy 10. HOT 1
- mitmweb UI doesn't work on port 6667 HOT 2
- 32 bit windows compatibility for binaries? HOT 1
- Support for Kyber - post-quantum key agreement HOT 1
- Wireguard config has wrong endpoint when two active NICs HOT 1
- dummy server cert key size does not match upstream HOT 2
- Add support to Sequence[int] similar to Sequence[str] for addon commands HOT 1
- mitmproxy 10.2.2 returns error on IPv6 connections when using "--allow-hosts" HOT 1
- Site map/tree view for mitmproxy HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mitmproxy.