{"action":"created","issue":{"url":"https://api.github.com/repos/textmate/latex.tmbundle/issues/125","labels_url":"https://api.github.com/repos/textmate/latex.tmbundle/issues/125/labels{/name}","comments_url":"https://api.github.com/repos/textmate/latex.tmbundle/issues/125/comments","events_url":"https://api.github.com/repos/textmate/latex.tmbundle/issues/125/events","html_url":"https://github.com/textmate/latex.tmbundle/issues/125","id":69606128,"number":125,"title":"Failure running \"Citation Based on Current Word...\"","user":{"login":"DOFfactory","id":10846169,"avatar_url":"https://avatars.githubusercontent.com/u/10846169?v=3","gravatar_id":"","url":"https://api.github.com/users/DOFfactory","html_url":"https://github.com/DOFfactory","followers_url":"https://api.github.com/users/DOFfactory/followers","following_url":"https://api.github.com/users/DOFfactory/following{/other_user}","gists_url":"https://api.github.com/users/DOFfactory/gists{/gist_id}","starred_url":"https://api.github.com/users/DOFfactory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DOFfactory/subscriptions","organizations_url":"https://api.github.com/users/DOFfactory/orgs","repos_url":"https://api.github.com/users/DOFfactory/repos","events_url":"https://api.github.com/users/DOFfactory/events{/privacy}","received_events_url":"https://api.github.com/users/DOFfactory/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/textmate/latex.tmbundle/labels/bug","name":"bug","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-04-20T14:56:36Z","updated_at":"2015-04-20T19:40:25Z","closed_at":null,"body":"Hi, after updating the bundle I am getting this error when asking for bib autocomplete:\r\n```\r\n/Users/N/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/latex.rb:627:in `exist?': can't convert Array into String (TypeError)\r\n\tfrom /Users/N/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/latex.rb:627:in `file?'\r\n\tfrom /Users/N/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/latex.rb:332:in `bib_entries'\r\n\tfrom /Users/N/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/latex.rb:304:in `parse_bibfile'\r\n\tfrom /Users/N/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/latex.rb:808:in `add_bibliography_scan'\r\n\tfrom /Users/N/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/latex.rb:805:in `each'\r\n\tfrom /Users/N/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/latex.rb:805:in `add_bibliography_scan'\r\n\tfrom /Users/N/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/latex.rb:828:in `call'\r\n\tfrom /Users/N/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/latex.rb:828:in `extractors_process_line'\r\n\tfrom /Users/N/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/latex.rb:827:in `each'\r\n\tfrom /Users/N/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/latex.rb:827:in `extractors_process_line'\r\n\tfrom /Users/N/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/latex.rb:826:in `each_pair'\r\n\tfrom /Users/N/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/latex.rb:826:in `extractors_process_line'\r\n\tfrom /Users/N/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/latex.rb:710:in `recursive_scan'\r\n\tfrom /Users/N/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/latex.rb:708:in `each_pair'\r\n\tfrom /Users/N/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/latex.rb:708:in `recursive_scan'\r\n\tfrom Citation Based on Current Word…:5:in `each_with_index'\r\n\tfrom /Users/N/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/latex.rb:707:in `each'\r\n\tfrom /Users/N/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/latex.rb:707:in `each_with_index'\r\n\tfrom /Users/N/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/latex.rb:707:in `recursive_scan'\r\n\tfrom /Users/N/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/latex.rb:820:in `inlcude_process_line'\r\n\tfrom /Users/N/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/latex.rb:817:in `each'\r\n\tfrom /Users/N/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/latex.rb:817:in `inlcude_process_line'\r\n\tfrom /Users/N/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/latex.rb:815:in `each'\r\n\tfrom /Users/N/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/latex.rb:815:in `inlcude_process_line'\r\n\tfrom /Users/N/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/latex.rb:709:in `recursive_scan'\r\n\tfrom /Users/N/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/latex.rb:708:in `each_pair'\r\n\tfrom /Users/N/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/latex.rb:708:in `recursive_scan'\r\n\tfrom Citation Based on Current Word…:5:in `each_with_index'\r\n\tfrom /Users/N/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/latex.rb:707:in `each'\r\n\tfrom /Users/N/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/latex.rb:707:in `each_with_index'\r\n\tfrom /Users/N/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/latex.rb:707:in `recursive_scan'\r\n\tfrom /Users/N/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/latex.rb:784:in `cite_scan'\r\n\tfrom /Users/N/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/latex.rb:159:in `citations'\r\n\tfrom /Users/N/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/command.rb:235:in `citations'\r\n\tfrom /Users/N/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/command.rb:246:in `insert_citation'\r\n\tfrom Citation Based on Current Word…:9```"},"comment":{"url":"https://api.github.com/repos/textmate/latex.tmbundle/issues/comments/94550228","html_url":"https://github.com/textmate/latex.tmbundle/issues/125#issuecomment-94550228","issue_url":"https://api.github.com/repos/textmate/latex.tmbundle/issues/125","id":94550228,"user":{"login":"DOFfactory","id":10846169,"avatar_url":"https://avatars.githubusercontent.com/u/10846169?v=3","gravatar_id":"","url":"https://api.github.com/users/DOFfactory","html_url":"https://github.com/DOFfactory","followers_url":"https://api.github.com/users/DOFfactory/followers","following_url":"https://api.github.com/users/DOFfactory/following{/other_user}","gists_url":"https://api.github.com/users/DOFfactory/gists{/gist_id}","starred_url":"https://api.github.com/users/DOFfactory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DOFfactory/subscriptions","organizations_url":"https://api.github.com/users/DOFfactory/orgs","repos_url":"https://api.github.com/users/DOFfactory/repos","events_url":"https://api.github.com/users/DOFfactory/events{/privacy}","received_events_url":"https://api.github.com/users/DOFfactory/received_events","type":"User","site_admin":false},"created_at":"2015-04-20T19:40:25Z","updated_at":"2015-04-20T19:40:25Z","body":"Hi Rene, \r\n\r\nThanks for creating this. I have everything exactly the same, except I did not have the \\addbibresource{bibliography.bib} defined. \r\n\r\nMy BIBINPUTS look the following: /Users/N/Documents:/Users/N/Dropbox/PhD:. I set this variable ages ago (times of TextMate 1), and it always worked, so there was no need to change.\r\n\r\nI tried to set the same for TM_LATEX_BIB, tried removing the colon, removed the full stop at the end, tried defining the full path to the file, nothing worked. It seems TextMate recognises the path set by the variable, but the script cannot find the file :-/"}}