{"action":"created","issue":{"url":"https://api.github.com/repos/fancycode/pylzma/issues/27","labels_url":"https://api.github.com/repos/fancycode/pylzma/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/fancycode/pylzma/issues/27/comments","events_url":"https://api.github.com/repos/fancycode/pylzma/issues/27/events","html_url":"https://github.com/fancycode/pylzma/issues/27","id":71060065,"number":27,"title":"Most recent commit fails unittest on Windows","user":{"login":"KenV99","id":6413818,"avatar_url":"https://avatars.githubusercontent.com/u/6413818?v=3","gravatar_id":"","url":"https://api.github.com/users/KenV99","html_url":"https://github.com/KenV99","followers_url":"https://api.github.com/users/KenV99/followers","following_url":"https://api.github.com/users/KenV99/following{/other_user}","gists_url":"https://api.github.com/users/KenV99/gists{/gist_id}","starred_url":"https://api.github.com/users/KenV99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KenV99/subscriptions","organizations_url":"https://api.github.com/users/KenV99/orgs","repos_url":"https://api.github.com/users/KenV99/repos","events_url":"https://api.github.com/users/KenV99/events{/privacy}","received_events_url":"https://api.github.com/users/KenV99/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-04-26T12:25:25Z","updated_at":"2015-04-29T17:36:12Z","closed_at":null,"body":"Using windows 7 x64 and Python 32bit 2.7:\r\n and commit: cc2bfafb977e21d45a46e012105c1b5fb2576684\r\n\r\nDuring unittest test_7zfiles.py.Test7ipFiles.test_encrypted_names_password\r\nline 164 \"archive = Archive7z(fp, password='secret')\" fails without raising an exception in:\r\npy7zlib.ArchiveFile._read_7z_aes256_sha256\r\nat line 698 \"result = cipher.decrypt(input)\"\r\n\r\nUsing debugger this line fails without raising an exception and execution halts.\r\n"},"comment":{"url":"https://api.github.com/repos/fancycode/pylzma/issues/comments/97513984","html_url":"https://github.com/fancycode/pylzma/issues/27#issuecomment-97513984","issue_url":"https://api.github.com/repos/fancycode/pylzma/issues/27","id":97513984,"user":{"login":"KenV99","id":6413818,"avatar_url":"https://avatars.githubusercontent.com/u/6413818?v=3","gravatar_id":"","url":"https://api.github.com/users/KenV99","html_url":"https://github.com/KenV99","followers_url":"https://api.github.com/users/KenV99/followers","following_url":"https://api.github.com/users/KenV99/following{/other_user}","gists_url":"https://api.github.com/users/KenV99/gists{/gist_id}","starred_url":"https://api.github.com/users/KenV99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KenV99/subscriptions","organizations_url":"https://api.github.com/users/KenV99/orgs","repos_url":"https://api.github.com/users/KenV99/repos","events_url":"https://api.github.com/users/KenV99/events{/privacy}","received_events_url":"https://api.github.com/users/KenV99/received_events","type":"User","site_admin":false},"created_at":"2015-04-29T17:36:12Z","updated_at":"2015-04-29T17:36:12Z","body":"I tried and found that the errors that I am experiencing seem to have to do with problems surrounding an EOF error. This could be specific to windows.\r\n\r\nHere is some code that I am using to try to troubleshoot:\r\n\r\nhttp://pastebin.com/sHg3UaRr\r\n\r\nThis code demonstrates that the file contents that py7zlib reads in is not the same as what was written to the 7z file. When I run it at line 90 the string that is read in is not as the same as what was written - it is truncated. Then the pickle fails to load with an EOF error.\r\n\r\nAn example 7z files is here:\r\n\r\nhttps://www.dropbox.com/s/xdhlxfg7g6563p7/info7.7z?dl=0\r\n\r\nThis may seem to be unrelated to my original statements above, but I believe it is the same issue. I just restructured the code so that the error is more obvious."}}