cortesi/mitmproxy — Issue #30: AssertionError in m.run() (looks to be urwid related)
Author: Fitblip
Created: 2012-02-16 18:58:20+00:00
State: open

So i'm not sure why this is happening, I've downloaded and compiled the newest version of urwid, and pulled from you git repo, for some reason this keeps freaking out whenever I go to get more detail about a connection.

Ubuntu 10.04LTS x86_64 running python 2.6

Version 0.6 seems to work fine, although I was getting a traceback with something last night I don't remember...

Traceback (most recent call last):
File "./mitmproxy", line 61, in
m.run()
File "/tmp/mitmproxy/libmproxy/console/__init__.py", line 541, in run
self.ui.run_wrapper(self.loop)
File "/usr/lib/pymodules/python2.6/urwid/raw_display.py", line 234, in run_wrapper
return fn()
File "/tmp/mitmproxy/libmproxy/console/__init__.py", line 733, in loop
size = self.drawscreen()
File "/tmp/mitmproxy/libmproxy/console/__init__.py", line 717, in drawscreen
self.ui.draw_screen(size, canvas)
File "/usr/lib/pymodules/python2.6/urwid/raw_display.py", line 601, in draw_screen
for row in r.content():
File "/usr/lib/pymodules/python2.6/urwid/canvas.py", line 555, in content
yield shard_body_row(sbody)
File "/usr/lib/pymodules/python2.6/urwid/canvas.py", line 787, in shard_body_row
row.extend(content_iter.next())
File "/usr/lib/pymodules/python2.6/urwid/canvas.py", line 378, in content
assert trim_left >= 0 and trim_left < maxcol
AssertionError