{"action":"closed","issue":{"url":"https://api.github.com/repos/qutebrowser/qutebrowser/issues/3634","repository_url":"https://api.github.com/repos/qutebrowser/qutebrowser","labels_url":"https://api.github.com/repos/qutebrowser/qutebrowser/issues/3634/labels{/name}","comments_url":"https://api.github.com/repos/qutebrowser/qutebrowser/issues/3634/comments","events_url":"https://api.github.com/repos/qutebrowser/qutebrowser/issues/3634/events","html_url":"https://github.com/qutebrowser/qutebrowser/issues/3634","id":299959354,"number":3634,"title":"Crash with invalid dictionary filenames","user":{"login":"The-Compiler","id":625793,"avatar_url":"https://avatars0.githubusercontent.com/u/625793?v=4","gravatar_id":"","url":"https://api.github.com/users/The-Compiler","html_url":"https://github.com/The-Compiler","followers_url":"https://api.github.com/users/The-Compiler/followers","following_url":"https://api.github.com/users/The-Compiler/following{/other_user}","gists_url":"https://api.github.com/users/The-Compiler/gists{/gist_id}","starred_url":"https://api.github.com/users/The-Compiler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/The-Compiler/subscriptions","organizations_url":"https://api.github.com/users/The-Compiler/orgs","repos_url":"https://api.github.com/users/The-Compiler/repos","events_url":"https://api.github.com/users/The-Compiler/events{/privacy}","received_events_url":"https://api.github.com/users/The-Compiler/received_events","type":"User","site_admin":false},"labels":[{"id":653247572,"url":"https://api.github.com/repos/qutebrowser/qutebrowser/labels/bug:%20exception","name":"bug: exception","color":"d93f0b","default":false},{"id":267497034,"url":"https://api.github.com/repos/qutebrowser/qutebrowser/labels/priority:%202%20-%20low","name":"priority: 2 - low","color":"0e8a16","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-02-24T17:56:12Z","updated_at":"2018-05-03T16:00:24Z","closed_at":"2018-05-03T16:00:24Z","author_association":"COLLABORATOR","body":"Looks like this doesn't get caught properly on init:\r\n\r\n```\r\n16:39:44 DEBUG    init       app:_init_modules:468 Initializing websettings...\r\n16:39:45 ERROR    misc       crashsignal:exception_hook:216 Uncaught exception\r\nTraceback (most recent call last):\r\n  File \"/bin/qutebrowser\", line 11, in <module>\r\n    load_entry_point('qutebrowser==1.1.1', 'gui_scripts', 'qutebrowser')()\r\n  File \"/usr/lib/python3.6/site-packages/qutebrowser/qutebrowser.py\", line 188, in main\r\n    return app.run(args)\r\n  File \"/usr/lib/python3.6/site-packages/qutebrowser/app.py\", line 137, in run\r\n    init(args, crash_handler)\r\n  File \"/usr/lib/python3.6/site-packages/qutebrowser/app.py\", line 163, in init\r\n    _init_modules(args, crash_handler)\r\n  File \"/usr/lib/python3.6/site-packages/qutebrowser/app.py\", line 469, in _init_modules\r\n    websettings.init(args)\r\n  File \"/usr/lib/python3.6/site-packages/qutebrowser/config/websettings.py\", line 215, in init\r\n    webenginesettings.init(args)\r\n  File \"/usr/lib/python3.6/site-packages/qutebrowser/browser/webengine/webenginesettings.py\", line 297, in init\r\n    websettings.init_mappings(MAPPINGS)\r\n  File \"/usr/lib/python3.6/site-packages/qutebrowser/config/websettings.py\", line 198, in init_mappings\r\n    mapping.set(value)\r\n  File \"/usr/lib/python3.6/site-packages/qutebrowser/config/websettings.py\", line 72, in set\r\n    self._set(value, settings=settings)\r\n  File \"/usr/lib/python3.6/site-packages/qutebrowser/browser/webengine/webenginesettings.py\", line 154, in _set\r\n    filenames = [self._find_installed(code) for code in value]\r\n  File \"/usr/lib/python3.6/site-packages/qutebrowser/browser/webengine/webenginesettings.py\", line 154, in <listcomp>\r\n    filenames = [self._find_installed(code) for code in value]\r\n  File \"/usr/lib/python3.6/site-packages/qutebrowser/browser/webengine/webenginesettings.py\", line 143, in _find_installed\r\n    local_filename = spell.local_filename(code)\r\n  File \"/usr/lib/python3.6/site-packages/qutebrowser/browser/webengine/spell.py\", line 64, in local_filename\r\n    all_installed = local_files(code)\r\n  File \"/usr/lib/python3.6/site-packages/qutebrowser/browser/webengine/spell.py\", line 51, in local_files\r\n    for matching_dict in sorted(matching_dicts, key=version, reverse=True):\r\n  File \"/usr/lib/python3.6/site-packages/qutebrowser/browser/webengine/spell.py\", line 36, in version\r\n    .format(filename))\r\nValueError: the given dictionary file name is malformed: /usr/share/qt/qtwebengine_dictionaries/en-US.bdic\r\n```\r\n\r\nhttps://crashes.qutebrowser.org/view/63cd0d83\r\n\r\ncc @elshize "}}
{"actor":{"display_login":"The-Compiler"}}