error while searching code (via '/' key) during debug session #13

jtriley opened this Issue Aug 4, 2011 · 5 comments

2 participants


Traceback (most recent call last):
File "/home/jtriley/py-workspace/starcluster/starcluster/", line 1316, in run_plugin
File "/home/jtriley/py-workspace/starcluster/starcluster/plugins/", line 152, in run
File "/home/jtriley/py-workspace/starcluster/starcluster/plugins/", line 119, in setup_tmuxcc
if node.alias != client.alias:
File "/home/jtriley/py-workspace/starcluster/starcluster/plugins/", line 119, in setup_tmuxcc
if node.alias != client.alias:
File "/usr/lib/python2.6/", line 46, in trace_dispatch
return self.dispatch_line(frame)
File "/usr/lib/python2.6/", line 64, in dispatch_line
File "/home/jtriley/py-workspace/pudb/pudb/", line 233, in user_line
File "/home/jtriley/py-workspace/pudb/pudb/", line 202, in interaction
self.ui.call_with_ui(self.ui.interaction, exc_tuple)
File "/home/jtriley/py-workspace/pudb/pudb/", line 1177, in call_with_ui
return f(
args, **kwargs)
File "/home/jtriley/py-workspace/pudb/pudb/", line 1286, in interaction
File "/home/jtriley/py-workspace/pudb/pudb/", line 1248, in event_loop
toplevel.keypress(self.size, k)
File "/home/jtriley/py-workspace/pudb/pudb/", line 82, in keypress
result = self._w.keypress(size, key)
File "/home/jtriley/.virtualenvs/starcluster/lib/python2.6/site-packages/urwid/", line 616, in keypress
return self.body.keypress( (maxcol, remaining), key )
File "/home/jtriley/.virtualenvs/starcluster/lib/python2.6/site-packages/urwid/", line 1340, in keypress
key = w.keypress( (mc,)+size[1:], key )
File "/home/jtriley/.virtualenvs/starcluster/lib/python2.6/site-packages/urwid/", line 902, in keypress
key = self.focus_item.keypress( tsize, key )
File "/home/jtriley/py-workspace/pudb/pudb/", line 208, in keypress
self.ui.search_AttrMap.set_attr("search box")
AttributeError: 'AttrMap' object has no attribute 'set_attr'


seems to happen anytime I search even if I search immediately after opening PuDB...


I can confirm this and I got this from bisecting (@af67e9c) :

af67e9ca2ba7e1896ee5055234459823f6dd7cb7 is the first bad commit
commit af67e9ca2ba7e1896ee5055234459823f6dd7cb7
Author: Aaron Meurer <>
Date:   Wed Jul 27 16:28:53 2011 -0600

    Replace urwid.AttrWrap with urwid.AttrMap

    According to the urwid docs, AttrWrap is deprecated, and AttrMap should
    be used instead.  This seems to still work the same everywhere, though I
    didn't check it extensively.

:040000 040000 abd3ff53c6d14553d55bab1f15080d8d7b476963 f41c454f600ae149fa567d60
704d4166e916589b M      pudb
bisect run success

Also fix in livibetter@36392c7, please pull it.


You beat me to it, I was just about to fork and pull request :P Thanks!!


I just noticed there's no pull request. Would you mind submitting one?


Err... I knew pull request will create a new issue, trying to avoid that. It's kind of duplicating issue since here is the one.

@jtriley jtriley closed this Aug 5, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment