{"action":"opened","issue":{"url":"https://api.github.com/repos/Psyop/Cryptomatte/issues/4","repository_url":"https://api.github.com/repos/Psyop/Cryptomatte","labels_url":"https://api.github.com/repos/Psyop/Cryptomatte/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Psyop/Cryptomatte/issues/4/comments","events_url":"https://api.github.com/repos/Psyop/Cryptomatte/issues/4/events","html_url":"https://github.com/Psyop/Cryptomatte/issues/4","id":165489156,"number":4,"title":"Nuke: `mmh3` hashing mismatches with `pymmh3`","user":{"login":"nrusch","id":730555,"avatar_url":"https://avatars.githubusercontent.com/u/730555?v=3","gravatar_id":"","url":"https://api.github.com/users/nrusch","html_url":"https://github.com/nrusch","followers_url":"https://api.github.com/users/nrusch/followers","following_url":"https://api.github.com/users/nrusch/following{/other_user}","gists_url":"https://api.github.com/users/nrusch/gists{/gist_id}","starred_url":"https://api.github.com/users/nrusch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nrusch/subscriptions","organizations_url":"https://api.github.com/users/nrusch/orgs","repos_url":"https://api.github.com/users/nrusch/repos","events_url":"https://api.github.com/users/nrusch/events{/privacy}","received_events_url":"https://api.github.com/users/nrusch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-14T06:50:31Z","updated_at":"2016-07-14T06:50:31Z","closed_at":null,"body":"Nuke 9.0v7 on Fedora 19.\r\n\r\nThe hash function from the compiled `mmh3` module frequently produces completely different results than the distributed `pymmh3` module, which causes the `cryptomatte_utilities` module to generate bad expressions with a literal \"None\" in them when certain objects, materials, etc. are picked.\r\n\r\n```python\r\n>>> pymmh3.hash('Buddha11|BuddhaShape')\r\n# Result: 3604411835\r\n>>> mmh3.hash('Buddha11|BuddhaShape')\r\n# Result: -690555461\r\n```\r\n\r\nI have tested mmh3 2.0 and 2.3.1. Using `pymmh3` seems to work consistently."}}
{"actor":{"display_login":"nrusch"}}