{"action":"created","issue":{"url":"https://api.github.com/repos/inducer/pudb/issues/143","labels_url":"https://api.github.com/repos/inducer/pudb/issues/143/labels{/name}","comments_url":"https://api.github.com/repos/inducer/pudb/issues/143/comments","events_url":"https://api.github.com/repos/inducer/pudb/issues/143/events","html_url":"https://github.com/inducer/pudb/issues/143","id":86715884,"number":143,"title":"pudb loses track of source if os.chdir is involved","user":{"login":"bukzor","id":640328,"avatar_url":"https://avatars.githubusercontent.com/u/640328?v=3","gravatar_id":"","url":"https://api.github.com/users/bukzor","html_url":"https://github.com/bukzor","followers_url":"https://api.github.com/users/bukzor/followers","following_url":"https://api.github.com/users/bukzor/following{/other_user}","gists_url":"https://api.github.com/users/bukzor/gists{/gist_id}","starred_url":"https://api.github.com/users/bukzor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bukzor/subscriptions","organizations_url":"https://api.github.com/users/bukzor/orgs","repos_url":"https://api.github.com/users/bukzor/repos","events_url":"https://api.github.com/users/bukzor/events{/privacy}","received_events_url":"https://api.github.com/users/bukzor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-09T19:55:21Z","updated_at":"2015-06-09T20:01:08Z","closed_at":null,"body":"I haven't figured out a minimal reproduction for this issue as yet, but in a state were __file__ is a relative path, and the code under debugging issues os.chdir before pudb.set_trace(), the source code isn't found.\r\n\r\nAs a side-effect, the rightbar gets shifted to a left in a visually buggy way."},"comment":{"url":"https://api.github.com/repos/inducer/pudb/issues/comments/110487002","html_url":"https://github.com/inducer/pudb/issues/143#issuecomment-110487002","issue_url":"https://api.github.com/repos/inducer/pudb/issues/143","id":110487002,"user":{"login":"bukzor","id":640328,"avatar_url":"https://avatars.githubusercontent.com/u/640328?v=3","gravatar_id":"","url":"https://api.github.com/users/bukzor","html_url":"https://github.com/bukzor","followers_url":"https://api.github.com/users/bukzor/followers","following_url":"https://api.github.com/users/bukzor/following{/other_user}","gists_url":"https://api.github.com/users/bukzor/gists{/gist_id}","starred_url":"https://api.github.com/users/bukzor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bukzor/subscriptions","organizations_url":"https://api.github.com/users/bukzor/orgs","repos_url":"https://api.github.com/users/bukzor/repos","events_url":"https://api.github.com/users/bukzor/events{/privacy}","received_events_url":"https://api.github.com/users/bukzor/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T20:01:08Z","updated_at":"2015-06-09T20:01:08Z","body":"This reproduces the issue, although it doesn't demo the rightbar-shifts-left behavior:\r\n\r\n```python\r\nimport os\r\nos.chdir('/')\r\n\r\nimport pudb; pudb.set_trace()\r\n```"}}