{"action":"created","issue":{"url":"https://api.github.com/repos/ugexe/zef/issues/89","repository_url":"https://api.github.com/repos/ugexe/zef","labels_url":"https://api.github.com/repos/ugexe/zef/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/ugexe/zef/issues/89/comments","events_url":"https://api.github.com/repos/ugexe/zef/issues/89/events","html_url":"https://github.com/ugexe/zef/issues/89","id":154055724,"number":89,"title":"WARNING: unhandled Failure detected in DESTROY:","user":{"login":"Odud","id":15649511,"avatar_url":"https://avatars.githubusercontent.com/u/15649511?v=3","gravatar_id":"","url":"https://api.github.com/users/Odud","html_url":"https://github.com/Odud","followers_url":"https://api.github.com/users/Odud/followers","following_url":"https://api.github.com/users/Odud/following{/other_user}","gists_url":"https://api.github.com/users/Odud/gists{/gist_id}","starred_url":"https://api.github.com/users/Odud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Odud/subscriptions","organizations_url":"https://api.github.com/users/Odud/orgs","repos_url":"https://api.github.com/users/Odud/repos","events_url":"https://api.github.com/users/Odud/events{/privacy}","received_events_url":"https://api.github.com/users/Odud/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-05-10T16:55:14Z","updated_at":"2016-05-11T19:12:45Z","closed_at":null,"body":"Try to install a module using Zef and go this warning (which occurred many times) before the final failure shown\r\n\r\nI'm using Rakudo Star 2016.04 on Windows 10 and this was running as a non-admin user\r\n\r\nC:\\Users\\langb>zef install IO::Socket::SSL\r\nWARNING: unhandled Failure detected in DESTROY:\r\nNo such symbol 'Rakudo::Internals::JSON'\r\n  in sub from-json at C:\\rakudo\\share\\perl6\\site\\sources\\9FA0AC28824EE9E5A9C0F99951CA870148AE378E (Zef) line 8\r\n  in block  at sources\\1DC0BAA246D0774E7EB4F5119C6168E0D8266EFA (Zef::Client) line 554\r\n  in code  at sources\\1DC0BAA246D0774E7EB4F5119C6168E0D8266EFA (Zef::Client) line 553\r\n  in method is-installed at sources\\1DC0BAA246D0774E7EB4F5119C6168E0D8266EFA (Zef::Client) line 585\r\n  in sub MAIN at C:\\rakudo\\share\\perl6\\site\\sources\\A9948E7371E0EB9AFDF1EEEB07B52A1B75537C31 (Zef::CLI) line 120\r\n  in block <unit> at C:\\rakudo\\share\\perl6\\site/resources/3DD33EF601FD300095284AE7C24B770BAADAF32E line 1\r\n\r\nand finally\r\n\r\nFailure fetching to: False\r\n  in code  at sources\\1DC0BAA246D0774E7EB4F5119C6168E0D8266EFA (Zef::Client) line 170\r\n  in method fetch at sources\\1DC0BAA246D0774E7EB4F5119C6168E0D8266EFA (Zef::Client) line 139\r\n  in sub MAIN at C:\\rakudo\\share\\perl6\\site\\sources\\A9948E7371E0EB9AFDF1EEEB07B52A1B75537C31 (Zef::CLI) line 147\r\n  in block <unit> at C:\\rakudo\\share\\perl6\\site/resources/3DD33EF601FD300095284AE7C24B770BAADAF32E line 1\r\n\r\nI'm guessing it's a zef problem and not something wrong with the module"},"comment":{"url":"https://api.github.com/repos/ugexe/zef/issues/comments/218560095","html_url":"https://github.com/ugexe/zef/issues/89#issuecomment-218560095","issue_url":"https://api.github.com/repos/ugexe/zef/issues/89","id":218560095,"user":{"login":"ugexe","id":239748,"avatar_url":"https://avatars.githubusercontent.com/u/239748?v=3","gravatar_id":"","url":"https://api.github.com/users/ugexe","html_url":"https://github.com/ugexe","followers_url":"https://api.github.com/users/ugexe/followers","following_url":"https://api.github.com/users/ugexe/following{/other_user}","gists_url":"https://api.github.com/users/ugexe/gists{/gist_id}","starred_url":"https://api.github.com/users/ugexe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ugexe/subscriptions","organizations_url":"https://api.github.com/users/ugexe/orgs","repos_url":"https://api.github.com/users/ugexe/repos","events_url":"https://api.github.com/users/ugexe/events{/privacy}","received_events_url":"https://api.github.com/users/ugexe/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T19:12:45Z","updated_at":"2016-05-11T19:12:45Z","body":"The good news is I know how you can get this to work.\r\n\r\nFor some reason installing `IO::Socket::SSL` will fail with the same error you posted if `OpenSSL` is already installed. I'm not exactly sure what this means yet other than its not a `zef` error. If you `zef uninstall IO::Socket::SSL` `zef uninstall OpenSSL`,  doing `zef install IO::Socket::SSL` should work for you. `OpenSSL` still gets installed as a dependency; The problem has something to do with linking against the already installed dll files, but i'm not sure what. Maybe its because of how rakudo renames them?\r\n\r\nThe earlier problem with `Fetch` is probably a permissions or git problem. One possibility is a run-time call to rakudos `mkdir` sets the permissions incorrect. Another is the `git clone` itself results in incorrect permissions. This is corroborated by your initial success with running as administrator, which may have allowed the neccesary directories to be created in `$*HOME/.zef` or `<rakudo dir>/share/site`. Those directories would have been left even after uninstalling, so later when you ran as non-administrator the directories were already available."}}