{"action":"created","comment":{"url":"https://api.github.com/repos/cbm755/octsympy/pulls/comments/52776057","id":52776057,"diff_hunk":"@@ -138,11 +138,8 @@\n   end\n \n   if (strcmp(A{1}, 'COMMAND_ERROR_PYTHON'))\n-    errlineno = A{3} - LinesBeforeCmdBlock - 1;\n-    errstr = sprintf(['Python raised exception, maybe at line %d of code ' ...\n-                      'block (assuming popen2)\\n' ...\n-                      '%s'], errlineno, A{2});\n-    error('OctSymPy:python_cmd:exception', errstr);\n+    errlineno = A{3} - db.prelines - LinesBeforeCmdBlock;\n+    error(strcat(A{2}, ' (line: ', mat2str(errlineno), ')'));","path":"inst/python_cmd.m","position":19,"original_position":19,"commit_id":"53810a6743a7b300e80599e78191ee07311f3ede","original_commit_id":"53810a6743a7b300e80599e78191ee07311f3ede","user":{"login":"cbm755","id":818622,"avatar_url":"https://avatars.githubusercontent.com/u/818622?v=3","gravatar_id":"","url":"https://api.github.com/users/cbm755","html_url":"https://github.com/cbm755","followers_url":"https://api.github.com/users/cbm755/followers","following_url":"https://api.github.com/users/cbm755/following{/other_user}","gists_url":"https://api.github.com/users/cbm755/gists{/gist_id}","starred_url":"https://api.github.com/users/cbm755/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbm755/subscriptions","organizations_url":"https://api.github.com/users/cbm755/orgs","repos_url":"https://api.github.com/users/cbm755/repos","events_url":"https://api.github.com/users/cbm755/events{/privacy}","received_events_url":"https://api.github.com/users/cbm755/received_events","type":"User","site_admin":false},"body":"I liked that it specified it was a python error.  How about keep it like it was before, something like:\r\n````\r\nerror: Python exception near line 1 of the code block\\n\r\nNameError: hello\r\n````\r\n(File a separate bug if you feel strongly about fitting it on one line).","created_at":"2016-02-12T18:08:06Z","updated_at":"2016-02-12T18:08:06Z","html_url":"https://github.com/cbm755/octsympy/pull/338#discussion_r52776057","pull_request_url":"https://api.github.com/repos/cbm755/octsympy/pulls/338","_links":{"self":{"href":"https://api.github.com/repos/cbm755/octsympy/pulls/comments/52776057"},"html":{"href":"https://github.com/cbm755/octsympy/pull/338#discussion_r52776057"},"pull_request":{"href":"https://api.github.com/repos/cbm755/octsympy/pulls/338"}}},"pull_request":{"url":"https://api.github.com/repos/cbm755/octsympy/pulls/338","id":58142247,"html_url":"https://github.com/cbm755/octsympy/pull/338","diff_url":"https://github.com/cbm755/octsympy/pull/338.diff","patch_url":"https://github.com/cbm755/octsympy/pull/338.patch","issue_url":"https://api.github.com/repos/cbm755/octsympy/issues/338","number":338,"state":"open","locked":false,"title":"new line error handle","user":{"login":"latot","id":10523095,"avatar_url":"https://avatars.githubusercontent.com/u/10523095?v=3","gravatar_id":"","url":"https://api.github.com/users/latot","html_url":"https://github.com/latot","followers_url":"https://api.github.com/users/latot/followers","following_url":"https://api.github.com/users/latot/following{/other_user}","gists_url":"https://api.github.com/users/latot/gists{/gist_id}","starred_url":"https://api.github.com/users/latot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/latot/subscriptions","organizations_url":"https://api.github.com/users/latot/orgs","repos_url":"https://api.github.com/users/latot/repos","events_url":"https://api.github.com/users/latot/events{/privacy}","received_events_url":"https://api.github.com/users/latot/received_events","type":"User","site_admin":false},"body":"now works with all ipc systems.","created_at":"2016-02-03T14:14:49Z","updated_at":"2016-02-12T18:08:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"30cf9fce331728def193dd3cf8eca4e54e63e53b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cbm755/octsympy/pulls/338/commits","review_comments_url":"https://api.github.com/repos/cbm755/octsympy/pulls/338/comments","review_comment_url":"https://api.github.com/repos/cbm755/octsympy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cbm755/octsympy/issues/338/comments","statuses_url":"https://api.github.com/repos/cbm755/octsympy/statuses/53810a6743a7b300e80599e78191ee07311f3ede","head":{"label":"latot:nerr","ref":"nerr","sha":"53810a6743a7b300e80599e78191ee07311f3ede","user":{"login":"latot","id":10523095,"avatar_url":"https://avatars.githubusercontent.com/u/10523095?v=3","gravatar_id":"","url":"https://api.github.com/users/latot","html_url":"https://github.com/latot","followers_url":"https://api.github.com/users/latot/followers","following_url":"https://api.github.com/users/latot/following{/other_user}","gists_url":"https://api.github.com/users/latot/gists{/gist_id}","starred_url":"https://api.github.com/users/latot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/latot/subscriptions","organizations_url":"https://api.github.com/users/latot/orgs","repos_url":"https://api.github.com/users/latot/repos","events_url":"https://api.github.com/users/latot/events{/privacy}","received_events_url":"https://api.github.com/users/latot/received_events","type":"User","site_admin":false},"repo":{"id":48159914,"name":"octsympy","full_name":"latot/octsympy","owner":{"login":"latot","id":10523095,"avatar_url":"https://avatars.githubusercontent.com/u/10523095?v=3","gravatar_id":"","url":"https://api.github.com/users/latot","html_url":"https://github.com/latot","followers_url":"https://api.github.com/users/latot/followers","following_url":"https://api.github.com/users/latot/following{/other_user}","gists_url":"https://api.github.com/users/latot/gists{/gist_id}","starred_url":"https://api.github.com/users/latot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/latot/subscriptions","organizations_url":"https://api.github.com/users/latot/orgs","repos_url":"https://api.github.com/users/latot/repos","events_url":"https://api.github.com/users/latot/events{/privacy}","received_events_url":"https://api.github.com/users/latot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/latot/octsympy","description":"A Symbolic Package for Octave using SymPy","fork":true,"url":"https://api.github.com/repos/latot/octsympy","forks_url":"https://api.github.com/repos/latot/octsympy/forks","keys_url":"https://api.github.com/repos/latot/octsympy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/latot/octsympy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/latot/octsympy/teams","hooks_url":"https://api.github.com/repos/latot/octsympy/hooks","issue_events_url":"https://api.github.com/repos/latot/octsympy/issues/events{/number}","events_url":"https://api.github.com/repos/latot/octsympy/events","assignees_url":"https://api.github.com/repos/latot/octsympy/assignees{/user}","branches_url":"https://api.github.com/repos/latot/octsympy/branches{/branch}","tags_url":"https://api.github.com/repos/latot/octsympy/tags","blobs_url":"https://api.github.com/repos/latot/octsympy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/latot/octsympy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/latot/octsympy/git/refs{/sha}","trees_url":"https://api.github.com/repos/latot/octsympy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/latot/octsympy/statuses/{sha}","languages_url":"https://api.github.com/repos/latot/octsympy/languages","stargazers_url":"https://api.github.com/repos/latot/octsympy/stargazers","contributors_url":"https://api.github.com/repos/latot/octsympy/contributors","subscribers_url":"https://api.github.com/repos/latot/octsympy/subscribers","subscription_url":"https://api.github.com/repos/latot/octsympy/subscription","commits_url":"https://api.github.com/repos/latot/octsympy/commits{/sha}","git_commits_url":"https://api.github.com/repos/latot/octsympy/git/commits{/sha}","comments_url":"https://api.github.com/repos/latot/octsympy/comments{/number}","issue_comment_url":"https://api.github.com/repos/latot/octsympy/issues/comments{/number}","contents_url":"https://api.github.com/repos/latot/octsympy/contents/{+path}","compare_url":"https://api.github.com/repos/latot/octsympy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/latot/octsympy/merges","archive_url":"https://api.github.com/repos/latot/octsympy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/latot/octsympy/downloads","issues_url":"https://api.github.com/repos/latot/octsympy/issues{/number}","pulls_url":"https://api.github.com/repos/latot/octsympy/pulls{/number}","milestones_url":"https://api.github.com/repos/latot/octsympy/milestones{/number}","notifications_url":"https://api.github.com/repos/latot/octsympy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/latot/octsympy/labels{/name}","releases_url":"https://api.github.com/repos/latot/octsympy/releases{/id}","deployments_url":"https://api.github.com/repos/latot/octsympy/deployments","created_at":"2015-12-17T07:41:40Z","updated_at":"2016-01-11T23:53:03Z","pushed_at":"2016-02-12T13:23:14Z","git_url":"git://github.com/latot/octsympy.git","ssh_url":"git@github.com:latot/octsympy.git","clone_url":"https://github.com/latot/octsympy.git","svn_url":"https://github.com/latot/octsympy","homepage":"","size":2210,"stargazers_count":0,"watchers_count":0,"language":"Matlab","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cbm755:master","ref":"master","sha":"67a849a9b5221da3775d428f65eee61904ceccf3","user":{"login":"cbm755","id":818622,"avatar_url":"https://avatars.githubusercontent.com/u/818622?v=3","gravatar_id":"","url":"https://api.github.com/users/cbm755","html_url":"https://github.com/cbm755","followers_url":"https://api.github.com/users/cbm755/followers","following_url":"https://api.github.com/users/cbm755/following{/other_user}","gists_url":"https://api.github.com/users/cbm755/gists{/gist_id}","starred_url":"https://api.github.com/users/cbm755/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbm755/subscriptions","organizations_url":"https://api.github.com/users/cbm755/orgs","repos_url":"https://api.github.com/users/cbm755/repos","events_url":"https://api.github.com/users/cbm755/events{/privacy}","received_events_url":"https://api.github.com/users/cbm755/received_events","type":"User","site_admin":false},"repo":{"id":18641463,"name":"octsympy","full_name":"cbm755/octsympy","owner":{"login":"cbm755","id":818622,"avatar_url":"https://avatars.githubusercontent.com/u/818622?v=3","gravatar_id":"","url":"https://api.github.com/users/cbm755","html_url":"https://github.com/cbm755","followers_url":"https://api.github.com/users/cbm755/followers","following_url":"https://api.github.com/users/cbm755/following{/other_user}","gists_url":"https://api.github.com/users/cbm755/gists{/gist_id}","starred_url":"https://api.github.com/users/cbm755/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbm755/subscriptions","organizations_url":"https://api.github.com/users/cbm755/orgs","repos_url":"https://api.github.com/users/cbm755/repos","events_url":"https://api.github.com/users/cbm755/events{/privacy}","received_events_url":"https://api.github.com/users/cbm755/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cbm755/octsympy","description":"A Symbolic Package for Octave using SymPy","fork":false,"url":"https://api.github.com/repos/cbm755/octsympy","forks_url":"https://api.github.com/repos/cbm755/octsympy/forks","keys_url":"https://api.github.com/repos/cbm755/octsympy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cbm755/octsympy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cbm755/octsympy/teams","hooks_url":"https://api.github.com/repos/cbm755/octsympy/hooks","issue_events_url":"https://api.github.com/repos/cbm755/octsympy/issues/events{/number}","events_url":"https://api.github.com/repos/cbm755/octsympy/events","assignees_url":"https://api.github.com/repos/cbm755/octsympy/assignees{/user}","branches_url":"https://api.github.com/repos/cbm755/octsympy/branches{/branch}","tags_url":"https://api.github.com/repos/cbm755/octsympy/tags","blobs_url":"https://api.github.com/repos/cbm755/octsympy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cbm755/octsympy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cbm755/octsympy/git/refs{/sha}","trees_url":"https://api.github.com/repos/cbm755/octsympy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cbm755/octsympy/statuses/{sha}","languages_url":"https://api.github.com/repos/cbm755/octsympy/languages","stargazers_url":"https://api.github.com/repos/cbm755/octsympy/stargazers","contributors_url":"https://api.github.com/repos/cbm755/octsympy/contributors","subscribers_url":"https://api.github.com/repos/cbm755/octsympy/subscribers","subscription_url":"https://api.github.com/repos/cbm755/octsympy/subscription","commits_url":"https://api.github.com/repos/cbm755/octsympy/commits{/sha}","git_commits_url":"https://api.github.com/repos/cbm755/octsympy/git/commits{/sha}","comments_url":"https://api.github.com/repos/cbm755/octsympy/comments{/number}","issue_comment_url":"https://api.github.com/repos/cbm755/octsympy/issues/comments{/number}","contents_url":"https://api.github.com/repos/cbm755/octsympy/contents/{+path}","compare_url":"https://api.github.com/repos/cbm755/octsympy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cbm755/octsympy/merges","archive_url":"https://api.github.com/repos/cbm755/octsympy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cbm755/octsympy/downloads","issues_url":"https://api.github.com/repos/cbm755/octsympy/issues{/number}","pulls_url":"https://api.github.com/repos/cbm755/octsympy/pulls{/number}","milestones_url":"https://api.github.com/repos/cbm755/octsympy/milestones{/number}","notifications_url":"https://api.github.com/repos/cbm755/octsympy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cbm755/octsympy/labels{/name}","releases_url":"https://api.github.com/repos/cbm755/octsympy/releases{/id}","deployments_url":"https://api.github.com/repos/cbm755/octsympy/deployments","created_at":"2014-04-10T15:25:39Z","updated_at":"2016-01-18T18:36:31Z","pushed_at":"2016-02-12T17:57:08Z","git_url":"git://github.com/cbm755/octsympy.git","ssh_url":"git@github.com:cbm755/octsympy.git","clone_url":"https://github.com/cbm755/octsympy.git","svn_url":"https://github.com/cbm755/octsympy","homepage":"","size":2307,"stargazers_count":17,"watchers_count":17,"language":"Matlab","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":65,"forks":6,"open_issues":65,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cbm755/octsympy/pulls/338"},"html":{"href":"https://github.com/cbm755/octsympy/pull/338"},"issue":{"href":"https://api.github.com/repos/cbm755/octsympy/issues/338"},"comments":{"href":"https://api.github.com/repos/cbm755/octsympy/issues/338/comments"},"review_comments":{"href":"https://api.github.com/repos/cbm755/octsympy/pulls/338/comments"},"review_comment":{"href":"https://api.github.com/repos/cbm755/octsympy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cbm755/octsympy/pulls/338/commits"},"statuses":{"href":"https://api.github.com/repos/cbm755/octsympy/statuses/53810a6743a7b300e80599e78191ee07311f3ede"}}}}