{"action":"closed","issue":{"url":"https://api.github.com/repos/ipython/ipython/issues/9585","repository_url":"https://api.github.com/repos/ipython/ipython","labels_url":"https://api.github.com/repos/ipython/ipython/issues/9585/labels{/name}","comments_url":"https://api.github.com/repos/ipython/ipython/issues/9585/comments","events_url":"https://api.github.com/repos/ipython/ipython/issues/9585/events","html_url":"https://github.com/ipython/ipython/issues/9585","id":159293580,"number":9585,"title":"5b2: cd with tab completion crashes at execution","user":{"login":"michaelaye","id":69774,"avatar_url":"https://avatars.githubusercontent.com/u/69774?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelaye","html_url":"https://github.com/michaelaye","followers_url":"https://api.github.com/users/michaelaye/followers","following_url":"https://api.github.com/users/michaelaye/following{/other_user}","gists_url":"https://api.github.com/users/michaelaye/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelaye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelaye/subscriptions","organizations_url":"https://api.github.com/users/michaelaye/orgs","repos_url":"https://api.github.com/users/michaelaye/repos","events_url":"https://api.github.com/users/michaelaye/events{/privacy}","received_events_url":"https://api.github.com/users/michaelaye/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-08T22:46:17Z","updated_at":"2016-06-08T22:50:55Z","closed_at":"2016-06-08T22:50:55Z","body":"All I do is `cd Dro` then press <TAB> to have the path completed. At that moment the path to just the Dropboxfolder is shown and I just press <return> to confirm.\r\nThis is when it crashes like so:\r\n```bash\r\n(stable)└─❱❱❱ ipython                                                          1 ⏎  +4066 16:42 ❰─┘\r\nPython 3.5.1 |Continuum Analytics, Inc.| (default, Dec  7 2015, 11:24:55)\r\nType \"copyright\", \"credits\" or \"license\" for more information.\r\n\r\nIPython 5.0.0b2 -- An enhanced Interactive Python.\r\n?         -> Introduction and overview of IPython's features.\r\n%quickref -> Quick reference.\r\nhelp      -> Python's own help system.\r\nobject?   -> Details about 'object', use 'object??' for extra details.\r\nAutomatic calling is: Smart\r\n\r\nIn [1]: cd Dropbox/\r\nTraceback (most recent call last):\r\n  File \"/Users/klay6683/miniconda3/envs/stable/bin/ipython\", line 11, in <module>\r\n    sys.exit(start_ipython())\r\n  File \"/Users/klay6683/miniconda3/envs/stable/lib/python3.5/site-packages/IPython/__init__.py\", line 119, in start_ipython\r\n    return launch_new_instance(argv=argv, **kwargs)\r\n  File \"/Users/klay6683/miniconda3/envs/stable/lib/python3.5/site-packages/traitlets/config/application.py\", line 596, in launch_instance\r\n    app.start()\r\n  File \"/Users/klay6683/miniconda3/envs/stable/lib/python3.5/site-packages/IPython/terminal/ipapp.py\", line 348, in start\r\n    self.shell.mainloop()\r\n  File \"/Users/klay6683/miniconda3/envs/stable/lib/python3.5/site-packages/IPython/terminal/ptshell.py\", line 398, in mainloop\r\n    self.interact()\r\n  File \"/Users/klay6683/miniconda3/envs/stable/lib/python3.5/site-packages/IPython/terminal/ptshell.py\", line 381, in interact\r\n    code = self.prompt_for_code()\r\n  File \"/Users/klay6683/miniconda3/envs/stable/lib/python3.5/site-packages/IPython/terminal/ptshell.py\", line 324, in prompt_for_code\r\n    pre_run=self.pre_prompt, reset_current_buffer=True)\r\n  File \"/Users/klay6683/miniconda3/envs/stable/lib/python3.5/site-packages/prompt_toolkit/interface.py\", line 387, in run\r\n    self.eventloop.run(self.input, self.create_eventloop_callbacks())\r\n  File \"/Users/klay6683/miniconda3/envs/stable/lib/python3.5/site-packages/prompt_toolkit/eventloop/posix.py\", line 154, in run\r\n    t()\r\n  File \"/Users/klay6683/miniconda3/envs/stable/lib/python3.5/site-packages/prompt_toolkit/eventloop/posix.py\", line 82, in read_from_stdin\r\n    inputstream.feed(data)\r\n  File \"/Users/klay6683/miniconda3/envs/stable/lib/python3.5/site-packages/prompt_toolkit/terminal/vt100_input.py\", line 376, in feed\r\n    self._input_parser.send(c)\r\n  File \"/Users/klay6683/miniconda3/envs/stable/lib/python3.5/site-packages/prompt_toolkit/terminal/vt100_input.py\", line 295, in _input_parser_generator\r\n    self._call_handler(match, prefix)\r\n  File \"/Users/klay6683/miniconda3/envs/stable/lib/python3.5/site-packages/prompt_toolkit/terminal/vt100_input.py\", line 328, in _call_handler\r\n    self.feed_key_callback(KeyPress(key, insert_text))\r\n  File \"/Users/klay6683/miniconda3/envs/stable/lib/python3.5/site-packages/prompt_toolkit/interface.py\", line 916, in feed_key\r\n    self._active_cli.input_processor.feed_key(key_press)\r\n  File \"/Users/klay6683/miniconda3/envs/stable/lib/python3.5/site-packages/prompt_toolkit/key_binding/input_processor.py\", line 174, in feed_key\r\n    self._process_coroutine.send(key_press)\r\n  File \"/Users/klay6683/miniconda3/envs/stable/lib/python3.5/site-packages/prompt_toolkit/key_binding/input_processor.py\", line 146, in _process\r\n    self._call_handler(matches[-1], key_sequence=buffer)\r\n  File \"/Users/klay6683/miniconda3/envs/stable/lib/python3.5/site-packages/prompt_toolkit/key_binding/input_processor.py\", line 190, in _call_handler\r\n    handler.call(event)\r\n  File \"/Users/klay6683/miniconda3/envs/stable/lib/python3.5/site-packages/prompt_toolkit/key_binding/registry.py\", line 32, in call\r\n    return self.handler(event)\r\n  File \"/Users/klay6683/miniconda3/envs/stable/lib/python3.5/site-packages/IPython/terminal/ptshell.py\", line 187, in _\r\n    b.apply_completion(cs.current_completion)\r\n  File \"/Users/klay6683/miniconda3/envs/stable/lib/python3.5/site-packages/prompt_toolkit/buffer.py\", line 762, in apply_completion\r\n    assert isinstance(completion, Completion)\r\nAssertionError\r\n\r\nIf you suspect this is an IPython bug, please report it at:\r\n    https://github.com/ipython/ipython/issues\r\nor send an email to the mailing list at ipython-dev@scipy.org\r\n\r\nYou can print a more detailed traceback right now with \"%tb\", or use \"%debug\"\r\nto interactively debug it.\r\n\r\nExtra-detailed tracebacks for bug-reporting purposes can be enabled via:\r\n    %config Application.verbose_crash=True\r\n```\r\n\r\nMy system: OSX 10.10.5, conda (all updates), iTerm 3.0"}}
{"actor":{"display_login":"michaelaye"}}