{"action":"created","issue":{"url":"https://api.github.com/repos/opencog/atomspace/issues/161","labels_url":"https://api.github.com/repos/opencog/atomspace/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/opencog/atomspace/issues/161/comments","events_url":"https://api.github.com/repos/opencog/atomspace/issues/161/events","html_url":"https://github.com/opencog/atomspace/pull/161","id":96530709,"number":161,"title":"Pattern Matcher: exact matching evaluatable in non-logical/non-evaluatable/non-executable","user":{"login":"williampma","id":7298267,"avatar_url":"https://avatars.githubusercontent.com/u/7298267?v=3","gravatar_id":"","url":"https://api.github.com/users/williampma","html_url":"https://github.com/williampma","followers_url":"https://api.github.com/users/williampma/followers","following_url":"https://api.github.com/users/williampma/following{/other_user}","gists_url":"https://api.github.com/users/williampma/gists{/gist_id}","starred_url":"https://api.github.com/users/williampma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/williampma/subscriptions","organizations_url":"https://api.github.com/users/williampma/orgs","repos_url":"https://api.github.com/users/williampma/repos","events_url":"https://api.github.com/users/williampma/events{/privacy}","received_events_url":"https://api.github.com/users/williampma/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-22T10:27:13Z","updated_at":"2015-07-23T06:53:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/opencog/atomspace/pulls/161","html_url":"https://github.com/opencog/atomspace/pull/161","diff_url":"https://github.com/opencog/atomspace/pull/161.diff","patch_url":"https://github.com/opencog/atomspace/pull/161.patch"},"body":"Very preliminary, just pushing it out here to be reviewed and see if I am missing anything major.  I haven't tested more complicated clauses yet (probably should... maybe tomorrow).\r\n\r\nBasically the code avoid evaluating anything unless at the clause level.\r\n\r\nOnly this test fail:\r\n```\r\n      Start 76: CythonBindlink\r\n76/78 Test #76: CythonBindlink ...................***Exception: Other  0.29 sec\r\n```\r\nwhich is because \r\n```\r\nterminate called after throwing an instance of 'opencog::RuntimeException'\r\n  what():  Trying to re-initialize python interpreter with different\r\nAtomSpace ptr! Current ptr=0x161ab40 New ptr=0x7fffdf707a30\r\n (/home/william/atomspace/opencog/cython/PythonEval.cc:427)\r\nAborted (core dumped)\r\n```\r\nApparently the python interpreter does not allow executing python code in a new temporary atomspace? (and the PM do this extensively with `_temp_aspace`)"},"comment":{"url":"https://api.github.com/repos/opencog/atomspace/issues/comments/123998517","html_url":"https://github.com/opencog/atomspace/pull/161#issuecomment-123998517","issue_url":"https://api.github.com/repos/opencog/atomspace/issues/161","id":123998517,"user":{"login":"jswiergo","id":2552224,"avatar_url":"https://avatars.githubusercontent.com/u/2552224?v=3","gravatar_id":"","url":"https://api.github.com/users/jswiergo","html_url":"https://github.com/jswiergo","followers_url":"https://api.github.com/users/jswiergo/followers","following_url":"https://api.github.com/users/jswiergo/following{/other_user}","gists_url":"https://api.github.com/users/jswiergo/gists{/gist_id}","starred_url":"https://api.github.com/users/jswiergo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jswiergo/subscriptions","organizations_url":"https://api.github.com/users/jswiergo/orgs","repos_url":"https://api.github.com/users/jswiergo/repos","events_url":"https://api.github.com/users/jswiergo/events{/privacy}","received_events_url":"https://api.github.com/users/jswiergo/received_events","type":"User","site_admin":false},"created_at":"2015-07-23T06:53:39Z","updated_at":"2015-07-23T06:53:39Z","body":"I think the message about python interpreter is misleading and it is result of earlier thrown exception not a cause. I've not dig deep but probably it fails on satisfaction_link and this may be the case you are missing. I would check at least all use cases from API here:\r\nhttps://github.com/opencog/atomspace/blob/master/opencog/query/BindLinkAPI.h"}}