{"action":"created","comment":{"url":"https://api.github.com/repos/Theano/Theano/pulls/comments/28894588","id":28894588,"diff_hunk":"@@ -215,14 +215,36 @@ def make_node(self, *inputs):\n                  \" does not match the number of inputs given to scan.\")\n         new_inputs = [inputs[0]]\n         # assert dtype is consistent\n-        err_msg1 = ('When compiling the inner function of scan the '\n-                    'following error has been encountered: The '\n+        err_msg1 = ('When compiling the inner function of scan (the '\n+                    'function called by scan in each of its iterations) '\n+                    'the following error has been encountered: The '\n                     '%s %s (argument number %d) has dtype '\n-                    '%s and %d dimension(s). The corresponding slice %s '\n-                    'however has dtype %s and %d dimension(s) (it should '\n-                    'have the same dtype and one fewer dimensions). This '\n-                    'should never happen, please '\n-                    'report to theano-dev mailing list'\n+                    '%s and %d dimension(s). The corresponding slice '\n+                    'in the inner function of scan %s '\n+                    'however has dtype %s and %d dimension(s). This '\n+                    'slice in the inner function of scan should '\n+                    'have the same dtype and one fewer dimension in its '\n+                    'leading dimension compared to its corresponding '","path":"theano/scan_module/scan_op.py","position":20,"original_position":20,"commit_id":"540f02410f71886a5418c1900f5bb4e93f3aacf3","original_commit_id":"540f02410f71886a5418c1900f5bb4e93f3aacf3","user":{"login":"carriepl","id":832811,"avatar_url":"https://avatars.githubusercontent.com/u/832811?v=3","gravatar_id":"","url":"https://api.github.com/users/carriepl","html_url":"https://github.com/carriepl","followers_url":"https://api.github.com/users/carriepl/followers","following_url":"https://api.github.com/users/carriepl/following{/other_user}","gists_url":"https://api.github.com/users/carriepl/gists{/gist_id}","starred_url":"https://api.github.com/users/carriepl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carriepl/subscriptions","organizations_url":"https://api.github.com/users/carriepl/orgs","repos_url":"https://api.github.com/users/carriepl/repos","events_url":"https://api.github.com/users/carriepl/events{/privacy}","received_events_url":"https://api.github.com/users/carriepl/received_events","type":"User","site_admin":false},"body":"\"one fewer dimension in its leading dimensions\". I know what you mean because I already understand the error message but this part doesn't really make sense.","created_at":"2015-04-22T17:21:05Z","updated_at":"2015-04-22T17:21:05Z","html_url":"https://github.com/Theano/Theano/pull/2805#discussion_r28894588","pull_request_url":"https://api.github.com/repos/Theano/Theano/pulls/2805","_links":{"self":{"href":"https://api.github.com/repos/Theano/Theano/pulls/comments/28894588"},"html":{"href":"https://github.com/Theano/Theano/pull/2805#discussion_r28894588"},"pull_request":{"href":"https://api.github.com/repos/Theano/Theano/pulls/2805"}}},"pull_request":{"url":"https://api.github.com/repos/Theano/Theano/pulls/2805","id":33795206,"html_url":"https://github.com/Theano/Theano/pull/2805","diff_url":"https://github.com/Theano/Theano/pull/2805.diff","patch_url":"https://github.com/Theano/Theano/pull/2805.patch","issue_url":"https://api.github.com/repos/Theano/Theano/issues/2805","number":2805,"state":"open","locked":false,"title":"Better error message when missing dimension in initial value in Scan","user":{"login":"SinaHonari","id":3536552,"avatar_url":"https://avatars.githubusercontent.com/u/3536552?v=3","gravatar_id":"","url":"https://api.github.com/users/SinaHonari","html_url":"https://github.com/SinaHonari","followers_url":"https://api.github.com/users/SinaHonari/followers","following_url":"https://api.github.com/users/SinaHonari/following{/other_user}","gists_url":"https://api.github.com/users/SinaHonari/gists{/gist_id}","starred_url":"https://api.github.com/users/SinaHonari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SinaHonari/subscriptions","organizations_url":"https://api.github.com/users/SinaHonari/orgs","repos_url":"https://api.github.com/users/SinaHonari/repos","events_url":"https://api.github.com/users/SinaHonari/events{/privacy}","received_events_url":"https://api.github.com/users/SinaHonari/received_events","type":"User","site_admin":false},"body":"PR for issue #2085","created_at":"2015-04-21T19:33:54Z","updated_at":"2015-04-22T17:21:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b5ee5e7253a5fcbf29bcbed551df11c0d2ea0e90","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Theano/Theano/pulls/2805/commits","review_comments_url":"https://api.github.com/repos/Theano/Theano/pulls/2805/comments","review_comment_url":"https://api.github.com/repos/Theano/Theano/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Theano/Theano/issues/2805/comments","statuses_url":"https://api.github.com/repos/Theano/Theano/statuses/540f02410f71886a5418c1900f5bb4e93f3aacf3","head":{"label":"SinaHonari:issue2085","ref":"issue2085","sha":"540f02410f71886a5418c1900f5bb4e93f3aacf3","user":{"login":"SinaHonari","id":3536552,"avatar_url":"https://avatars.githubusercontent.com/u/3536552?v=3","gravatar_id":"","url":"https://api.github.com/users/SinaHonari","html_url":"https://github.com/SinaHonari","followers_url":"https://api.github.com/users/SinaHonari/followers","following_url":"https://api.github.com/users/SinaHonari/following{/other_user}","gists_url":"https://api.github.com/users/SinaHonari/gists{/gist_id}","starred_url":"https://api.github.com/users/SinaHonari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SinaHonari/subscriptions","organizations_url":"https://api.github.com/users/SinaHonari/orgs","repos_url":"https://api.github.com/users/SinaHonari/repos","events_url":"https://api.github.com/users/SinaHonari/events{/privacy}","received_events_url":"https://api.github.com/users/SinaHonari/received_events","type":"User","site_admin":false},"repo":{"id":9309289,"name":"Theano","full_name":"SinaHonari/Theano","owner":{"login":"SinaHonari","id":3536552,"avatar_url":"https://avatars.githubusercontent.com/u/3536552?v=3","gravatar_id":"","url":"https://api.github.com/users/SinaHonari","html_url":"https://github.com/SinaHonari","followers_url":"https://api.github.com/users/SinaHonari/followers","following_url":"https://api.github.com/users/SinaHonari/following{/other_user}","gists_url":"https://api.github.com/users/SinaHonari/gists{/gist_id}","starred_url":"https://api.github.com/users/SinaHonari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SinaHonari/subscriptions","organizations_url":"https://api.github.com/users/SinaHonari/orgs","repos_url":"https://api.github.com/users/SinaHonari/repos","events_url":"https://api.github.com/users/SinaHonari/events{/privacy}","received_events_url":"https://api.github.com/users/SinaHonari/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SinaHonari/Theano","description":"Optimizing GPU-meta-programming code generating array oriented optimizing math compiler in Python","fork":true,"url":"https://api.github.com/repos/SinaHonari/Theano","forks_url":"https://api.github.com/repos/SinaHonari/Theano/forks","keys_url":"https://api.github.com/repos/SinaHonari/Theano/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SinaHonari/Theano/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SinaHonari/Theano/teams","hooks_url":"https://api.github.com/repos/SinaHonari/Theano/hooks","issue_events_url":"https://api.github.com/repos/SinaHonari/Theano/issues/events{/number}","events_url":"https://api.github.com/repos/SinaHonari/Theano/events","assignees_url":"https://api.github.com/repos/SinaHonari/Theano/assignees{/user}","branches_url":"https://api.github.com/repos/SinaHonari/Theano/branches{/branch}","tags_url":"https://api.github.com/repos/SinaHonari/Theano/tags","blobs_url":"https://api.github.com/repos/SinaHonari/Theano/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SinaHonari/Theano/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SinaHonari/Theano/git/refs{/sha}","trees_url":"https://api.github.com/repos/SinaHonari/Theano/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SinaHonari/Theano/statuses/{sha}","languages_url":"https://api.github.com/repos/SinaHonari/Theano/languages","stargazers_url":"https://api.github.com/repos/SinaHonari/Theano/stargazers","contributors_url":"https://api.github.com/repos/SinaHonari/Theano/contributors","subscribers_url":"https://api.github.com/repos/SinaHonari/Theano/subscribers","subscription_url":"https://api.github.com/repos/SinaHonari/Theano/subscription","commits_url":"https://api.github.com/repos/SinaHonari/Theano/commits{/sha}","git_commits_url":"https://api.github.com/repos/SinaHonari/Theano/git/commits{/sha}","comments_url":"https://api.github.com/repos/SinaHonari/Theano/comments{/number}","issue_comment_url":"https://api.github.com/repos/SinaHonari/Theano/issues/comments{/number}","contents_url":"https://api.github.com/repos/SinaHonari/Theano/contents/{+path}","compare_url":"https://api.github.com/repos/SinaHonari/Theano/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SinaHonari/Theano/merges","archive_url":"https://api.github.com/repos/SinaHonari/Theano/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SinaHonari/Theano/downloads","issues_url":"https://api.github.com/repos/SinaHonari/Theano/issues{/number}","pulls_url":"https://api.github.com/repos/SinaHonari/Theano/pulls{/number}","milestones_url":"https://api.github.com/repos/SinaHonari/Theano/milestones{/number}","notifications_url":"https://api.github.com/repos/SinaHonari/Theano/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SinaHonari/Theano/labels{/name}","releases_url":"https://api.github.com/repos/SinaHonari/Theano/releases{/id}","created_at":"2013-04-08T23:46:57Z","updated_at":"2013-04-18T01:28:29Z","pushed_at":"2015-04-21T19:32:54Z","git_url":"git://github.com/SinaHonari/Theano.git","ssh_url":"git@github.com:SinaHonari/Theano.git","clone_url":"https://github.com/SinaHonari/Theano.git","svn_url":"https://github.com/SinaHonari/Theano","homepage":"http://www.deeplearning.net/software/theano","size":29694,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"Theano:master","ref":"master","sha":"c85378178eb8e26da5bb5480e626c00c1dca0090","user":{"login":"Theano","id":970517,"avatar_url":"https://avatars.githubusercontent.com/u/970517?v=3","gravatar_id":"","url":"https://api.github.com/users/Theano","html_url":"https://github.com/Theano","followers_url":"https://api.github.com/users/Theano/followers","following_url":"https://api.github.com/users/Theano/following{/other_user}","gists_url":"https://api.github.com/users/Theano/gists{/gist_id}","starred_url":"https://api.github.com/users/Theano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Theano/subscriptions","organizations_url":"https://api.github.com/users/Theano/orgs","repos_url":"https://api.github.com/users/Theano/repos","events_url":"https://api.github.com/users/Theano/events{/privacy}","received_events_url":"https://api.github.com/users/Theano/received_events","type":"Organization","site_admin":false},"repo":{"id":2183193,"name":"Theano","full_name":"Theano/Theano","owner":{"login":"Theano","id":970517,"avatar_url":"https://avatars.githubusercontent.com/u/970517?v=3","gravatar_id":"","url":"https://api.github.com/users/Theano","html_url":"https://github.com/Theano","followers_url":"https://api.github.com/users/Theano/followers","following_url":"https://api.github.com/users/Theano/following{/other_user}","gists_url":"https://api.github.com/users/Theano/gists{/gist_id}","starred_url":"https://api.github.com/users/Theano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Theano/subscriptions","organizations_url":"https://api.github.com/users/Theano/orgs","repos_url":"https://api.github.com/users/Theano/repos","events_url":"https://api.github.com/users/Theano/events{/privacy}","received_events_url":"https://api.github.com/users/Theano/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Theano/Theano","description":"Theano is a Python library that allows you to define, optimize, and evaluate mathematical expressions involving multi-dimensional arrays efficiently. It can use GPUs and perform efficient symbolic differentiation.","fork":false,"url":"https://api.github.com/repos/Theano/Theano","forks_url":"https://api.github.com/repos/Theano/Theano/forks","keys_url":"https://api.github.com/repos/Theano/Theano/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Theano/Theano/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Theano/Theano/teams","hooks_url":"https://api.github.com/repos/Theano/Theano/hooks","issue_events_url":"https://api.github.com/repos/Theano/Theano/issues/events{/number}","events_url":"https://api.github.com/repos/Theano/Theano/events","assignees_url":"https://api.github.com/repos/Theano/Theano/assignees{/user}","branches_url":"https://api.github.com/repos/Theano/Theano/branches{/branch}","tags_url":"https://api.github.com/repos/Theano/Theano/tags","blobs_url":"https://api.github.com/repos/Theano/Theano/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Theano/Theano/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Theano/Theano/git/refs{/sha}","trees_url":"https://api.github.com/repos/Theano/Theano/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Theano/Theano/statuses/{sha}","languages_url":"https://api.github.com/repos/Theano/Theano/languages","stargazers_url":"https://api.github.com/repos/Theano/Theano/stargazers","contributors_url":"https://api.github.com/repos/Theano/Theano/contributors","subscribers_url":"https://api.github.com/repos/Theano/Theano/subscribers","subscription_url":"https://api.github.com/repos/Theano/Theano/subscription","commits_url":"https://api.github.com/repos/Theano/Theano/commits{/sha}","git_commits_url":"https://api.github.com/repos/Theano/Theano/git/commits{/sha}","comments_url":"https://api.github.com/repos/Theano/Theano/comments{/number}","issue_comment_url":"https://api.github.com/repos/Theano/Theano/issues/comments{/number}","contents_url":"https://api.github.com/repos/Theano/Theano/contents/{+path}","compare_url":"https://api.github.com/repos/Theano/Theano/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Theano/Theano/merges","archive_url":"https://api.github.com/repos/Theano/Theano/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Theano/Theano/downloads","issues_url":"https://api.github.com/repos/Theano/Theano/issues{/number}","pulls_url":"https://api.github.com/repos/Theano/Theano/pulls{/number}","milestones_url":"https://api.github.com/repos/Theano/Theano/milestones{/number}","notifications_url":"https://api.github.com/repos/Theano/Theano/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Theano/Theano/labels{/name}","releases_url":"https://api.github.com/repos/Theano/Theano/releases{/id}","created_at":"2011-08-10T03:48:06Z","updated_at":"2015-04-22T15:41:09Z","pushed_at":"2015-04-22T17:04:00Z","git_url":"git://github.com/Theano/Theano.git","ssh_url":"git@github.com:Theano/Theano.git","clone_url":"https://github.com/Theano/Theano.git","svn_url":"https://github.com/Theano/Theano","homepage":"http://www.deeplearning.net/software/theano","size":46433,"stargazers_count":1396,"watchers_count":1396,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":515,"mirror_url":null,"open_issues_count":359,"forks":515,"open_issues":359,"watchers":1396,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Theano/Theano/pulls/2805"},"html":{"href":"https://github.com/Theano/Theano/pull/2805"},"issue":{"href":"https://api.github.com/repos/Theano/Theano/issues/2805"},"comments":{"href":"https://api.github.com/repos/Theano/Theano/issues/2805/comments"},"review_comments":{"href":"https://api.github.com/repos/Theano/Theano/pulls/2805/comments"},"review_comment":{"href":"https://api.github.com/repos/Theano/Theano/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Theano/Theano/pulls/2805/commits"},"statuses":{"href":"https://api.github.com/repos/Theano/Theano/statuses/540f02410f71886a5418c1900f5bb4e93f3aacf3"}}}}