{"action":"opened","issue":{"url":"https://api.github.com/repos/jupyter/nbgrader/issues/716","repository_url":"https://api.github.com/repos/jupyter/nbgrader","labels_url":"https://api.github.com/repos/jupyter/nbgrader/issues/716/labels{/name}","comments_url":"https://api.github.com/repos/jupyter/nbgrader/issues/716/comments","events_url":"https://api.github.com/repos/jupyter/nbgrader/issues/716/events","html_url":"https://github.com/jupyter/nbgrader/issues/716","id":208860713,"number":716,"title":"Cannot define solution_delimiters for multiple languages","user":{"login":"AnotherCodeArtist","id":6880844,"avatar_url":"https://avatars.githubusercontent.com/u/6880844?v=3","gravatar_id":"","url":"https://api.github.com/users/AnotherCodeArtist","html_url":"https://github.com/AnotherCodeArtist","followers_url":"https://api.github.com/users/AnotherCodeArtist/followers","following_url":"https://api.github.com/users/AnotherCodeArtist/following{/other_user}","gists_url":"https://api.github.com/users/AnotherCodeArtist/gists{/gist_id}","starred_url":"https://api.github.com/users/AnotherCodeArtist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnotherCodeArtist/subscriptions","organizations_url":"https://api.github.com/users/AnotherCodeArtist/orgs","repos_url":"https://api.github.com/users/AnotherCodeArtist/repos","events_url":"https://api.github.com/users/AnotherCodeArtist/events{/privacy}","received_events_url":"https://api.github.com/users/AnotherCodeArtist/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-20T12:03:23Z","updated_at":"2017-02-20T12:03:23Z","closed_at":null,"body":"Hi!\r\n\r\nAccording to the doc (http://nbgrader.readthedocs.io/en/stable/configuration/student_version.html) it should be possible to define solution_delimiters for multiple languages.\r\nIf I try this, I get the following error:\r\n```traitlets.traitlets.TraitError: The 'begin_solution_delimeter' trait of a ClearSolutions instance must be a unicode string, but a value of {'scala': '// BEGIN SOLUTION', 'python': '### BEGIN SOLUTION'} <class 'dict'> was specified.```\r\nIn the code (https://github.com/jupyter/nbgrader/blob/master/nbgrader/preprocessors/clearsolutions.py) `begin_solution_delimiter` and `end_solution_delimiter` are defined as `Unicode`.\r\nSo what's wrong here??\r\n"}}
{"actor":{"display_login":"AnotherCodeArtist"}}