{"action":"closed","issue":{"url":"https://api.github.com/repos/hexkyz/hexFW/issues/2","repository_url":"https://api.github.com/repos/hexkyz/hexFW","labels_url":"https://api.github.com/repos/hexkyz/hexFW/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/hexkyz/hexFW/issues/2/comments","events_url":"https://api.github.com/repos/hexkyz/hexFW/issues/2/events","html_url":"https://github.com/hexkyz/hexFW/issues/2","id":190245195,"number":2,"title":"struct.error on ancast.py","user":{"login":"billy-acuna","id":16997214,"avatar_url":"https://avatars.githubusercontent.com/u/16997214?v=3","gravatar_id":"","url":"https://api.github.com/users/billy-acuna","html_url":"https://github.com/billy-acuna","followers_url":"https://api.github.com/users/billy-acuna/followers","following_url":"https://api.github.com/users/billy-acuna/following{/other_user}","gists_url":"https://api.github.com/users/billy-acuna/gists{/gist_id}","starred_url":"https://api.github.com/users/billy-acuna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/billy-acuna/subscriptions","organizations_url":"https://api.github.com/users/billy-acuna/orgs","repos_url":"https://api.github.com/users/billy-acuna/repos","events_url":"https://api.github.com/users/billy-acuna/events{/privacy}","received_events_url":"https://api.github.com/users/billy-acuna/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-18T06:24:15Z","updated_at":"2016-12-06T20:21:54Z","closed_at":"2016-12-06T20:21:54Z","body":"I'm using Python 2.7 + pyCrypto. Currently using a MinGW envoirement.\r\n\r\nC:\\wiiu\\hexFW-master\\firmware>make\r\nTraceback (most recent call last):\r\n  File \"scripts/anpack.py\", line 255, in <module>\r\n    fw = ancast(open(input_fn, \"r+b\"))\r\n  File \"scripts/anpack.py\", line 153, in __init__\r\n    self.elf = elf32(file, len(self.header))\r\n  File \"scripts/anpack.py\", line 98, in __init__\r\n    self.phdrs = [elf32_phdr(file, offset, self.hdr, i) for i in range(self.hdr.\r\ne_phnum)]\r\n  File \"scripts/anpack.py\", line 57, in __init__\r\n    self.p_type = struct.unpack(\">I\", file.read(4))[0]\r\nstruct.error: unpack requires a string argument of length 4\r\nmake: *** [patches/sections/0x08120000.bin] Error 1\r\n\r\nEdid: Nevermind, I was using a bad dump of the fw.img"}}
{"actor":{"display_login":"hexkyz"}}