{"action":"created","issue":{"url":"https://api.github.com/repos/wbond/package_control/issues/855","labels_url":"https://api.github.com/repos/wbond/package_control/issues/855/labels{/name}","comments_url":"https://api.github.com/repos/wbond/package_control/issues/855/comments","events_url":"https://api.github.com/repos/wbond/package_control/issues/855/events","html_url":"https://github.com/wbond/package_control/issues/855","id":55784598,"number":855,"title":"Packages are loading too quickly when installed as previously missing","user":{"login":"FichteFoll","id":931051,"avatar_url":"https://avatars.githubusercontent.com/u/931051?v=3","gravatar_id":"","url":"https://api.github.com/users/FichteFoll","html_url":"https://github.com/FichteFoll","followers_url":"https://api.github.com/users/FichteFoll/followers","following_url":"https://api.github.com/users/FichteFoll/following{/other_user}","gists_url":"https://api.github.com/users/FichteFoll/gists{/gist_id}","starred_url":"https://api.github.com/users/FichteFoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FichteFoll/subscriptions","organizations_url":"https://api.github.com/users/FichteFoll/orgs","repos_url":"https://api.github.com/users/FichteFoll/repos","events_url":"https://api.github.com/users/FichteFoll/events{/privacy}","received_events_url":"https://api.github.com/users/FichteFoll/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wbond/package_control/labels/bug","name":"bug","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-28T17:06:14Z","updated_at":"2015-03-13T15:44:46Z","closed_at":"2015-03-13T15:44:46Z","body":"Because packages are not disabled during installation when they were missing before, they are loaded before their dependencies have been installed/loaded.\r\n\r\nThis is probably an ST2-only issue since ST needs some time to detect file changes to the loader package and for some reason seems to always load the package file earlier (in ST3 the loader code is run synchronously).\r\n\r\nSimilar issue to https://github.com/wbond/package_control/pull/845#issuecomment-70235019.\r\n\r\n```\r\nPackage Control: Installing 1 missing package\r\nPackage Control: The dependency requests is not currently installed; installing\r\nPackage Control: The dependency requests has successfully been installed or updated\r\nReloading plugin C:\\tools\\Sublime Text 2\\Data\\Packages\\RequestsTest\\just_a_test.py\r\nTraceback (most recent call last):\r\n  File \".\\sublime_plugin.py\", line 62, in reload_plugin\r\n    m = imp.load_module(modulename, *m_info)\r\n  File \".\\just_a_test.py\", line 1, in <module>\r\n    import requests\r\nImportError: No module named requests\r\nReloading plugin C:\\tools\\Sublime Text 2\\Data\\Packages\\0_package_control_loader\\50-requests.py\r\nPackage Control: Installed missing package RequestsTest\r\n```\r\n\r\nNote that it works when installing normally. Console log for that:\r\n```\r\nignored packages updated to: [SublimeOnSaveBuild, Vintage, Markdown, WakaTime, RequestsTest]\r\n[...]\r\nPackage Control: The dependency requests is not currently installed; installing\r\nPackage Control: The dependency requests has successfully been installed or updated\r\nReloading plugin C:\\tools\\Sublime Text 2\\Data\\Packages\\0_package_control_loader\\50-requests.py\r\nreloading /C/tools/Sublime Text 2/Data/Packages/User/Package Control.sublime-settings\r\nignored packages updated to: [Vintage, SublimeOnSaveBuild, Markdown, WakaTime]\r\n[...]\r\nReloading plugin C:\\tools\\Sublime Text 2\\Data\\Packages\\RequestsTest\\just_a_test.py\r\n```"},"comment":{"url":"https://api.github.com/repos/wbond/package_control/issues/comments/79061100","html_url":"https://github.com/wbond/package_control/issues/855#issuecomment-79061100","issue_url":"https://api.github.com/repos/wbond/package_control/issues/855","id":79061100,"user":{"login":"wbond","id":41734,"avatar_url":"https://avatars.githubusercontent.com/u/41734?v=3","gravatar_id":"","url":"https://api.github.com/users/wbond","html_url":"https://github.com/wbond","followers_url":"https://api.github.com/users/wbond/followers","following_url":"https://api.github.com/users/wbond/following{/other_user}","gists_url":"https://api.github.com/users/wbond/gists{/gist_id}","starred_url":"https://api.github.com/users/wbond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wbond/subscriptions","organizations_url":"https://api.github.com/users/wbond/orgs","repos_url":"https://api.github.com/users/wbond/repos","events_url":"https://api.github.com/users/wbond/events{/privacy}","received_events_url":"https://api.github.com/users/wbond/received_events","type":"User","site_admin":false},"created_at":"2015-03-13T15:44:46Z","updated_at":"2015-03-13T15:44:46Z","body":"Should be fixed by 1380e014d542e98cebefc0a2818cef1d260d2e8e"}}