{"action":"created","issue":{"url":"https://api.github.com/repos/mosen/mysides/issues/6","repository_url":"https://api.github.com/repos/mosen/mysides","labels_url":"https://api.github.com/repos/mosen/mysides/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/mosen/mysides/issues/6/comments","events_url":"https://api.github.com/repos/mosen/mysides/issues/6/events","html_url":"https://github.com/mosen/mysides/issues/6","id":161916345,"number":6,"title":"Segmentation fault: 11, when running mysides","user":{"login":"jimratliff","id":8410716,"avatar_url":"https://avatars.githubusercontent.com/u/8410716?v=3","gravatar_id":"","url":"https://api.github.com/users/jimratliff","html_url":"https://github.com/jimratliff","followers_url":"https://api.github.com/users/jimratliff/followers","following_url":"https://api.github.com/users/jimratliff/following{/other_user}","gists_url":"https://api.github.com/users/jimratliff/gists{/gist_id}","starred_url":"https://api.github.com/users/jimratliff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimratliff/subscriptions","organizations_url":"https://api.github.com/users/jimratliff/orgs","repos_url":"https://api.github.com/users/jimratliff/repos","events_url":"https://api.github.com/users/jimratliff/events{/privacy}","received_events_url":"https://api.github.com/users/jimratliff/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-06-23T12:57:22Z","updated_at":"2016-09-09T10:15:50Z","closed_at":null,"body":"When running the following script, I get a series of \"Segmentation faults: 11\". (Each of these is also accompanied by \"neq all\".) That doesn't mean anything to me. Any idea what I should do next?\r\n\r\n`#!/usr/bin/env bash\r\necho \"Define address for MYSIDES and get name of current user.\"\r\n\r\nMYSIDES=/usr/local/bin/mysides \r\n\r\ndir=$(whoami) \r\n\r\necho \"I have determined the current user to be $dir .\"\r\n\r\necho \"Remove All My Files entry.\"\r\n\r\n$MYSIDES remove All\\ My\\ Files file:///System/Library/CoreServices/Finder.app/Contents/Resources/MyLibraries/myDocuments.cannedSearch/ \r\n\r\necho \"Remove iCloud Drive entry.\"\r\n\r\n$MYSIDES remove iCloud x-apple-finder:icloud \r\n\r\necho \"Remove Desktop entry.\"\r\n\r\n$MYSIDES remove Desktop file:///Users/${dir}/Desktop\r\n\r\necho \"Remove Documents entry.\"\r\n\r\n$MYSIDES remove Documents file:///Users/${dir}/Documents\r\n\r\necho \"======================= I have completed my task\"`\r\n\r\nHere is the output from Terminal:\r\n\r\nRedux:~ admin$ su - remotetarget2 -c /Users/admin/dotfiles/5_Script_to_edit_Finder_Sidebar_Favorites_using_mysides.sh \r\n\r\nPassword:\r\n\r\nEntering script /Users/admin/dotfiles/5_Script_to_edit_Finder_Sidebar_Favorites_using_mysides.sh .\r\n\r\nDefine address for MYSIDES and get name of current user.\r\n\r\nI have determined the current user to be remotetarget2 .\r\n\r\nRemove All My Files entry.\r\n\r\nneq all\r\n\r\n/Users/admin/dotfiles/5_Script_to_edit_Finder_Sidebar_Favorites_using_mysides.sh: line 40:  7269 Segmentation fault: 11  $MYSIDES remove All\\ My\\ Files file:///System/Library/CoreServices/Finder.app/Contents/Resources/MyLibraries/myDocuments.cannedSearch/\r\n\r\nRemove iCloud Drive entry.\r\n\r\nneq all\r\n\r\n/Users/admin/dotfiles/5_Script_to_edit_Finder_Sidebar_Favorites_using_mysides.sh: line 44:  7271 Segmentation fault: 11  $MYSIDES remove iCloud x-apple-finder:icloud\r\n\r\nRemove Desktop entry.\r\n\r\nneq all\r\n\r\n/Users/admin/dotfiles/5_Script_to_edit_Finder_Sidebar_Favorites_using_mysides.sh: line 52:  7272 Segmentation fault: 11  $MYSIDES remove Desktop file:///Users/${dir}/Desktop\r\n\r\nRemove Documents entry.\r\n\r\nneq all\r\n\r\n/Users/admin/dotfiles/5_Script_to_edit_Finder_Sidebar_Favorites_using_mysides.sh: line 56:  7273 Segmentation fault: 11  $MYSIDES remove Documents file:///Users/${dir}/Documents\r\n\r\n======================= I have completed my task\r\n\r\nThanks in advance if you have some time to give this some thought!"},"comment":{"url":"https://api.github.com/repos/mosen/mysides/issues/comments/245875378","html_url":"https://github.com/mosen/mysides/issues/6#issuecomment-245875378","issue_url":"https://api.github.com/repos/mosen/mysides/issues/6","id":245875378,"user":{"login":"tiiiecherle","id":7059936,"avatar_url":"https://avatars.githubusercontent.com/u/7059936?v=3","gravatar_id":"","url":"https://api.github.com/users/tiiiecherle","html_url":"https://github.com/tiiiecherle","followers_url":"https://api.github.com/users/tiiiecherle/followers","following_url":"https://api.github.com/users/tiiiecherle/following{/other_user}","gists_url":"https://api.github.com/users/tiiiecherle/gists{/gist_id}","starred_url":"https://api.github.com/users/tiiiecherle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiiiecherle/subscriptions","organizations_url":"https://api.github.com/users/tiiiecherle/orgs","repos_url":"https://api.github.com/users/tiiiecherle/repos","events_url":"https://api.github.com/users/tiiiecherle/events{/privacy}","received_events_url":"https://api.github.com/users/tiiiecherle/received_events","type":"User","site_admin":false},"created_at":"2016-09-09T10:15:50Z","updated_at":"2016-09-09T10:15:50Z","body":"Hey, I found a really good working solution for me on the latest Sierra GM, but it requires the latest mysids build from GitHub as it contains the `mysides remove all` function that is working pretty great.\r\n\r\nI put together this script which is working really well that also deals with a few issues of the rest of the finder sidebar. Reboot afterwards. Do not use the installer that the script suggests as it is not the git version of mysides. I only put it in for the future.\r\n\r\n[https://github.com/tiiiecherle/osx_install_config/blob/master/11_system_and_app_preferences/11e_finder_sidebar.sh](https://github.com/tiiiecherle/osx_install_config/blob/master/11_system_and_app_preferences/11e_finder_sidebar.sh)\r\n\r\nIt is now part of my project [https://github.com/tiiiecherle/osx_install_config](https://github.com/tiiiecherle/osx_install_config) which tries to make configuration and backup and clean installs as easy and reliable as possible and the system config script (11b) is the most complete one I know of. Perhaps there is something in for you.\r\n\r\nWould be nice if there would be feedback and / or help, comment, pull request, ... to solve the remaining stuff.\r\n\r\nThanks again for mysides, really helps me out with the finder config  ;) Hope you keep it up. Have a nice weekend everyone."}}
{"actor":{"display_login":"tiiiecherle"}}