{"action":"created","issue":{"url":"https://api.github.com/repos/imatlab/imatlab/issues/38","repository_url":"https://api.github.com/repos/imatlab/imatlab","labels_url":"https://api.github.com/repos/imatlab/imatlab/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/imatlab/imatlab/issues/38/comments","events_url":"https://api.github.com/repos/imatlab/imatlab/issues/38/events","html_url":"https://github.com/imatlab/imatlab/issues/38","id":299177688,"number":38,"title":"imatlab kernel quits right after started","user":{"login":"CarlosEvo","id":11689106,"avatar_url":"https://avatars3.githubusercontent.com/u/11689106?v=4","gravatar_id":"","url":"https://api.github.com/users/CarlosEvo","html_url":"https://github.com/CarlosEvo","followers_url":"https://api.github.com/users/CarlosEvo/followers","following_url":"https://api.github.com/users/CarlosEvo/following{/other_user}","gists_url":"https://api.github.com/users/CarlosEvo/gists{/gist_id}","starred_url":"https://api.github.com/users/CarlosEvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CarlosEvo/subscriptions","organizations_url":"https://api.github.com/users/CarlosEvo/orgs","repos_url":"https://api.github.com/users/CarlosEvo/repos","events_url":"https://api.github.com/users/CarlosEvo/events{/privacy}","received_events_url":"https://api.github.com/users/CarlosEvo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-02-22T00:16:15Z","updated_at":"2018-02-22T19:12:14Z","closed_at":"2018-02-22T04:56:45Z","author_association":"NONE","body":"Hi, I am on macOS 10.13, and the imatlab kernel throws an error and quits. Here is the debug log:\r\n\r\n```\r\nTraceback (most recent call last): File \"/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py\", line 193, in _run_module_as_main \"main\", mod_spec) File \"/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py\", line 85, in _run_code exec(code, run_globals) File \"/usr/local/lib/python3.6/site-packages/imatlab/main.py\", line 5, in IPKernelApp.launch_instance(kernel_class=MatlabKernel) File \"/usr/local/lib/python3.6/site-packages/traitlets/config/application.py\", line 657, in launch_instance app.initialize(argv) File \"\", line 2, in initialize File \"/usr/local/lib/python3.6/site-packages/traitlets/config/application.py\", line 87, in catch_config_error return method(app, args, **kwargs) File \"/usr/local/lib/python3.6/site-packages/ipykernel/kernelapp.py\", line 457, in initialize self.init_kernel() File \"/usr/local/lib/python3.6/site-packages/ipykernel/kernelapp.py\", line 368, in init_kernel user_ns=self.user_ns, File \"/usr/local/lib/python3.6/site-packages/traitlets/config/configurable.py\", line 412, in instance inst = cls(args, **kwargs) File \"/usr/local/lib/python3.6/site-packages/imatlab/_kernel.py\", line 143, in init self._history = MatlabHistory(Path(self._call(\"prefdir\"))) File \"/usr/local/lib/python3.6/site-packages/imatlab/_kernel.py\", line 47, in init self._et = ET.parse(str(prefdir / \"History.xml\")) File \"/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/xml/etree/ElementTree.py\", line 1196, in parse tree.parse(source, parser) File \"/usr/local/Cellar/python3/3.6.4_2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/xml/etree/ElementTree.py\", line 597, in parse self._root = parser._parse_whole(source) File \"\", line None xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 5509, column 113\r\n```\r\n\r\nSince I am running in Atom with Hydrogen, the error message is one-liner. Here is a screenshot for a better look: \r\n![image](https://user-images.githubusercontent.com/11689106/36513059-8680df3c-1722-11e8-97c9-583e5d71c1e2.png)\r\n"},"comment":{"url":"https://api.github.com/repos/imatlab/imatlab/issues/comments/367788247","html_url":"https://github.com/imatlab/imatlab/issues/38#issuecomment-367788247","issue_url":"https://api.github.com/repos/imatlab/imatlab/issues/38","id":367788247,"user":{"login":"CarlosEvo","id":11689106,"avatar_url":"https://avatars3.githubusercontent.com/u/11689106?v=4","gravatar_id":"","url":"https://api.github.com/users/CarlosEvo","html_url":"https://github.com/CarlosEvo","followers_url":"https://api.github.com/users/CarlosEvo/followers","following_url":"https://api.github.com/users/CarlosEvo/following{/other_user}","gists_url":"https://api.github.com/users/CarlosEvo/gists{/gist_id}","starred_url":"https://api.github.com/users/CarlosEvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CarlosEvo/subscriptions","organizations_url":"https://api.github.com/users/CarlosEvo/orgs","repos_url":"https://api.github.com/users/CarlosEvo/repos","events_url":"https://api.github.com/users/CarlosEvo/events{/privacy}","received_events_url":"https://api.github.com/users/CarlosEvo/received_events","type":"User","site_admin":false},"created_at":"2018-02-22T19:12:14Z","updated_at":"2018-02-22T19:12:14Z","author_association":"NONE","body":"@anntzer I just managed to restore the file in time machine. See my edit above."}}
{"actor":{"display_login":"CarlosEvo"}}