{"action":"created","issue":{"url":"https://api.github.com/repos/xonsh/xonsh/issues/1430","repository_url":"https://api.github.com/repos/xonsh/xonsh","labels_url":"https://api.github.com/repos/xonsh/xonsh/issues/1430/labels{/name}","comments_url":"https://api.github.com/repos/xonsh/xonsh/issues/1430/comments","events_url":"https://api.github.com/repos/xonsh/xonsh/issues/1430/events","html_url":"https://github.com/xonsh/xonsh/issues/1430","id":165601906,"number":1430,"title":"Docs on how to contribute to Xonsh","user":{"login":"santagada","id":225897,"avatar_url":"https://avatars.githubusercontent.com/u/225897?v=3","gravatar_id":"","url":"https://api.github.com/users/santagada","html_url":"https://github.com/santagada","followers_url":"https://api.github.com/users/santagada/followers","following_url":"https://api.github.com/users/santagada/following{/other_user}","gists_url":"https://api.github.com/users/santagada/gists{/gist_id}","starred_url":"https://api.github.com/users/santagada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/santagada/subscriptions","organizations_url":"https://api.github.com/users/santagada/orgs","repos_url":"https://api.github.com/users/santagada/repos","events_url":"https://api.github.com/users/santagada/events{/privacy}","received_events_url":"https://api.github.com/users/santagada/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/xonsh/xonsh/labels/docs","name":"docs","color":"bfdadc"},{"url":"https://api.github.com/repos/xonsh/xonsh/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-14T16:20:54Z","updated_at":"2016-07-16T02:30:00Z","closed_at":null,"body":"specially talk about how to setup a dev environment with amalgamation deactivated, I tried this steps and failed:\r\n\r\n- created a vox env\r\n- installed requirements-test\r\n- python3 setup.py develop\r\n- py.test\r\n\r\nit resulted in this error:\r\n\r\n```\r\n $  py.test\r\n============================================================================================================ test session starts =============================================================================================================\r\nplatform darwin -- Python 3.5.2, pytest-2.9.2, py-1.4.31, pluggy-0.3.1\r\nrootdir: /Users/santagada/devel/xonsh, inifile:\r\ncollected 1131 items\r\n\r\ntests/test_aliases.py .........\r\ntests/test_ast.py ...\r\ntests/test_builtins.py s.....................\r\ntests/test_contexts.py .........................\r\ntests/test_dirstack.py ....\r\ntests/test_environ.py ..............................s\r\ntests/test_execer.py ss..................\r\ntests/test_foreign_shells.py .....s\r\ntests/test_history.py ......\r\ntests/test_imphooks.py ....\r\ntests/test_inspectors.py .\r\ntests/test_lazyasd.py .\r\ntests/test_lazyjson.py ...................\r\ntests/test_lexer.py .....................................\r\ntests/test_main.py .................\r\ntests/test_man.py .\r\ntests/test_news.py .................\r\ntests/test_parser.py .....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................\r\ntests/test_ptk_history.py .\r\ntests/test_ptk_multiline.py .......\r\ntests/test_replay.py sss\r\ntests/test_tools.py ................................................................................................................................................................................................................................................................................................ssss...s\r\ntests/test_wizard.py ...\r\ntests/test_xontribs.py .\r\n\r\n================================================================================================== 1118 passed, 13 skipped in 7.14 seconds ===================================================================================================\r\nException ignored in: <bound method Execer.__del__ of <xonsh.__amalgam__.Execer object at 0x10ed742b0>>\r\nTraceback (most recent call last):\r\n  File \"/Users/santagada/devel/xonsh/xonsh/__amalgam__.py\", line 16113, in __del__\r\nTypeError: 'NoneType' object is not callable\r\nException ignored in: <generator object get_tokens at 0x10f29b9e8>\r\nTraceback (most recent call last):\r\n  File \"/Users/santagada/devel/xonsh/xonsh/__amalgam__.py\", line 9931, in get_tokens\r\nTypeError: catching classes that do not inherit from BaseException is not allowed\r\n```"},"comment":{"url":"https://api.github.com/repos/xonsh/xonsh/issues/comments/233103660","html_url":"https://github.com/xonsh/xonsh/issues/1430#issuecomment-233103660","issue_url":"https://api.github.com/repos/xonsh/xonsh/issues/1430","id":233103660,"user":{"login":"bobhy","id":1971300,"avatar_url":"https://avatars.githubusercontent.com/u/1971300?v=3","gravatar_id":"","url":"https://api.github.com/users/bobhy","html_url":"https://github.com/bobhy","followers_url":"https://api.github.com/users/bobhy/followers","following_url":"https://api.github.com/users/bobhy/following{/other_user}","gists_url":"https://api.github.com/users/bobhy/gists{/gist_id}","starred_url":"https://api.github.com/users/bobhy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobhy/subscriptions","organizations_url":"https://api.github.com/users/bobhy/orgs","repos_url":"https://api.github.com/users/bobhy/repos","events_url":"https://api.github.com/users/bobhy/events{/privacy}","received_events_url":"https://api.github.com/users/bobhy/received_events","type":"User","site_admin":false},"created_at":"2016-07-16T02:30:00Z","updated_at":"2016-07-16T02:30:00Z","body":"I found this problem trying to debug in Windows, and eventually the same fix.   Xonsh is a bit tricky to set up for debug compared to other, even much bigger, projects like Django. I think there are two key tricks to master: to disable amalgamation or to set breakpoints in amalgamated code;  and setting the debugger to to invoke Xonsh with a specific command line to hit your breakpoints, rather than trying to run the  console under the debugger (still a problem for me with PyCharm)  \r\n\r\nI'll take a crack at some language in the dev guide if some of the seniors on the project would provide some pointers on how they do debugging and why amalgamation."}}
{"actor":{"display_login":"bobhy"}}