{"action":"opened","issue":{"url":"https://api.github.com/repos/patrikhuber/eos/issues/48","repository_url":"https://api.github.com/repos/patrikhuber/eos","labels_url":"https://api.github.com/repos/patrikhuber/eos/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/patrikhuber/eos/issues/48/comments","events_url":"https://api.github.com/repos/patrikhuber/eos/issues/48/events","html_url":"https://github.com/patrikhuber/eos/issues/48","id":170573801,"number":48,"title":"json to cereal - error","user":{"login":"samsgates","id":4558944,"avatar_url":"https://avatars.githubusercontent.com/u/4558944?v=3","gravatar_id":"","url":"https://api.github.com/users/samsgates","html_url":"https://github.com/samsgates","followers_url":"https://api.github.com/users/samsgates/followers","following_url":"https://api.github.com/users/samsgates/following{/other_user}","gists_url":"https://api.github.com/users/samsgates/gists{/gist_id}","starred_url":"https://api.github.com/users/samsgates/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samsgates/subscriptions","organizations_url":"https://api.github.com/users/samsgates/orgs","repos_url":"https://api.github.com/users/samsgates/repos","events_url":"https://api.github.com/users/samsgates/events{/privacy}","received_events_url":"https://api.github.com/users/samsgates/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-11T05:37:13Z","updated_at":"2016-08-11T05:37:13Z","closed_at":null,"body":"when i run command the below command, error message triggered like rapidjsonexception:\r\n./json-to-cereal-binary -i /Users/sam/Documents/MATLAB/bfm_small.json -t model -o converted_model.bin\r\n\r\nError : \r\nlibc++abi.dylib: terminating with uncaught exception of type cereal::RapidJSONException: rapidjson internal assertion failure: flags_ & kIntFlag\r\n\r\nDebug Result:\r\nerror message triggered from the below line\r\ninput_archive(morphable_model);\r\n\r\ncode :\r\n\r\nif (file_type == \"model\")\r\n\t{\r\n\t\tmorphablemodel::MorphableModel morphable_model;\r\n\t\tstd::ifstream file(jsonfile.string());\r\n\t\tcereal::JSONInputArchive input_archive(file);\r\n\t\t**input_archive(morphable_model);**\r\n\t\tmorphablemodel::save_model(morphable_model, outputfile.string());\r\n\t}\r\n\r\n\r\n \r\n\r\n"}}
{"actor":{"display_login":"samsgates"}}