{"action":"created","issue":{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1935","repository_url":"https://api.github.com/repos/pyinstaller/pyinstaller","labels_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1935/labels{/name}","comments_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1935/comments","events_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1935/events","html_url":"https://github.com/pyinstaller/pyinstaller/issues/1935","id":147280922,"number":1935,"title":"Needed modules are not collected on windows becasue of names with different case are treated the same","user":{"login":"concussiongfx","id":16595730,"avatar_url":"https://avatars.githubusercontent.com/u/16595730?v=3","gravatar_id":"","url":"https://api.github.com/users/concussiongfx","html_url":"https://github.com/concussiongfx","followers_url":"https://api.github.com/users/concussiongfx/followers","following_url":"https://api.github.com/users/concussiongfx/following{/other_user}","gists_url":"https://api.github.com/users/concussiongfx/gists{/gist_id}","starred_url":"https://api.github.com/users/concussiongfx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/concussiongfx/subscriptions","organizations_url":"https://api.github.com/users/concussiongfx/orgs","repos_url":"https://api.github.com/users/concussiongfx/repos","events_url":"https://api.github.com/users/concussiongfx/events{/privacy}","received_events_url":"https://api.github.com/users/concussiongfx/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/labels/Windows","name":"Windows","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"codewarrior0","id":307683,"avatar_url":"https://avatars.githubusercontent.com/u/307683?v=3","gravatar_id":"","url":"https://api.github.com/users/codewarrior0","html_url":"https://github.com/codewarrior0","followers_url":"https://api.github.com/users/codewarrior0/followers","following_url":"https://api.github.com/users/codewarrior0/following{/other_user}","gists_url":"https://api.github.com/users/codewarrior0/gists{/gist_id}","starred_url":"https://api.github.com/users/codewarrior0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codewarrior0/subscriptions","organizations_url":"https://api.github.com/users/codewarrior0/orgs","repos_url":"https://api.github.com/users/codewarrior0/repos","events_url":"https://api.github.com/users/codewarrior0/events{/privacy}","received_events_url":"https://api.github.com/users/codewarrior0/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2016-04-10T23:56:47Z","updated_at":"2016-04-24T10:22:33Z","closed_at":null,"body":"On windows, my executable is failing to load because there is a missing module. The missing module is called \"Logging\" and lives in my source tree. The python \"logging\" has already been collected and causes the append method on the TOC class to fail with:\r\n\r\n`Attempted to add Python module twice with different upper/lowercases:`\r\n\r\nIf the name is matched in FilenameSet, shouldn't there be a second check to see if the module paths are the same?\r\n\r\n```\r\n\"Logging\" - 'C:\\Jenkins\\workspace\\buildstage\\Initial\\Source\\Logging\\__init__.py\r\n\"logging\" - C:\\tools\\python2\\lib\\logging\\__init__.pyc\r\n```\r\n\r\nThis is not failing on OSX or Linux since normcase returns the original path..\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/comments/213926957","html_url":"https://github.com/pyinstaller/pyinstaller/issues/1935#issuecomment-213926957","issue_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1935","id":213926957,"user":{"login":"codewarrior0","id":307683,"avatar_url":"https://avatars.githubusercontent.com/u/307683?v=3","gravatar_id":"","url":"https://api.github.com/users/codewarrior0","html_url":"https://github.com/codewarrior0","followers_url":"https://api.github.com/users/codewarrior0/followers","following_url":"https://api.github.com/users/codewarrior0/following{/other_user}","gists_url":"https://api.github.com/users/codewarrior0/gists{/gist_id}","starred_url":"https://api.github.com/users/codewarrior0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codewarrior0/subscriptions","organizations_url":"https://api.github.com/users/codewarrior0/orgs","repos_url":"https://api.github.com/users/codewarrior0/repos","events_url":"https://api.github.com/users/codewarrior0/events{/privacy}","received_events_url":"https://api.github.com/users/codewarrior0/received_events","type":"User","site_admin":false},"created_at":"2016-04-24T10:22:33Z","updated_at":"2016-04-24T10:22:33Z","body":"This check could probably be skipped altogether for pure-Python modules, since they are stored inside our PYZ archive and not on the filesystem. The reason this check is done is because if, for instance, the `Logging` and `logging` modules are extension modules instead of pure-Python modules (or if they are any other kind of data file), then they will be stored as ordinary files. On Windows, the two files are considered to have the same name, so they can't both be stored."}}