{"action":"created","issue":{"url":"https://api.github.com/repos/smathot/OpenSesame/issues/362","labels_url":"https://api.github.com/repos/smathot/OpenSesame/issues/362/labels{/name}","comments_url":"https://api.github.com/repos/smathot/OpenSesame/issues/362/comments","events_url":"https://api.github.com/repos/smathot/OpenSesame/issues/362/events","html_url":"https://github.com/smathot/OpenSesame/issues/362","id":115258435,"number":362,"title":"IPython in debug window does not execute statement on enter press","user":{"login":"dschreij","id":689044,"avatar_url":"https://avatars.githubusercontent.com/u/689044?v=3","gravatar_id":"","url":"https://api.github.com/users/dschreij","html_url":"https://github.com/dschreij","followers_url":"https://api.github.com/users/dschreij/followers","following_url":"https://api.github.com/users/dschreij/following{/other_user}","gists_url":"https://api.github.com/users/dschreij/gists{/gist_id}","starred_url":"https://api.github.com/users/dschreij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dschreij/subscriptions","organizations_url":"https://api.github.com/users/dschreij/orgs","repos_url":"https://api.github.com/users/dschreij/repos","events_url":"https://api.github.com/users/dschreij/events{/privacy}","received_events_url":"https://api.github.com/users/dschreij/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/smathot/OpenSesame/labels/Unverified","name":"Unverified","color":"DDDDDD"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/smathot/OpenSesame/milestones/19","html_url":"https://github.com/smathot/OpenSesame/milestones/3.0.3%20Interactive%20Ising","labels_url":"https://api.github.com/repos/smathot/OpenSesame/milestones/19/labels","id":1395328,"number":19,"title":"3.0.3 Interactive Ising","description":"Third maintenance release in the 3.0 series.","creator":{"login":"smathot","id":594936,"avatar_url":"https://avatars.githubusercontent.com/u/594936?v=3","gravatar_id":"","url":"https://api.github.com/users/smathot","html_url":"https://github.com/smathot","followers_url":"https://api.github.com/users/smathot/followers","following_url":"https://api.github.com/users/smathot/following{/other_user}","gists_url":"https://api.github.com/users/smathot/gists{/gist_id}","starred_url":"https://api.github.com/users/smathot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smathot/subscriptions","organizations_url":"https://api.github.com/users/smathot/orgs","repos_url":"https://api.github.com/users/smathot/repos","events_url":"https://api.github.com/users/smathot/events{/privacy}","received_events_url":"https://api.github.com/users/smathot/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":0,"state":"open","created_at":"2015-11-05T09:57:05Z","updated_at":"2015-11-09T10:45:51Z","due_on":"2015-11-26T23:00:00Z","closed_at":null},"comments":8,"created_at":"2015-11-05T10:49:24Z","updated_at":"2015-11-09T14:56:04Z","closed_at":null,"body":"Platform: Ubuntu 14.04\r\nVersion: 3.0.2\r\n\r\nThe IPython interpreter in the debug window does not execute any statements after pressing enter, but simply goes to the next line. It already occurs with a simple statement like print(modules()) or print(5). Another strange thing is that in OpenSesame on Ubuntu the interpreter initially shows\r\n\r\n```\r\nPython 2.7.6\r\n\r\n* Type \"help()\", \"copyright()\", \"credits()\" or \"license()\" for more information.\r\n* Type \"print(modules())\" for details about installed modules and version information.\r\n* Use the \"print([msg])\" function in inline_script items to print to this debug window.\r\n* Inspect inline_script variables when an experiment is finished.\r\n\r\nIn [1]:\r\n```\r\n\r\nwhile on other platforms the IPython version number is also mentioned (if I recall this correctly). So this might have something to do with it (as in the IPython intepreter not correctly initialized.)"},"comment":{"url":"https://api.github.com/repos/smathot/OpenSesame/issues/comments/155085891","html_url":"https://github.com/smathot/OpenSesame/issues/362#issuecomment-155085891","issue_url":"https://api.github.com/repos/smathot/OpenSesame/issues/362","id":155085891,"user":{"login":"dschreij","id":689044,"avatar_url":"https://avatars.githubusercontent.com/u/689044?v=3","gravatar_id":"","url":"https://api.github.com/users/dschreij","html_url":"https://github.com/dschreij","followers_url":"https://api.github.com/users/dschreij/followers","following_url":"https://api.github.com/users/dschreij/following{/other_user}","gists_url":"https://api.github.com/users/dschreij/gists{/gist_id}","starred_url":"https://api.github.com/users/dschreij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dschreij/subscriptions","organizations_url":"https://api.github.com/users/dschreij/orgs","repos_url":"https://api.github.com/users/dschreij/repos","events_url":"https://api.github.com/users/dschreij/events{/privacy}","received_events_url":"https://api.github.com/users/dschreij/received_events","type":"User","site_admin":false},"created_at":"2015-11-09T14:56:04Z","updated_at":"2015-11-09T14:56:04Z","body":"Sorry, I just updated my Ubuntu distro from 14.04 to 15.04 this morning (And plan to go to 15.10 tonight), that's why the Python version changed, but the shift+enter solution already worked in 14.04. The full pip command to update ipython was:\r\n```sudo pip install ipython --upgrade```\r\n"}}