{"action":"closed","issue":{"url":"https://api.github.com/repos/gotcha/ipdb/issues/77","repository_url":"https://api.github.com/repos/gotcha/ipdb","labels_url":"https://api.github.com/repos/gotcha/ipdb/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/gotcha/ipdb/issues/77/comments","events_url":"https://api.github.com/repos/gotcha/ipdb/issues/77/events","html_url":"https://github.com/gotcha/ipdb/issues/77","id":133985653,"number":77,"title":"ipdb in pyramid app","user":{"login":"delijati","id":769969,"avatar_url":"https://avatars.githubusercontent.com/u/769969?v=3","gravatar_id":"","url":"https://api.github.com/users/delijati","html_url":"https://github.com/delijati","followers_url":"https://api.github.com/users/delijati/followers","following_url":"https://api.github.com/users/delijati/following{/other_user}","gists_url":"https://api.github.com/users/delijati/gists{/gist_id}","starred_url":"https://api.github.com/users/delijati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delijati/subscriptions","organizations_url":"https://api.github.com/users/delijati/orgs","repos_url":"https://api.github.com/users/delijati/repos","events_url":"https://api.github.com/users/delijati/events{/privacy}","received_events_url":"https://api.github.com/users/delijati/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-16T13:46:31Z","updated_at":"2016-02-17T18:15:38Z","closed_at":"2016-02-17T18:15:38Z","body":"ipdb is trying to read the development.ini\r\n```\r\nStarting server in PID 30852.\r\nserving on http://0.0.0.0:6543\r\nWARNING: Attempting to work in a virtualenv. If you encounter problems, please install IPython inside the virtualenv.\r\n  File \"/home/delicj/develop/work/MONEY/PYRA_WORK/development.ini\", line 6\r\n    [app:main]\r\n        ^\r\nSyntaxError: invalid syntax\r\n\r\n2016-02-16 14:42:18,425 ERROR [waitress:339][waitress] Exception when serving /form\r\nTraceback (most recent call last):\r\n  File \"/home/delicj/develop/work/MONEY/PYRA_WORK/env/local/lib/python2.7/site-packages/waitress/channel.py\", line 336, in service\r\n    task.service()\r\n  File \"/home/delicj/develop/work/MONEY/PYRA_WORK/env/local/lib/python2.7/site-packages/waitress/task.py\", line 169, in service\r\n    self.execute()\r\n  File \"/home/delicj/develop/work/MONEY/PYRA_WORK/env/local/lib/python2.7/site-packages/waitress/task.py\", line 388, in execute\r\n    app_iter = self.channel.server.application(env, start_response)\r\n  File \"/home/delicj/develop/work/MONEY/PYRA_WORK/env/local/lib/python2.7/site-packages/pyramid-1.6.1-py2.7.egg/pyramid/router.py\", line 223, in __call__\r\n    response = self.invoke_subrequest(request, use_tweens=True)\r\n  File \"/home/delicj/develop/work/MONEY/PYRA_WORK/env/local/lib/python2.7/site-packages/pyramid-1.6.1-py2.7.egg/pyramid/router.py\", line 198, in invoke_subrequest\r\n    response = handle_request(request)\r\n  File \"/home/delicj/develop/work/MONEY/PYRA_WORK/env/local/lib/python2.7/site-packages/pyramid_debugtoolbar-2.4.2-py2.7.egg/pyramid_debugtoolbar/toolbar.py\", line 192, in toolbar_tween\r\n    response = _handler(request)\r\n  File \"/home/delicj/develop/work/MONEY/PYRA_WORK/env/local/lib/python2.7/site-packages/pyramid_debugtoolbar-2.4.2-py2.7.egg/pyramid_debugtoolbar/panels/performance.py\", line 57, in resource_timer_handler\r\n    result = handler(request)\r\n  File \"/home/delicj/develop/work/MONEY/PYRA_WORK/env/local/lib/python2.7/site-packages/pyramid-1.6.1-py2.7.egg/pyramid/tweens.py\", line 20, in excview_tween\r\n    response = handler(request)\r\n  File \"/home/delicj/develop/work/MONEY/PYRA_WORK/env/local/lib/python2.7/site-packages/pyramid_tm-0.12.1-py2.7.egg/pyramid_tm/__init__.py\", line 101, in tm_tween\r\n    reraise(*exc_info)\r\n  File \"/home/delicj/develop/work/MONEY/PYRA_WORK/env/local/lib/python2.7/site-packages/pyramid_tm-0.12.1-py2.7.egg/pyramid_tm/__init__.py\", line 83, in tm_tween\r\n    response = handler(request)\r\n  File \"/home/delicj/develop/work/MONEY/PYRA_WORK/env/local/lib/python2.7/site-packages/pyramid-1.6.1-py2.7.egg/pyramid/router.py\", line 145, in handle_request\r\n    view_name\r\n  File \"/home/delicj/develop/work/MONEY/PYRA_WORK/env/local/lib/python2.7/site-packages/pyramid-1.6.1-py2.7.egg/pyramid/view.py\", line 541, in _call_view\r\n    response = view_callable(context, request)\r\n  File \"/home/delicj/develop/work/MONEY/PYRA_WORK/env/local/lib/python2.7/site-packages/pyramid-1.6.1-py2.7.egg/pyramid/config/views.py\", line 353, in rendered_view\r\n    result = view(context, request)\r\n  File \"/home/delicj/develop/work/MONEY/PYRA_WORK/env/local/lib/python2.7/site-packages/pyramid-1.6.1-py2.7.egg/pyramid/config/views.py\", line 481, in _class_requestonly_view\r\n    response = inst()\r\n  File \"/home/delicj/develop/work/MONEY/PYRA_WORK/PYRA_WORK/views/form.py\", line 61, in __call__\r\n    import ipdb\r\n  File \"/home/delicj/develop/work/MONEY/PYRA_WORK/env/local/lib/python2.7/site-packages/ipdb/__init__.py\", line 16, in <module>\r\n    from ipdb.__main__ import set_trace, post_mortem, pm, run, runcall, runeval, launch_ipdb_on_exception\r\n  File \"/home/delicj/develop/work/MONEY/PYRA_WORK/env/local/lib/python2.7/site-packages/ipdb/__main__.py\", line 66, in <module>\r\n    ipapp.initialize()\r\n  File \"<decorator-gen-111>\", line 2, in initialize\r\n  File \"/home/delicj/develop/work/MONEY/PYRA_WORK/env/local/lib/python2.7/site-packages/traitlets/config/application.py\", line 74, in catch_config_error\r\n    return method(app, *args, **kwargs)\r\n  File \"/home/delicj/develop/work/MONEY/PYRA_WORK/env/local/lib/python2.7/site-packages/IPython/terminal/ipapp.py\", line 312, in initialize\r\n    self.init_code()\r\n  File \"/home/delicj/develop/work/MONEY/PYRA_WORK/env/local/lib/python2.7/site-packages/IPython/core/shellapp.py\", line 296, in init_code\r\n    self._run_cmd_line_code()\r\n  File \"/home/delicj/develop/work/MONEY/PYRA_WORK/env/local/lib/python2.7/site-packages/IPython/core/shellapp.py\", line 422, in _run_cmd_line_code\r\n    self.exit(1)\r\n  File \"/home/delicj/develop/work/MONEY/PYRA_WORK/env/local/lib/python2.7/site-packages/traitlets/config/application.py\", line 579, in exit\r\n    sys.exit(exit_status)\r\nSystemExit: 1\r\n```"}}