{"action":"created","issue":{"url":"https://api.github.com/repos/gap-system/gap/issues/678","repository_url":"https://api.github.com/repos/gap-system/gap","labels_url":"https://api.github.com/repos/gap-system/gap/issues/678/labels{/name}","comments_url":"https://api.github.com/repos/gap-system/gap/issues/678/comments","events_url":"https://api.github.com/repos/gap-system/gap/issues/678/events","html_url":"https://github.com/gap-system/gap/issues/678","id":141127401,"number":678,"title":"SimpleGroup(\"E6\",3); yields strange error message","user":{"login":"Stefan-Kohl","id":16081494,"avatar_url":"https://avatars.githubusercontent.com/u/16081494?v=3","gravatar_id":"","url":"https://api.github.com/users/Stefan-Kohl","html_url":"https://github.com/Stefan-Kohl","followers_url":"https://api.github.com/users/Stefan-Kohl/followers","following_url":"https://api.github.com/users/Stefan-Kohl/following{/other_user}","gists_url":"https://api.github.com/users/Stefan-Kohl/gists{/gist_id}","starred_url":"https://api.github.com/users/Stefan-Kohl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stefan-Kohl/subscriptions","organizations_url":"https://api.github.com/users/Stefan-Kohl/orgs","repos_url":"https://api.github.com/users/Stefan-Kohl/repos","events_url":"https://api.github.com/users/Stefan-Kohl/events{/privacy}","received_events_url":"https://api.github.com/users/Stefan-Kohl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gap-system/gap/labels/newcomer-friendly","name":"newcomer-friendly","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-15T23:28:31Z","updated_at":"2016-03-15T23:43:59Z","closed_at":null,"body":"In 4.8.2, I get\r\n\r\n```\r\ngap> G := SimpleGroup(\"E6\",2); # o.k.\r\nE6(2)\r\ngap> G := SimpleGroup(\"E6\",3);\r\nError, Value cannot be set for internal objects in\r\n  SetIsSimpleGroup( g, true ); at /user/GAP/gap4r8/grp/simple.gi:162 called from \r\nDoAtlasrepGroup( [ s ] ) at /user/GAP/gap4r8/grp/simple.gi:518 called from\r\n<function \"SimpleGroup\">( <arguments> )\r\n called from read-eval loop at line 47 of *stdin*\r\nyou can 'return;' without setting it\r\ngap> G := SimpleGroup(\"E6\",4); # o.k.\r\nE6(4)\r\ngap> G := SimpleGroup(\"E6\",8);\r\nError, Value cannot be set for internal objects in\r\n  SetIsSimpleGroup( g, true ); at /user/GAP/gap4r8/grp/simple.gi:162 called from \r\nDoAtlasrepGroup( [ s ] ) at /user/GAP/gap4r8/grp/simple.gi:518 called from\r\n<function \"SimpleGroup\">( <arguments> )\r\n called from read-eval loop at line 48 of *stdin*\r\nyou can 'return;' without setting it\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/gap-system/gap/issues/comments/197070434","html_url":"https://github.com/gap-system/gap/issues/678#issuecomment-197070434","issue_url":"https://api.github.com/repos/gap-system/gap/issues/678","id":197070434,"user":{"login":"alex-konovalov","id":5751387,"avatar_url":"https://avatars.githubusercontent.com/u/5751387?v=3","gravatar_id":"","url":"https://api.github.com/users/alex-konovalov","html_url":"https://github.com/alex-konovalov","followers_url":"https://api.github.com/users/alex-konovalov/followers","following_url":"https://api.github.com/users/alex-konovalov/following{/other_user}","gists_url":"https://api.github.com/users/alex-konovalov/gists{/gist_id}","starred_url":"https://api.github.com/users/alex-konovalov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex-konovalov/subscriptions","organizations_url":"https://api.github.com/users/alex-konovalov/orgs","repos_url":"https://api.github.com/users/alex-konovalov/repos","events_url":"https://api.github.com/users/alex-konovalov/events{/privacy}","received_events_url":"https://api.github.com/users/alex-konovalov/received_events","type":"User","site_admin":false},"created_at":"2016-03-15T23:43:59Z","updated_at":"2016-03-15T23:43:59Z","body":"In this case `g` is `fail` - I think `DoAtlasrepGroup` should check if the call to `AtlasGroup` returns fail and produce a more helpful error message in this case."}}