{"action":"created","issue":{"url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/1375","labels_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/1375/labels{/name}","comments_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/1375/comments","events_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/1375/events","html_url":"https://github.com/Project-OSRM/osrm-backend/pull/1375","id":56576563,"number":1375,"title":"added lua binding for osmium::Way::id()","user":{"login":"bjtaylor1","id":4470107,"avatar_url":"https://avatars.githubusercontent.com/u/4470107?v=3","gravatar_id":"","url":"https://api.github.com/users/bjtaylor1","html_url":"https://github.com/bjtaylor1","followers_url":"https://api.github.com/users/bjtaylor1/followers","following_url":"https://api.github.com/users/bjtaylor1/following{/other_user}","gists_url":"https://api.github.com/users/bjtaylor1/gists{/gist_id}","starred_url":"https://api.github.com/users/bjtaylor1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjtaylor1/subscriptions","organizations_url":"https://api.github.com/users/bjtaylor1/orgs","repos_url":"https://api.github.com/users/bjtaylor1/repos","events_url":"https://api.github.com/users/bjtaylor1/events{/privacy}","received_events_url":"https://api.github.com/users/bjtaylor1/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-02-04T19:40:03Z","updated_at":"2015-07-03T15:36:48Z","closed_at":"2015-04-13T07:52:56Z","pull_request":{"url":"https://api.github.com/repos/Project-OSRM/osrm-backend/pulls/1375","html_url":"https://github.com/Project-OSRM/osrm-backend/pull/1375","diff_url":"https://github.com/Project-OSRM/osrm-backend/pull/1375.diff","patch_url":"https://github.com/Project-OSRM/osrm-backend/pull/1375.patch"},"body":"as discussed here: https://github.com/Project-OSRM/osrm-backend/issues/1369"},"comment":{"url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/comments/118376510","html_url":"https://github.com/Project-OSRM/osrm-backend/pull/1375#issuecomment-118376510","issue_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/1375","id":118376510,"user":{"login":"kemets","id":8385129,"avatar_url":"https://avatars.githubusercontent.com/u/8385129?v=3","gravatar_id":"","url":"https://api.github.com/users/kemets","html_url":"https://github.com/kemets","followers_url":"https://api.github.com/users/kemets/followers","following_url":"https://api.github.com/users/kemets/following{/other_user}","gists_url":"https://api.github.com/users/kemets/gists{/gist_id}","starred_url":"https://api.github.com/users/kemets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kemets/subscriptions","organizations_url":"https://api.github.com/users/kemets/orgs","repos_url":"https://api.github.com/users/kemets/repos","events_url":"https://api.github.com/users/kemets/events{/privacy}","received_events_url":"https://api.github.com/users/kemets/received_events","type":"User","site_admin":false},"created_at":"2015-07-03T15:36:48Z","updated_at":"2015-07-03T15:36:48Z","body":"Is it possible that this is no longer working? Using `way:id()` I get a `std::runtime_error: 'Trying to use unregistered class'` . The following minimal `profile.lua` demonstrates the problem:\r\n\r\n    function node_function(node)\r\n      return 1\r\n    end\r\n\r\n    function way_function (way)\r\n      local id_test = way:id() + 1\r\n      io.write(\"id: \", id_test, \"\\n\")\r\n      return 1\r\n    end\r\n\r\nI am using OSRM on Mac OS X with the dependencies installed using homebrew."}}