{"action":"created","issue":{"url":"https://api.github.com/repos/digidotcom/python-suitcase/issues/45","repository_url":"https://api.github.com/repos/digidotcom/python-suitcase","labels_url":"https://api.github.com/repos/digidotcom/python-suitcase/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/digidotcom/python-suitcase/issues/45/comments","events_url":"https://api.github.com/repos/digidotcom/python-suitcase/issues/45/events","html_url":"https://github.com/digidotcom/python-suitcase/issues/45","id":195770368,"number":45,"title":"Support for floats?","user":{"login":"dlai286","id":17719485,"avatar_url":"https://avatars.githubusercontent.com/u/17719485?v=3","gravatar_id":"","url":"https://api.github.com/users/dlai286","html_url":"https://github.com/dlai286","followers_url":"https://api.github.com/users/dlai286/followers","following_url":"https://api.github.com/users/dlai286/following{/other_user}","gists_url":"https://api.github.com/users/dlai286/gists{/gist_id}","starred_url":"https://api.github.com/users/dlai286/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlai286/subscriptions","organizations_url":"https://api.github.com/users/dlai286/orgs","repos_url":"https://api.github.com/users/dlai286/repos","events_url":"https://api.github.com/users/dlai286/events{/privacy}","received_events_url":"https://api.github.com/users/dlai286/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-15T10:35:03Z","updated_at":"2016-12-22T09:11:13Z","closed_at":null,"body":"I've just come across this library and after checking out the documentation at https://digidotcom.github.io/python-suitcase/latest/api.html I was wondering why there isn't support for floats?"},"comment":{"url":"https://api.github.com/repos/digidotcom/python-suitcase/issues/comments/268753402","html_url":"https://github.com/digidotcom/python-suitcase/issues/45#issuecomment-268753402","issue_url":"https://api.github.com/repos/digidotcom/python-suitcase/issues/45","id":268753402,"user":{"login":"dlai286","id":17719485,"avatar_url":"https://avatars.githubusercontent.com/u/17719485?v=3","gravatar_id":"","url":"https://api.github.com/users/dlai286","html_url":"https://github.com/dlai286","followers_url":"https://api.github.com/users/dlai286/followers","following_url":"https://api.github.com/users/dlai286/following{/other_user}","gists_url":"https://api.github.com/users/dlai286/gists{/gist_id}","starred_url":"https://api.github.com/users/dlai286/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlai286/subscriptions","organizations_url":"https://api.github.com/users/dlai286/orgs","repos_url":"https://api.github.com/users/dlai286/repos","events_url":"https://api.github.com/users/dlai286/events{/privacy}","received_events_url":"https://api.github.com/users/dlai286/received_events","type":"User","site_admin":false},"created_at":"2016-12-22T09:11:13Z","updated_at":"2016-12-22T09:11:13Z","body":"Sorry to reopen this again but @posborne its seems that the way this package unpacks data can't be done for floats. I'm getting the following error:\r\n\r\n```\r\n  File \"/Library/Python/2.7/site-packages/suitcase/fields.py\", line 1005, in unpack\r\n    value |= (byte << (i * 8))\r\nsuitcase.exceptions.SuitcaseParseError: Unexpected exception while unpacking field 'Rotation_X': unsupported operand type(s) for <<: 'float' and 'int'\r\n```\r\nThe unpack definition would require change to allow floats https://github.com/digidotcom/python-suitcase/blob/master/suitcase/fields.py#L998. Any suggestions?"}}
{"actor":{"display_login":"dlai286"}}