{"action":"closed","issue":{"url":"https://api.github.com/repos/sphinx-doc/testing2/issues/918","labels_url":"https://api.github.com/repos/sphinx-doc/testing2/issues/918/labels{/name}","comments_url":"https://api.github.com/repos/sphinx-doc/testing2/issues/918/comments","events_url":"https://api.github.com/repos/sphinx-doc/testing2/issues/918/events","html_url":"https://github.com/sphinx-doc/testing2/issues/918","id":53289427,"number":918,"title":"OptionXRefRole.process_link provides bad error message for malformed options","user":{"login":"shimizukawa","id":151623,"avatar_url":"https://avatars.githubusercontent.com/u/151623?v=3","gravatar_id":"","url":"https://api.github.com/users/shimizukawa","html_url":"https://github.com/shimizukawa","followers_url":"https://api.github.com/users/shimizukawa/followers","following_url":"https://api.github.com/users/shimizukawa/following{/other_user}","gists_url":"https://api.github.com/users/shimizukawa/gists{/gist_id}","starred_url":"https://api.github.com/users/shimizukawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shimizukawa/subscriptions","organizations_url":"https://api.github.com/users/shimizukawa/orgs","repos_url":"https://api.github.com/users/shimizukawa/repos","events_url":"https://api.github.com/users/shimizukawa/events{/privacy}","received_events_url":"https://api.github.com/users/shimizukawa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sphinx-doc/testing2/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/sphinx-doc/testing2/labels/prio%3Alow","name":"prio:low","color":"FFFFFF"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-03T01:12:10Z","updated_at":"2015-01-03T01:12:11Z","closed_at":"2015-01-03T01:12:11Z","body":"When using the following RST File, as input, one gets a bad error message from Sphinx.\n\n    \n    Testing\n    #######\n    \n    :option:`-timeout <Time in seconds>` \n    \n\nthis creates an error message and traceback:\n    \n      File \"D:\\sandbox\\roadside\\win32\\debug\\img\\lib\\site-packages\\sphinx-1.1.3-py2.7.egg\\sphinx\\domains\\std.py\", line 202, in process_link\n        program, target = re.split(' (?=-|--|/)', target, 1)\n    ValueError: need more than 1 value to unpack\n    \n\nIt should provide a hint to the malformed :option: Value instead.\n\n\n----------------------------------------\n- Bitbucket: https://bitbucket.org/birkenfeld/sphinx/issue/918\n- Originally reported by: Anonymous\n- Originally created at: 2012-04-30T14:41:01.465\n"}}