{"action":"opened","issue":{"url":"https://api.github.com/repos/tonymorris/foscam-filename/issues/1","labels_url":"https://api.github.com/repos/tonymorris/foscam-filename/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/tonymorris/foscam-filename/issues/1/comments","events_url":"https://api.github.com/repos/tonymorris/foscam-filename/issues/1/events","html_url":"https://github.com/tonymorris/foscam-filename/issues/1","id":117621299,"number":1,"title":"foscam-filename-0.0.1 fails its test suite","user":{"login":"peti","id":28323,"avatar_url":"https://avatars.githubusercontent.com/u/28323?v=3","gravatar_id":"","url":"https://api.github.com/users/peti","html_url":"https://github.com/peti","followers_url":"https://api.github.com/users/peti/followers","following_url":"https://api.github.com/users/peti/following{/other_user}","gists_url":"https://api.github.com/users/peti/gists{/gist_id}","starred_url":"https://api.github.com/users/peti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peti/subscriptions","organizations_url":"https://api.github.com/users/peti/orgs","repos_url":"https://api.github.com/users/peti/repos","events_url":"https://api.github.com/users/peti/events{/privacy}","received_events_url":"https://api.github.com/users/peti/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-18T16:14:00Z","updated_at":"2015-11-18T16:14:00Z","closed_at":null,"body":"Citing from http://hydra.cryp.to/build/1376514/log/raw:\r\n\r\n~~~~\r\nRunning 1 test suites...\r\nTest suite doctests: RUNNING...\r\nTesting src/Data/Foscam/File.hs\r\n### Failure in src/Data/Foscam/File/Filename.hs:83: expression `parse Filename \"test\" \"00626E44C831(house)_1_20150209134121_2629.jpg\"'\r\nexpected: Right (Filename (DeviceId (DeviceIdCharacter '0') (DeviceIdCharacter '0') (DeviceIdCharacter '6') (DeviceIdCharacter '2') (DeviceIdCharacter '6') (DeviceIdCharacter 'E') (DeviceIdCharacter '4') (DeviceIdCharacter '4') (DeviceIdCharacter 'C') (DeviceIdCharacter '8') (DeviceIdCharacter '3') (DeviceIdCharacter '1')) (Alias (AliasCharacter 'h') [AliasCharacter 'o',AliasCharacter 'u',AliasCharacter 's',AliasCharacter 'e']) 1 (Date 2 0 1 5 0 2 0 9) (Time 1 3 4 1 2 1) (ImageId 2 [6,2,9]))\r\n but got: \r\n          <interactive>:32:7:\r\n              Couldn't match type ‘DeviceId\r\n                                   -> Alias -> Digit -> Date -> Time -> ImageId -> Filename’\r\n                             with ‘ParsecT\r\n                                     [ghc-prim-0.4.0.0:GHC.Types.Char]\r\n                                     ()\r\n                                     Data.Functor.Identity.Identity\r\n                                     a’\r\n              Expected type: Parsec [ghc-prim-0.4.0.0:GHC.Types.Char] () a\r\n                Actual type: DeviceId\r\n                             -> Alias -> Digit -> Date -> Time -> ImageId -> Filename\r\n              Relevant bindings include\r\n                it :: Data.Either.Either ParseError a (bound at <interactive>:32:1)\r\n              Probable cause: ‘Filename’ is applied to too few arguments\r\n              In the first argument of ‘parse’, namely ‘Filename’\r\n              In the expression:\r\n                parse\r\n                  Filename \"test\" \"00626E44C831(house)_1_20150209134121_2629.jpg\"\r\nExamples: 50  Tried: 43  Errors: 0  Failures: 1\r\nTest suite doctests: FAIL\r\n~~~~"}}