{"action":"created","issue":{"url":"https://api.github.com/repos/KSP-CKAN/CKAN/issues/2595","repository_url":"https://api.github.com/repos/KSP-CKAN/CKAN","labels_url":"https://api.github.com/repos/KSP-CKAN/CKAN/issues/2595/labels{/name}","comments_url":"https://api.github.com/repos/KSP-CKAN/CKAN/issues/2595/comments","events_url":"https://api.github.com/repos/KSP-CKAN/CKAN/issues/2595/events","html_url":"https://github.com/KSP-CKAN/CKAN/issues/2595","id":386627855,"node_id":"MDU6SXNzdWUzODY2Mjc4NTU=","number":2595,"title":"CKAN crashing on startup MacOS","user":{"login":"motoboy98","id":45518483,"node_id":"MDQ6VXNlcjQ1NTE4NDgz","avatar_url":"https://avatars1.githubusercontent.com/u/45518483?v=4","gravatar_id":"","url":"https://api.github.com/users/motoboy98","html_url":"https://github.com/motoboy98","followers_url":"https://api.github.com/users/motoboy98/followers","following_url":"https://api.github.com/users/motoboy98/following{/other_user}","gists_url":"https://api.github.com/users/motoboy98/gists{/gist_id}","starred_url":"https://api.github.com/users/motoboy98/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/motoboy98/subscriptions","organizations_url":"https://api.github.com/users/motoboy98/orgs","repos_url":"https://api.github.com/users/motoboy98/repos","events_url":"https://api.github.com/users/motoboy98/events{/privacy}","received_events_url":"https://api.github.com/users/motoboy98/received_events","type":"User","site_admin":false},"labels":[{"id":158827801,"node_id":"MDU6TGFiZWwxNTg4Mjc4MDE=","url":"https://api.github.com/repos/KSP-CKAN/CKAN/labels/OS%20X","name":"OS X","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-12-03T01:40:29Z","updated_at":"2018-12-03T23:38:58Z","closed_at":null,"author_association":"NONE","body":"<!--\r\n\r\nThanks for wanting to bring an issue to our attention!\r\n\r\nBefore you open a ticket, please do a quick search of the existing issues to see if it's already been brought up.\r\n\r\nhttps://github.com/KSP-CKAN/CKAN/issues?q=is%3Aissue\r\n\r\n-->\r\n\r\nBackground\r\n----------\r\n\r\n**CKAN Version:** \r\n1.25.4\r\n\r\n**KSP Version:** \r\n1.5.1\r\n\r\n**Operating System:** \r\nMacOS 10.14.1 Mojave\r\n\r\n**Have you made any manual changes to your GameData folder (i.e., not via CKAN)?** \r\n\r\n\r\nProblem\r\n-------\r\n\r\n**What steps did you take in CKAN?**\r\nOpen it.\r\n\r\n**What did you expect to happen?**\r\nRun as normal.\r\n\r\nIt opened once just fine and I was able to interact with CKAN as usual.\r\n\r\n**What happened instead?**\r\nThe window opened but then the whole program froze. I let it sit just in case it was refreshing but the program never managed to run properly. I tried deleting the GUIConfig file and that allowed me to open CKAN again. However, this only seems to happen if I select yes to auto-updating the repositories. If I select no to the, the next time I open CKAN, it immediately crashes rather than freezes.\r\n\r\n**Screenshots:**\r\n<!-- You can copy an image of a window in Windows with Alt-PrtScr, then paste it in GitHub with ctrl-V -->\r\n![image](https://user-images.githubusercontent.com/45518483/49348270-7be35200-f672-11e8-9ada-9b3b46d78573.png)\r\n\r\n**CKAN error codes (if applicable):** \r\n\r\n```\r\nSystem.DllNotFoundException: libX11.dylib\r\n  at (wrapper managed-to-native) CKAN.X11.XSetClassHint(intptr,intptr,intptr)\r\n  at CKAN.X11.SetWMClass (System.String name, System.String wmClass, System.IntPtr handle) [0x0004c] in <2c2371fb3f2949b2a6dfae930758e6ee>:0 \r\n  at CKAN.Main.<.ctor>b__37_5 (System.Object sender, System.EventArgs e) [0x00010] in <2c2371fb3f2949b2a6dfae930758e6ee>:0 \r\n  at (wrapper delegate-invoke) <Module>.invoke_void_object_EventArgs(object,System.EventArgs)\r\n  at System.Windows.Forms.Control.OnHandleCreated (System.EventArgs e) [0x00019] in <7cb6368c5ba549ff8a02965fd9de701e>:0 \r\n  at System.Windows.Forms.Form.OnHandleCreated (System.EventArgs e) [0x00016] in <7cb6368c5ba549ff8a02965fd9de701e>:0 \r\n  at System.Windows.Forms.Control.WmCreate (System.Windows.Forms.Message& m) [0x00000] in <7cb6368c5ba549ff8a02965fd9de701e>:0 \r\n  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x0021c] in <7cb6368c5ba549ff8a02965fd9de701e>:0 \r\n  at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <7cb6368c5ba549ff8a02965fd9de701e>:0 \r\n  at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message& m) [0x00029] in <7cb6368c5ba549ff8a02965fd9de701e>:0 \r\n  at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message& m) [0x00166] in <7cb6368c5ba549ff8a02965fd9de701e>:0 \r\n  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <7cb6368c5ba549ff8a02965fd9de701e>:0 \r\n  at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x0000b] in <7cb6368c5ba549ff8a02965fd9de701e>:0 \r\n  at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x00085] in <7cb6368c5ba549ff8a02965fd9de701e>:0 \r\n1926 [1] ERROR CKAN.URLHandlers (null) - There was an error while registering the URL handler for ckan:// - Could not find a part of the path \"/Users/teamgros/.local/share/applications/mimeapps.list\".\r\n1936 [1] ERROR CKAN.URLHandlers (null) -   at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x00164] in <14f1e720d53a4a6a8800252bec102319>:0 \r\n  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options, System.String msgPath, System.Boolean bFromProxy, System.Boolean useLongPath, System.Boolean checkHost) [0x00000] in <14f1e720d53a4a6a8800252bec102319>:0 \r\n  at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions,string,bool,bool,bool)\r\n  at System.IO.StreamWriter.CreateFile (System.String path, System.Boolean append, System.Boolean checkHost) [0x0001c] in <14f1e720d53a4a6a8800252bec102319>:0 \r\n  at System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding, System.Int32 bufferSize, System.Boolean checkHost) [0x00055] in <14f1e720d53a4a6a8800252bec102319>:0 \r\n  at System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding, System.Int32 bufferSize) [0x00000] in <14f1e720d53a4a6a8800252bec102319>:0 \r\n  at System.IO.StreamWriter..ctor (System.String path) [0x00008] in <14f1e720d53a4a6a8800252bec102319>:0 \r\n  at (wrapper remoting-invoke-with-check) System.IO.StreamWriter..ctor(string)\r\n  at System.IO.File.WriteAllLines (System.String path, System.String[] contents) [0x00000] in <14f1e720d53a4a6a8800252bec102319>:0 \r\n  at CKAN.URLHandlers.RegisterURLHandler_Linux () [0x00050] in <2c2371fb3f2949b2a6dfae930758e6ee>:0 \r\n  at CKAN.URLHandlers.RegisterURLHandler (CKAN.Configuration config, CKAN.IUser user) [0x00007] in <2c2371fb3f2949b2a6dfae930758e6ee>:0 \r\nTerminated: 15\r\n```"},"comment":{"url":"https://api.github.com/repos/KSP-CKAN/CKAN/issues/comments/443912751","html_url":"https://github.com/KSP-CKAN/CKAN/issues/2595#issuecomment-443912751","issue_url":"https://api.github.com/repos/KSP-CKAN/CKAN/issues/2595","id":443912751,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzkxMjc1MQ==","user":{"login":"HebaruSan","id":1559108,"node_id":"MDQ6VXNlcjE1NTkxMDg=","avatar_url":"https://avatars2.githubusercontent.com/u/1559108?v=4","gravatar_id":"","url":"https://api.github.com/users/HebaruSan","html_url":"https://github.com/HebaruSan","followers_url":"https://api.github.com/users/HebaruSan/followers","following_url":"https://api.github.com/users/HebaruSan/following{/other_user}","gists_url":"https://api.github.com/users/HebaruSan/gists{/gist_id}","starred_url":"https://api.github.com/users/HebaruSan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HebaruSan/subscriptions","organizations_url":"https://api.github.com/users/HebaruSan/orgs","repos_url":"https://api.github.com/users/HebaruSan/repos","events_url":"https://api.github.com/users/HebaruSan/events{/privacy}","received_events_url":"https://api.github.com/users/HebaruSan/received_events","type":"User","site_admin":false},"created_at":"2018-12-03T23:38:58Z","updated_at":"2018-12-03T23:38:58Z","author_association":"MEMBER","body":"Ahh right. Our platform checker thinks Mac OS X is a form of Unix..."}}
{"actor":{"display_login":"HebaruSan"}}