{"action":"created","issue":{"url":"https://api.github.com/repos/gotcha/ipdb/issues/105","repository_url":"https://api.github.com/repos/gotcha/ipdb","labels_url":"https://api.github.com/repos/gotcha/ipdb/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/gotcha/ipdb/issues/105/comments","events_url":"https://api.github.com/repos/gotcha/ipdb/issues/105/events","html_url":"https://github.com/gotcha/ipdb/issues/105","id":165335733,"number":105,"title":"ipdb should ask iPython 5 which debugger class to use","user":{"login":"JBKahn","id":2654653,"avatar_url":"https://avatars.githubusercontent.com/u/2654653?v=3","gravatar_id":"","url":"https://api.github.com/users/JBKahn","html_url":"https://github.com/JBKahn","followers_url":"https://api.github.com/users/JBKahn/followers","following_url":"https://api.github.com/users/JBKahn/following{/other_user}","gists_url":"https://api.github.com/users/JBKahn/gists{/gist_id}","starred_url":"https://api.github.com/users/JBKahn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JBKahn/subscriptions","organizations_url":"https://api.github.com/users/JBKahn/orgs","repos_url":"https://api.github.com/users/JBKahn/repos","events_url":"https://api.github.com/users/JBKahn/events{/privacy}","received_events_url":"https://api.github.com/users/JBKahn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-07-13T14:31:12Z","updated_at":"2016-10-11T12:27:15Z","closed_at":null,"body":"I've got this in two ways:\r\n1) Inside honcho, if I'm using an `import ipdb; ipdb.sset_trace()` in my Django app\r\n2) Same idea, but inside nose tests for the Django app\r\n\r\nAlthough a breakpoint in the running app did happen, we had some weird behaviour with the autocompletion that used to be there in 4.2 but didn't seem to be present once we bumped ipython to 5, maybe that was known.\r\n\r\nHere's the traceback for my test\r\n```python\r\n    my_project.py line 77 in my_function\r\n      import ipdb; ipdb.sset_trace()\r\n    /data/virtualenv/my_project/lib/python2.7/site-packages/ipdb/stdout.py line 18 in sset_trace\r\n      set_trace(frame, context)\r\n    /data/virtualenv/my_project/lib/python2.7/site-packages/ipdb/__main__.py line 93 in set_trace\r\n      p = _init_pdb(context).set_trace(frame)\r\n    /data/virtualenv/my_project/lib/python2.7/site-packages/ipdb/__main__.py line 76 in _init_pdb\r\n      p = Pdb(def_colors)\r\n    /data/virtualenv/my_project/lib/python2.7/site-packages/IPython/terminal/debugger.py line 15 in __init__\r\n      self.pt_init()\r\n    /data/virtualenv/my_project/lib/python2.7/site-packages/IPython/terminal/debugger.py line 38 in pt_init\r\n      self.pt_cli = CommandLineInterface(self._pt_app, eventloop=self.shell._eventloop)\r\n   AttributeError: 'TerminalInteractiveShell' object has no attribute '_eventloop'\r\n```"},"comment":{"url":"https://api.github.com/repos/gotcha/ipdb/issues/comments/252902726","html_url":"https://github.com/gotcha/ipdb/issues/105#issuecomment-252902726","issue_url":"https://api.github.com/repos/gotcha/ipdb/issues/105","id":252902726,"user":{"login":"ashb","id":34150,"avatar_url":"https://avatars.githubusercontent.com/u/34150?v=3","gravatar_id":"","url":"https://api.github.com/users/ashb","html_url":"https://github.com/ashb","followers_url":"https://api.github.com/users/ashb/followers","following_url":"https://api.github.com/users/ashb/following{/other_user}","gists_url":"https://api.github.com/users/ashb/gists{/gist_id}","starred_url":"https://api.github.com/users/ashb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashb/subscriptions","organizations_url":"https://api.github.com/users/ashb/orgs","repos_url":"https://api.github.com/users/ashb/repos","events_url":"https://api.github.com/users/ashb/events{/privacy}","received_events_url":"https://api.github.com/users/ashb/received_events","type":"User","site_admin":false},"created_at":"2016-10-11T12:27:15Z","updated_at":"2016-10-11T12:27:15Z","body":"I hit a similar issue (I think -- I got the same error anyway) from trying to debug flake8 to track down an incorrect line number report. Trying the fix proposed by JBKahn removed the exception for me."}}
{"actor":{"display_login":"ashb"}}