{"action":"created","issue":{"url":"https://api.github.com/repos/autolab/Autolab/issues/584","labels_url":"https://api.github.com/repos/autolab/Autolab/issues/584/labels{/name}","comments_url":"https://api.github.com/repos/autolab/Autolab/issues/584/comments","events_url":"https://api.github.com/repos/autolab/Autolab/issues/584/events","html_url":"https://github.com/autolab/Autolab/issues/584","id":106056533,"number":584,"title":"Robustness of yml parsing of assessments","user":{"login":"GjjvdBurg","id":3286696,"avatar_url":"https://avatars.githubusercontent.com/u/3286696?v=3","gravatar_id":"","url":"https://api.github.com/users/GjjvdBurg","html_url":"https://github.com/GjjvdBurg","followers_url":"https://api.github.com/users/GjjvdBurg/followers","following_url":"https://api.github.com/users/GjjvdBurg/following{/other_user}","gists_url":"https://api.github.com/users/GjjvdBurg/gists{/gist_id}","starred_url":"https://api.github.com/users/GjjvdBurg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GjjvdBurg/subscriptions","organizations_url":"https://api.github.com/users/GjjvdBurg/orgs","repos_url":"https://api.github.com/users/GjjvdBurg/repos","events_url":"https://api.github.com/users/GjjvdBurg/events{/privacy}","received_events_url":"https://api.github.com/users/GjjvdBurg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-11T17:26:15Z","updated_at":"2015-09-12T04:35:00Z","closed_at":null,"body":"Hi there,\r\n\r\nWe prefer to upload the assessments from a tarfile. The assessment's yaml file is edited by hand and can occasionally contain a typo, which leads to  \"Psych::SyntaxError in assessments#importAsmtFromTar\". This by itself is not a problem, it's just that now the assessment is sort of half loaded, and it can't be deleted easily from Autolab because the assessment view can't be opened:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/3286696/9821272/8e9d2d44-58b9-11e5-821e-0593a911c67a.png)\r\n\r\nIt would therefore be better if the assessment tarfile is simply refused if an error occurs in the yaml parser. Also, if there is a way to remove the assessment that's stuck now I'd be very interested :)\r\n\r\nThanks in advance!"},"comment":{"url":"https://api.github.com/repos/autolab/Autolab/issues/comments/139714875","html_url":"https://github.com/autolab/Autolab/issues/584#issuecomment-139714875","issue_url":"https://api.github.com/repos/autolab/Autolab/issues/584","id":139714875,"user":{"login":"dlbucci","id":4268191,"avatar_url":"https://avatars.githubusercontent.com/u/4268191?v=3","gravatar_id":"","url":"https://api.github.com/users/dlbucci","html_url":"https://github.com/dlbucci","followers_url":"https://api.github.com/users/dlbucci/followers","following_url":"https://api.github.com/users/dlbucci/following{/other_user}","gists_url":"https://api.github.com/users/dlbucci/gists{/gist_id}","starred_url":"https://api.github.com/users/dlbucci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlbucci/subscriptions","organizations_url":"https://api.github.com/users/dlbucci/orgs","repos_url":"https://api.github.com/users/dlbucci/repos","events_url":"https://api.github.com/users/dlbucci/events{/privacy}","received_events_url":"https://api.github.com/users/dlbucci/received_events","type":"User","site_admin":false},"created_at":"2015-09-12T04:35:00Z","updated_at":"2015-09-12T04:35:00Z","body":"If you append `/edit` to the assessment's url, you should reach an edit page that will let you delete the assessment, and yes, we should have more transactional assessment creation, but honestly, that whole codepath is a bit of a mess right now...\r\n\r\nAdditionally, it looks like the error here may be that the module's name in the assessment.rb file does not match the camelized version of the course's name.  Double check the `assessmentConfig` folder and see what the name of the loaded module is."}}