{"action":"created","issue":{"url":"https://api.github.com/repos/niosus/EasyClangComplete/issues/162","repository_url":"https://api.github.com/repos/niosus/EasyClangComplete","labels_url":"https://api.github.com/repos/niosus/EasyClangComplete/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/niosus/EasyClangComplete/issues/162/comments","events_url":"https://api.github.com/repos/niosus/EasyClangComplete/issues/162/events","html_url":"https://github.com/niosus/EasyClangComplete/issues/162","id":194258850,"number":162,"title":"Failed to match location error","user":{"login":"silva6","id":2333255,"avatar_url":"https://avatars.githubusercontent.com/u/2333255?v=3","gravatar_id":"","url":"https://api.github.com/users/silva6","html_url":"https://github.com/silva6","followers_url":"https://api.github.com/users/silva6/followers","following_url":"https://api.github.com/users/silva6/following{/other_user}","gists_url":"https://api.github.com/users/silva6/gists{/gist_id}","starred_url":"https://api.github.com/users/silva6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silva6/subscriptions","organizations_url":"https://api.github.com/users/silva6/orgs","repos_url":"https://api.github.com/users/silva6/repos","events_url":"https://api.github.com/users/silva6/events{/privacy}","received_events_url":"https://api.github.com/users/silva6/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-08T06:36:06Z","updated_at":"2016-12-08T12:09:58Z","closed_at":null,"body":"On my Mac, I have installed clang and cmake. But it occurs failed to match location as follow. \r\n\r\nThe problem is the plugin cannot autocomplete my function while I have write a \".clang_complete\" in my project. In the \".clang_complete\" file, the content is like \"-I/home/xxx/include\".\r\n\r\n```\r\nUnable to open /Users/lau/Library/Application Support/Sublime Text 3/Packages/User/EasyClangComplete.sublime-settings\r\nreloading settings Packages/User/EasyClangComplete.sublime-settings\r\nINFO:EasyClangComplete.plugin.settings.settings_manager: settings changed and reloaded\r\nreloading settings Packages/User/EasyClangComplete.sublime-settings\r\nINFO:EasyClangComplete.plugin.settings.settings_manager: settings changed and reloaded\r\nINFO:EasyClangComplete.plugin.tools: Getting version from command: `clang++ -v`\r\nWARNING:EasyClangComplete.plugin.tools: OSX version 8.0 reported. Reducing it to 3.8. Info: {'platform': 'Darwin'}\r\nINFO:EasyClangComplete.plugin.tools: Found clang version: 3.8\r\nINFO:EasyClangComplete.plugin.view_config: init completer based on libclang\r\nERROR:EasyClangComplete.plugin.completion.compiler_variant:regex '(?P<file>.+)'.*line\\s(?P<row>\\d+), column\\s(?P<col>\\d+) failed to match location: <SourceLocation file None, line 0, column 0>\r\n```"},"comment":{"url":"https://api.github.com/repos/niosus/EasyClangComplete/issues/comments/265725724","html_url":"https://github.com/niosus/EasyClangComplete/issues/162#issuecomment-265725724","issue_url":"https://api.github.com/repos/niosus/EasyClangComplete/issues/162","id":265725724,"user":{"login":"silva6","id":2333255,"avatar_url":"https://avatars.githubusercontent.com/u/2333255?v=3","gravatar_id":"","url":"https://api.github.com/users/silva6","html_url":"https://github.com/silva6","followers_url":"https://api.github.com/users/silva6/followers","following_url":"https://api.github.com/users/silva6/following{/other_user}","gists_url":"https://api.github.com/users/silva6/gists{/gist_id}","starred_url":"https://api.github.com/users/silva6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silva6/subscriptions","organizations_url":"https://api.github.com/users/silva6/orgs","repos_url":"https://api.github.com/users/silva6/repos","events_url":"https://api.github.com/users/silva6/events{/privacy}","received_events_url":"https://api.github.com/users/silva6/received_events","type":"User","site_admin":false},"created_at":"2016-12-08T12:09:58Z","updated_at":"2016-12-08T12:09:58Z","body":"The follow is my subl startup info:\r\n\r\n```\r\nstartup, version: 3126 osx x64 channel: stable\r\nexecutable: /Applications/Sublime Text.app/Contents/MacOS/Sublime Text\r\nworking dir: /\r\npackages path: /Users/lau/Library/Application Support/Sublime Text 3/Packages\r\nstate path: /Users/lau/Library/Application Support/Sublime Text 3/Local\r\nzip path: /Applications/Sublime Text.app/Contents/MacOS/Packages\r\nzip path: /Users/lau/Library/Application Support/Sublime Text 3/Installed Packages\r\nignored_packages: [\"Markdown\", \"SyncedSidebarBg\"]\r\npre session restore time: 0.274943\r\nusing gpu buffer for window\r\nfirst paint time: 0.340219\r\nstartup time: 0.341435\r\nreloading plugin Default.auto_indent_tag\r\nreloading plugin Default.block\r\nreloading plugin Default.comment\r\nreloading plugin Default.convert_syntax\r\nreloading plugin Default.copy_path\r\nreloading plugin Default.delete_word\r\nreloading plugin Default.detect_indentation\r\nreloading plugin Default.duplicate_line\r\nreloading plugin Default.echo\r\nreloading plugin Default.exec\r\nreloading plugin Default.fold\r\nreloading plugin Default.font\r\nreloading plugin Default.goto_line\r\nreloading plugin Default.history_list\r\nreloading plugin Default.indentation\r\nreloading plugin Default.install_package_control\r\nreloading plugin Default.kill_ring\r\nreloading plugin Default.mark\r\nreloading plugin Default.new_templates\r\nreloading plugin Default.open_context_url\r\nreloading plugin Default.open_in_browser\r\nreloading plugin Default.pane\r\nreloading plugin Default.paragraph\r\nreloading plugin Default.paste_from_history\r\nreloading plugin Default.profile\r\nreloading plugin Default.quick_panel\r\nreloading plugin Default.run_syntax_tests\r\nreloading plugin Default.save_on_focus_lost\r\nreloading plugin Default.scroll\r\nreloading plugin Default.set_unsaved_view_name\r\nreloading plugin Default.settings\r\nreloading plugin Default.show_scope_name\r\nreloading plugin Default.side_bar\r\nreloading plugin Default.sort\r\nreloading plugin Default.swap_line\r\nreloading plugin Default.switch_file\r\nreloading plugin Default.symbol\r\nreloading plugin Default.transform\r\nreloading plugin Default.transpose\r\nreloading plugin Default.trim_trailing_white_space\r\nreloading plugin CSS.css_completions\r\nreloading plugin Diff.diff\r\nreloading plugin HTML.encode_html_entities\r\nreloading plugin HTML.html_completions\r\nreloading plugin Vintage.vintage\r\nreloading plugin Vintage.vintage_commands\r\nreloading plugin Vintage.vintage_motions\r\nreloading plugin 0_package_control_loader.00-package_control\r\nreloading plugin 0_package_control_loader.01-pygments\r\nreloading plugin 0_package_control_loader.50-backrefs\r\nreloading plugin 0_package_control_loader.50-dateutil\r\nreloading plugin 0_package_control_loader.50-markupsafe\r\nreloading plugin 0_package_control_loader.50-python-markdown\r\nreloading plugin 0_package_control_loader.50-pyyaml\r\nreloading plugin 0_package_control_loader.51-python-jinja2\r\nreloading plugin 0_package_control_loader.55-mdpopups\r\nreloading plugin All Autocomplete.all_views_completions\r\nreloading plugin AutoFileName.autofilename\r\nreloading plugin AutoFileName.getimageinfo\r\nreloading plugin BracketHighlighter.bh_core\r\nreloading plugin BracketHighlighter.bh_logging\r\nreloading plugin BracketHighlighter.bh_plugin\r\nreloading plugin BracketHighlighter.bh_popup\r\nreloading plugin BracketHighlighter.bh_regions\r\nreloading plugin BracketHighlighter.bh_remove\r\nreloading plugin BracketHighlighter.bh_rules\r\nreloading plugin BracketHighlighter.bh_search\r\nreloading plugin BracketHighlighter.bh_swapping\r\nreloading plugin BracketHighlighter.bh_wrapping\r\nreloading plugin BracketHighlighter.support\r\nreloading plugin Clang Format.clang_format\r\nreloading plugin CTags.ctags\r\nreloading plugin CTags.ctagsplugin\r\nreloading plugin CTags.test_ctags\r\nreloading plugin CTags.test_ctagsplugin\r\nreloading plugin DocBlockr.jsdocs\r\nreloading plugin FileHeader.FileHeader\r\nreloading plugin Git.git_commands\r\nreloading plugin GitGutter-Edge.git_gutter\r\nreloading plugin GitGutter-Edge.git_gutter_compare\r\nreloading plugin GitGutter-Edge.git_gutter_events\r\nreloading plugin GitGutter-Edge.git_gutter_handler\r\nreloading plugin GitGutter-Edge.git_gutter_jump_to_changes\r\nreloading plugin GitGutter-Edge.git_gutter_popup\r\nreloading plugin GitGutter-Edge.git_gutter_settings\r\nreloading plugin GitGutter-Edge.git_gutter_show_diff\r\nreloading plugin GitGutter-Edge.git_helper\r\nreloading plugin GitGutter-Edge.promise\r\nreloading plugin JsFormat.js_formatter\r\nreloading plugin Markdown Preview.helper\r\nreloading plugin Markdown Preview.markdown_settings\r\nreloading plugin Markdown Preview.markdown_wrapper\r\nreloading plugin Markdown Preview.MarkdownPreview\r\nreloading plugin MarkdownEditing.bootstrap\r\nreloading plugin MarkdownEditing.custom_find_under_expand\r\nreloading plugin MarkdownEditing.decide_title\r\nreloading plugin MarkdownEditing.distraction_free_mode\r\nreloading plugin MarkdownEditing.footnotes\r\nreloading plugin MarkdownEditing.indent_list_item\r\nreloading plugin MarkdownEditing.indent_list_multiitem\r\nreloading plugin MarkdownEditing.lint\r\nreloading plugin MarkdownEditing.mdeutils\r\nreloading plugin MarkdownEditing.numbered_list\r\nreloading plugin MarkdownEditing.quote_indenting\r\nreloading plugin MarkdownEditing.references\r\nreloading plugin MarkdownEditing.switch_list_bullet_type\r\nreloading plugin MarkdownEditing.underlined_headers\r\nreloading plugin Package Control.1_reloader\r\nreloading plugin Package Control.2_bootstrap\r\nreloading plugin Package Control.Package Control\r\nreloading plugin SideBarEnhancements.SideBar\r\nreloading plugin SideBarEnhancements.SideBarAPI\r\nreloading plugin SideBarEnhancements.SideBarDefaultDisable\r\nreloading plugin SideBarEnhancements.Stats\r\nreloading plugin Zen Tabs.TabsWorker\r\nreloading plugin Zen Tabs.ZenTabs\r\nreloading plugin Zen Tabs.ZenTabsTest\r\nreloading plugin Anaconda.anaconda\r\nreloading plugin Anaconda.setup\r\nreloading plugin Anaconda.version\r\nreloading plugin ConvertToUTF8.ConvertToUTF8\r\nreloading plugin EasyClangComplete.EasyClangComplete\r\nreloading plugin PlainTasks.APlainTasksCommon\r\nreloading plugin PlainTasks.PlainTasks\r\nreloading plugin PlainTasks.PlainTasksDates\r\nreloading plugin PlainTasks.PlainTasksToHTML\r\nreloading plugin PlainTasks.plist_parser\r\nreloading plugin Pretty JSON.PrettyJson\r\nreloading plugin Pretty JSON.PrettyJsonListeners\r\nreloading plugin Terminal.Terminal\r\nplugins loaded\r\nDEBUG:EasyClangComplete.plugin.settings.settings_storage: Reading settings...\r\nDEBUG:EasyClangComplete.plugin.settings.settings_storage:  autocomplete_all           <-- 'False'\r\nDEBUG:EasyClangComplete.plugin.settings.settings_storage:  c_flags                    <-- '['-std=c11']'\r\nDEBUG:EasyClangComplete.plugin.settings.settings_storage:  clang_binary               <-- 'clang++'\r\nDEBUG:EasyClangComplete.plugin.settings.settings_storage:  common_flags               <-- '['-I/usr/include', '-I$project_base_path/src', '-I/usr/lib/clang/$clang_version/include']'\r\nDEBUG:EasyClangComplete.plugin.settings.settings_storage:  cpp_flags                  <-- '['-std=c++11']'\r\nDEBUG:EasyClangComplete.plugin.settings.settings_storage:  errors_on_save             <-- 'True'\r\nDEBUG:EasyClangComplete.plugin.settings.settings_storage:  flags_sources              <-- '[{'file': 'CMakeLists.txt'}, {'file': 'compile_commands.json'}, {'file': '.clang_complete'}]'\r\nDEBUG:EasyClangComplete.plugin.settings.settings_storage:  hide_default_completions   <-- 'False'\r\nDEBUG:EasyClangComplete.plugin.settings.settings_storage:  include_file_folder        <-- 'True'\r\nDEBUG:EasyClangComplete.plugin.settings.settings_storage:  include_file_parent_folder <-- 'True'\r\nDEBUG:EasyClangComplete.plugin.settings.settings_storage:  max_cache_age              <-- '00:30:00'\r\nDEBUG:EasyClangComplete.plugin.settings.settings_storage:  triggers                   <-- '['.', '->', '::']'\r\nDEBUG:EasyClangComplete.plugin.settings.settings_storage:  use_libclang               <-- 'True'\r\nDEBUG:EasyClangComplete.plugin.settings.settings_storage:  verbose                    <-- 'False'\r\nDEBUG:EasyClangComplete.plugin.settings.settings_storage: Settings sucessfully read...\r\nINFO:EasyClangComplete.plugin.tools: Getting version from command: `clang++ -v`\r\nWARNING:EasyClangComplete.plugin.tools: OSX version 8.0 reported. Reducing it to 3.8. Info: {'platform': 'Darwin'}\r\nINFO:EasyClangComplete.plugin.tools: Found clang version: 3.8\r\nINFO:EasyClangComplete.plugin.view_config: init completer based on libclang\r\nINFO:EasyClangComplete.clang.utils: we are on 'Darwin'\r\nINFO:EasyClangComplete.clang.utils: searching for: 'libclang.dylib'\r\nINFO:EasyClangComplete.clang.utils: libclang search output = '/Library/Developer/CommandLineTools/usr/bin/../lib/clang/8.0.0'\r\nINFO:EasyClangComplete.clang.utils: found libclang dir: '/Library/Developer/CommandLineTools/usr/bin/../lib/clang/8.0.0/../..'\r\nINFO:EasyClangComplete.clang.utils: found library file: 'libclang.dylib'\r\nERROR:EasyClangComplete.plugin.completion.compiler_variant:regex '(?P<file>.+)'.*line\\s(?P<row>\\d+), column\\s(?P<col>\\d+) failed to match location: <SourceLocation file None, line 0, column 0>\r\nLimit: 10\r\nFull path: False\r\nHighlight: True\r\nreloading settings Packages/User/Preferences.sublime-settings\r\nINFO:EasyClangComplete.plugin.view_config: init completer based on libclang\r\nERROR:EasyClangComplete.plugin.completion.compiler_variant:regex '(?P<file>.+)'.*line\\s(?P<row>\\d+), column\\s(?P<col>\\d+) failed to match location: <SourceLocation file None, line 0, column 0>\r\nINFO:EasyClangComplete.plugin.view_config: init completer based on libclang\r\nERROR:EasyClangComplete.plugin.completion.compiler_variant:regex '(?P<file>.+)'.*line\\s(?P<row>\\d+), column\\s(?P<col>\\d+) failed to match location: <SourceLocation file None, line 0, column 0>\r\nINFO:EasyClangComplete.plugin.view_config: init completer based on libclang\r\nINFO:EasyClangComplete.plugin.view_config: init completer based on libclang\r\nERROR:EasyClangComplete.plugin.completion.compiler_variant:regex '(?P<file>.+)'.*line\\s(?P<row>\\d+), column\\s(?P<col>\\d+) failed to match location: <SourceLocation file None, line 0, column 0>\r\n```"}}
{"actor":{"display_login":"silva6"}}