{"action":"created","issue":{"url":"https://api.github.com/repos/TuringLang/Turing.jl/issues/521","repository_url":"https://api.github.com/repos/TuringLang/Turing.jl","labels_url":"https://api.github.com/repos/TuringLang/Turing.jl/issues/521/labels{/name}","comments_url":"https://api.github.com/repos/TuringLang/Turing.jl/issues/521/comments","events_url":"https://api.github.com/repos/TuringLang/Turing.jl/issues/521/events","html_url":"https://github.com/TuringLang/Turing.jl/issues/521","id":359413562,"node_id":"MDU6SXNzdWUzNTk0MTM1NjI=","number":521,"title":"Failed to Precompile","user":{"login":"revendrat","id":14158272,"node_id":"MDQ6VXNlcjE0MTU4Mjcy","avatar_url":"https://avatars0.githubusercontent.com/u/14158272?v=4","gravatar_id":"","url":"https://api.github.com/users/revendrat","html_url":"https://github.com/revendrat","followers_url":"https://api.github.com/users/revendrat/followers","following_url":"https://api.github.com/users/revendrat/following{/other_user}","gists_url":"https://api.github.com/users/revendrat/gists{/gist_id}","starred_url":"https://api.github.com/users/revendrat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/revendrat/subscriptions","organizations_url":"https://api.github.com/users/revendrat/orgs","repos_url":"https://api.github.com/users/revendrat/repos","events_url":"https://api.github.com/users/revendrat/events{/privacy}","received_events_url":"https://api.github.com/users/revendrat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-12T10:21:45Z","updated_at":"2018-09-12T11:12:11Z","closed_at":null,"author_association":"NONE","body":"Have tried it on Mac as well as on Windows 10, failing to precompile at both while using Turing for the first time. Was using packages in first cell in this notebook: https://github.com/TuringLang/TuringExamples/blob/master/notebooks/Workflow.ipynb\r\nHere is the message. Could you please suggest what to do?\r\n\r\n┌ Info: Precompiling Turing [fce5fe82-541a-59a6-adf8-730c64b5f9a0]\r\n└ @ Base loading.jl:1186\r\nERROR: LoadError: syntax: extra token \"Sampler\" after end of expression\r\nStacktrace:\r\n [1] include at ./boot.jl:317 [inlined]\r\n [2] include_relative(::Module, ::String) at ./loading.jl:1038\r\n [3] include(::Module, ::String) at ./sysimg.jl:29\r\n [4] top-level scope at none:2\r\n [5] eval at ./boot.jl:319 [inlined]\r\n [6] eval(::Expr) at ./client.jl:389\r\n [7] top-level scope at ./none:3\r\nin expression starting at /Users/rev/.julia/packages/Turing/SDG4M/src/Turing.jl:90\r\n\r\n`Failed to precompile Turing [fce5fe82-541a-59a6-adf8-730c64b5f9a0] to /Users/rev/.julia/compiled/v1.0/Turing/gm4QC.ji.\r\n\r\nStacktrace:\r\n [1] error(::String) at ./error.jl:33\r\n [2] macro expansion at ./logging.jl:313 [inlined]\r\n [3] compilecache(::Base.PkgId, ::String) at ./loading.jl:1184\r\n [4] macro expansion at ./logging.jl:311 [inlined]\r\n [5] _require(::Base.PkgId) at ./loading.jl:941\r\n [6] require(::Base.PkgId) at ./loading.jl:852\r\n [7] macro expansion at ./logging.jl:311 [inlined]\r\n [8] require(::Module, ::Symbol) at ./loading.jl:834\r\n [9] top-level scope at In[3]:1`"},"comment":{"url":"https://api.github.com/repos/TuringLang/Turing.jl/issues/comments/420610648","html_url":"https://github.com/TuringLang/Turing.jl/issues/521#issuecomment-420610648","issue_url":"https://api.github.com/repos/TuringLang/Turing.jl/issues/521","id":420610648,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDYxMDY0OA==","user":{"login":"trappmartin","id":7974003,"node_id":"MDQ6VXNlcjc5NzQwMDM=","avatar_url":"https://avatars1.githubusercontent.com/u/7974003?v=4","gravatar_id":"","url":"https://api.github.com/users/trappmartin","html_url":"https://github.com/trappmartin","followers_url":"https://api.github.com/users/trappmartin/followers","following_url":"https://api.github.com/users/trappmartin/following{/other_user}","gists_url":"https://api.github.com/users/trappmartin/gists{/gist_id}","starred_url":"https://api.github.com/users/trappmartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trappmartin/subscriptions","organizations_url":"https://api.github.com/users/trappmartin/orgs","repos_url":"https://api.github.com/users/trappmartin/repos","events_url":"https://api.github.com/users/trappmartin/events{/privacy}","received_events_url":"https://api.github.com/users/trappmartin/received_events","type":"User","site_admin":false},"created_at":"2018-09-12T11:12:11Z","updated_at":"2018-09-12T11:12:11Z","author_association":"COLLABORATOR","body":"Please note that the example you linked to is slightly outdated if you use the master branch. It is probably better to try the example shown in the README or the [this](https://github.com/TuringLang/TuringTutorials/blob/master/0_Introduction.ipynb) one. We are currently working on improving the tutorials and documentation. So if you run into problems or need some help, feel free to ask.\r\n\r\ncc @cpfiffer "}}
{"actor":{"display_login":"trappmartin"}}