{"action":"created","issue":{"url":"https://api.github.com/repos/cortner/JuLIPMaterials.jl/issues/14","repository_url":"https://api.github.com/repos/cortner/JuLIPMaterials.jl","labels_url":"https://api.github.com/repos/cortner/JuLIPMaterials.jl/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/cortner/JuLIPMaterials.jl/issues/14/comments","events_url":"https://api.github.com/repos/cortner/JuLIPMaterials.jl/issues/14/events","html_url":"https://github.com/cortner/JuLIPMaterials.jl/issues/14","id":306924342,"number":14,"title":"Bug when freshly using module","user":{"login":"lifelemons","id":15140104,"avatar_url":"https://avatars3.githubusercontent.com/u/15140104?v=4","gravatar_id":"","url":"https://api.github.com/users/lifelemons","html_url":"https://github.com/lifelemons","followers_url":"https://api.github.com/users/lifelemons/followers","following_url":"https://api.github.com/users/lifelemons/following{/other_user}","gists_url":"https://api.github.com/users/lifelemons/gists{/gist_id}","starred_url":"https://api.github.com/users/lifelemons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lifelemons/subscriptions","organizations_url":"https://api.github.com/users/lifelemons/orgs","repos_url":"https://api.github.com/users/lifelemons/repos","events_url":"https://api.github.com/users/lifelemons/events{/privacy}","received_events_url":"https://api.github.com/users/lifelemons/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-20T15:47:03Z","updated_at":"2018-03-20T16:39:21Z","closed_at":null,"author_association":"COLLABORATOR","body":"When cloning and `using` the repo for the first time the error `ERROR: LoadError: LoadError: UndefVarError: cluster not defined` appears,  while loading `src/BCC.jl`. After the second call of `using JuLIPMaterials` it loads fine.\r\n\r\nCode and comments below, running in an environment that doesn't have `JuLIPMaterials`\r\n```\r\nusing JuLIPMaterials # package not found error, as expected\r\nPkg.clone(\"https://github.com/cortner/JuLIPMaterials.jl.git\") # clones fine\r\nusing JuLIPMaterials # error cluster not defined\r\nusing JuLIPMaterials  # no errors, seems to load fine\r\n```\r\nNot sure what `cluster` is as if one searches for it, it gets `export`-ed in `src/common.jl`, but it is not defined in there (nor in `JuLIP` or `StaticArrays` which are used in `src/common.jl`)"},"comment":{"url":"https://api.github.com/repos/cortner/JuLIPMaterials.jl/issues/comments/374668008","html_url":"https://github.com/cortner/JuLIPMaterials.jl/issues/14#issuecomment-374668008","issue_url":"https://api.github.com/repos/cortner/JuLIPMaterials.jl/issues/14","id":374668008,"user":{"login":"cortner","id":7688515,"avatar_url":"https://avatars0.githubusercontent.com/u/7688515?v=4","gravatar_id":"","url":"https://api.github.com/users/cortner","html_url":"https://github.com/cortner","followers_url":"https://api.github.com/users/cortner/followers","following_url":"https://api.github.com/users/cortner/following{/other_user}","gists_url":"https://api.github.com/users/cortner/gists{/gist_id}","starred_url":"https://api.github.com/users/cortner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cortner/subscriptions","organizations_url":"https://api.github.com/users/cortner/orgs","repos_url":"https://api.github.com/users/cortner/repos","events_url":"https://api.github.com/users/cortner/events{/privacy}","received_events_url":"https://api.github.com/users/cortner/received_events","type":"User","site_admin":false},"created_at":"2018-03-20T16:39:21Z","updated_at":"2018-03-20T16:39:21Z","author_association":"OWNER","body":"ouch, this is a big mess that I created here . . . I'll need to think about it. Sorry about this.\r\n\r\n"}}
{"actor":{"display_login":"cortner"}}