{"action":"created","issue":{"url":"https://api.github.com/repos/Sarcasm/irony-mode/issues/465","repository_url":"https://api.github.com/repos/Sarcasm/irony-mode","labels_url":"https://api.github.com/repos/Sarcasm/irony-mode/issues/465/labels{/name}","comments_url":"https://api.github.com/repos/Sarcasm/irony-mode/issues/465/comments","events_url":"https://api.github.com/repos/Sarcasm/irony-mode/issues/465/events","html_url":"https://github.com/Sarcasm/irony-mode/issues/465","id":293986971,"number":465,"title":"Irony CDB cannot-load-database","user":{"login":"innerout","id":11080614,"avatar_url":"https://avatars0.githubusercontent.com/u/11080614?v=4","gravatar_id":"","url":"https://api.github.com/users/innerout","html_url":"https://github.com/innerout","followers_url":"https://api.github.com/users/innerout/followers","following_url":"https://api.github.com/users/innerout/following{/other_user}","gists_url":"https://api.github.com/users/innerout/gists{/gist_id}","starred_url":"https://api.github.com/users/innerout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/innerout/subscriptions","organizations_url":"https://api.github.com/users/innerout/orgs","repos_url":"https://api.github.com/users/innerout/repos","events_url":"https://api.github.com/users/innerout/events{/privacy}","received_events_url":"https://api.github.com/users/innerout/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-02-02T18:50:10Z","updated_at":"2018-02-04T22:04:59Z","closed_at":null,"author_association":"NONE","body":"I have created the compile_commands.json with compiledb-generator.I have the repo in my pc and in a remote machine that i run my experiments.When i develop the code locally irony finds the compilation database and works perfectly.When i develop remotely irony reports the error that cannot find the compilation database.My pc has arch linux and the remote pc centos 7.I cannot understand what could cause the problem when the server is built without any errors and locally works perfect.\r\n\r\nIrony CDB: error in compilation database: (irony-server-error cannot-load-database \"failed to load compilation database from directory\" \"/home1/public/username/projectname/folder/\")\r\nIn directory folder there is the compilation database and i am working in /home1/public/username/projectname/folder/tree/ \r\nLocally it finds the compilation database /home1/public/username/projectname/folder/ but remotely while the file exists, irony throws the above error.\r\nAlso i created the compilation database with intercept-build and bear but the same thing happened!\r\nMy configuration.\r\n```elisp\r\n(use-package company\r\n  :ensure t\r\n  :init(add-hook 'after-init-hook 'global-company-mode)\r\n  :config\r\n  (setq company-minimum-prefix-length 1)\r\n  )\r\n\r\n(use-package irony\r\n  :ensure t\r\n  :init\r\n  (add-hook 'c++-mode-hook 'irony-mode)\r\n  (add-hook 'c-mode-hook 'irony-mode)\r\n  (add-hook 'objc-mode-hook 'irony-mode)\r\n(defun my-irony-mode-hook ()                                                                                                                                                                                 \r\n(define-key irony-mode-map [remap completion-at-point]                                                                                                                                                     \r\n'irony-completion-at-point-async)                                                                                                                                                                        \r\n(define-key irony-mode-map [remap complete-symbol]                                                                                                                                                         \r\n'irony-completion-at-point-async))                                                                                                                                                                       \r\n(add-hook 'irony-mode-hook 'my-irony-mode-hook)   \r\n  (add-hook 'irony-mode-hook 'irony-cdb-autosetup-compile-options)\r\n  )\r\n\r\n(use-package company-irony\r\n  :ensure t\r\n  :init(eval-after-load 'company\r\n\t '(add-to-list 'company-backends 'company-irony))\r\n  )\r\n\r\n(use-package company-irony-c-headers\r\n  :ensure t\r\n  :init(eval-after-load 'company\r\n\t '(add-to-list\r\n\t   'company-backends '(company-irony-c-headers company-irony)))\r\n  )\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/Sarcasm/irony-mode/issues/comments/362943917","html_url":"https://github.com/Sarcasm/irony-mode/issues/465#issuecomment-362943917","issue_url":"https://api.github.com/repos/Sarcasm/irony-mode/issues/465","id":362943917,"user":{"login":"innerout","id":11080614,"avatar_url":"https://avatars0.githubusercontent.com/u/11080614?v=4","gravatar_id":"","url":"https://api.github.com/users/innerout","html_url":"https://github.com/innerout","followers_url":"https://api.github.com/users/innerout/followers","following_url":"https://api.github.com/users/innerout/following{/other_user}","gists_url":"https://api.github.com/users/innerout/gists{/gist_id}","starred_url":"https://api.github.com/users/innerout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/innerout/subscriptions","organizations_url":"https://api.github.com/users/innerout/orgs","repos_url":"https://api.github.com/users/innerout/repos","events_url":"https://api.github.com/users/innerout/events{/privacy}","received_events_url":"https://api.github.com/users/innerout/received_events","type":"User","site_admin":false},"created_at":"2018-02-04T22:04:59Z","updated_at":"2018-02-04T22:04:59Z","author_association":"NONE","body":"irony-cdb-menu prints this.The error is still printed should i assume that irony runs ok and ignore the error?\r\nCompilation Database: irony-cdb-json\r\nWorking Directory: /home/geo/folder/neokr\r\nCompile Options:   -Wall -DSTANDALONE -Wfatal-errors"}}
{"actor":{"display_login":"innerout"}}