{"action":"created","issue":{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/701","labels_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/701/labels{/name}","comments_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/701/comments","events_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/701/events","html_url":"https://github.com/pyinstaller/pyinstaller/issues/701","id":46176925,"number":701,"title":"Kivy is not packaged with all data","user":{"login":"pyinstaller-tickets-migration","id":5377465,"avatar_url":"https://avatars.githubusercontent.com/u/5377465?v=3","gravatar_id":"","url":"https://api.github.com/users/pyinstaller-tickets-migration","html_url":"https://github.com/pyinstaller-tickets-migration","followers_url":"https://api.github.com/users/pyinstaller-tickets-migration/followers","following_url":"https://api.github.com/users/pyinstaller-tickets-migration/following{/other_user}","gists_url":"https://api.github.com/users/pyinstaller-tickets-migration/gists{/gist_id}","starred_url":"https://api.github.com/users/pyinstaller-tickets-migration/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyinstaller-tickets-migration/subscriptions","organizations_url":"https://api.github.com/users/pyinstaller-tickets-migration/orgs","repos_url":"https://api.github.com/users/pyinstaller-tickets-migration/repos","events_url":"https://api.github.com/users/pyinstaller-tickets-migration/events{/privacy}","received_events_url":"https://api.github.com/users/pyinstaller-tickets-migration/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/labels/@low","name":"@low","color":"f7c6c7"},{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/labels/develop","name":"develop","color":"ededed"},{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/labels/support","name":"support","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"matysek","id":527280,"avatar_url":"https://avatars.githubusercontent.com/u/527280?v=3","gravatar_id":"","url":"https://api.github.com/users/matysek","html_url":"https://github.com/matysek","followers_url":"https://api.github.com/users/matysek/followers","following_url":"https://api.github.com/users/matysek/following{/other_user}","gists_url":"https://api.github.com/users/matysek/gists{/gist_id}","starred_url":"https://api.github.com/users/matysek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matysek/subscriptions","organizations_url":"https://api.github.com/users/matysek/orgs","repos_url":"https://api.github.com/users/matysek/repos","events_url":"https://api.github.com/users/matysek/events{/privacy}","received_events_url":"https://api.github.com/users/matysek/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2014-10-18T14:37:15Z","updated_at":"2015-04-24T22:59:50Z","closed_at":null,"body":"**Original date**: 2013/04/10\n**Original reporter**: *mrkafk AND gmail DOT  COOM *\n\n\nI package app with following cmd:\n\n\n```\npython pyinstaller.py --hidden-import=win32api --hidden-import=kivy C:\\soft\\pyinstaller-pyinstaller-6195cc3\\teecons\\teecons.spec   \n```\n \nThis results in exception:\n\n```\n\nC:\\soft\\pyinstaller-pyinstaller-6195cc3\\teecons2\\dist\\teecons>teecons.exe\n[INFO              ] Kivy v1.6.0\n[INFO              ] [Logger      ] Record log in C:\\Users\\ADMIN\\.kivy\\logs\\kivy_13-04-09_12.txt\n[INFO              ] [Factory     ] 137 symbols loaded\n[DEBUG             ] [Cache       ] register <kv.lang> with limit=None, timeout=Nones\n Traceback (most recent call last):\n   File \"<string>\", line 5, in <module>\n   File \"C:\\soft\\pyinstaller-pyinstaller-6195cc3\\PyInstaller\\loader\\pyi_importers.py\", line 270, in load_module\n     exec(bytecode, module.__dict__)\n   File \"C:\\soft\\pyinstaller-pyinstaller-6195cc3\\teecons\\build\\teecons\\teecons\\out00-PYZ.pyz\\kivy.app\", line 219, in <module>\n   File \"C:\\soft\\pyinstaller-pyinstaller-6195cc3\\PyInstaller\\loader\\pyi_importers.py\", line 270, in load_module\n     exec(bytecode, module.__dict__)\n   File \"C:\\soft\\pyinstaller-pyinstaller-6195cc3\\teecons\\build\\teecons\\teecons\\out00-PYZ.pyz\\kivy.lang\", line 1427, in <module>\n   File \"C:\\soft\\pyinstaller-pyinstaller-6195cc3\\teecons\\build\\teecons\\teecons\\out00-PYZ.pyz\\kivy.lang\", line 1140, in load_file\n IOError: [Errno 2] No such file or directory: 'C:\\\\soft\\\\PYINST~1\\\\teecons2\\\\dist\\\\teecons\\\\kivy\\\\data\\\\style.kv'\n```\n\n\nManual copying of \"kivy\" subdir from C:\\Python27\\Lib\\site-packages\\kivy to \"dist\" subdir fixes the problem, but I wonder if helper for dealing with module peculiarities like this are available?\n\npyinstaller version: https://github.com/pyinstaller/pyinstaller/zipball/develop\n\nos: win 7 x64\npython: 2.7 x64\n"},"comment":{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/comments/96090709","html_url":"https://github.com/pyinstaller/pyinstaller/issues/701#issuecomment-96090709","issue_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/701","id":96090709,"user":{"login":"rawluk","id":12105220,"avatar_url":"https://avatars.githubusercontent.com/u/12105220?v=3","gravatar_id":"","url":"https://api.github.com/users/rawluk","html_url":"https://github.com/rawluk","followers_url":"https://api.github.com/users/rawluk/followers","following_url":"https://api.github.com/users/rawluk/following{/other_user}","gists_url":"https://api.github.com/users/rawluk/gists{/gist_id}","starred_url":"https://api.github.com/users/rawluk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rawluk/subscriptions","organizations_url":"https://api.github.com/users/rawluk/orgs","repos_url":"https://api.github.com/users/rawluk/repos","events_url":"https://api.github.com/users/rawluk/events{/privacy}","received_events_url":"https://api.github.com/users/rawluk/received_events","type":"User","site_admin":false},"created_at":"2015-04-24T22:59:49Z","updated_at":"2015-04-24T22:59:49Z","body":"If the Kivy packaging instructions (http://kivy.org/docs/guide/packaging-windows.html) are followed correctly (including custom editing the pyinstaller spec file) this issue is worked around. However, another issue will be encountered that will need to be worked around: https://github.com/kivy/kivy/issues/3272\r\n\r\nIt's not clear to me if following the kivy packaging instructions is seen as a workaround to this issue or confirmation that this is a kivy issue and not a pyinstaller issue. Regardless, I hope this helps save other people some time."}}