{"action":"opened","issue":{"url":"https://api.github.com/repos/biaslab/ForneyLab.jl/issues/9","repository_url":"https://api.github.com/repos/biaslab/ForneyLab.jl","labels_url":"https://api.github.com/repos/biaslab/ForneyLab.jl/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/biaslab/ForneyLab.jl/issues/9/comments","events_url":"https://api.github.com/repos/biaslab/ForneyLab.jl/issues/9/events","html_url":"https://github.com/biaslab/ForneyLab.jl/issues/9","id":376347558,"node_id":"MDU6SXNzdWUzNzYzNDc1NTg=","number":9,"title":"ForneyLab.jl clashes with Distributions.jl: UndefVarError: Univariate not defined in stepW!","user":{"login":"mroavi","id":19517248,"node_id":"MDQ6VXNlcjE5NTE3MjQ4","avatar_url":"https://avatars2.githubusercontent.com/u/19517248?v=4","gravatar_id":"","url":"https://api.github.com/users/mroavi","html_url":"https://github.com/mroavi","followers_url":"https://api.github.com/users/mroavi/followers","following_url":"https://api.github.com/users/mroavi/following{/other_user}","gists_url":"https://api.github.com/users/mroavi/gists{/gist_id}","starred_url":"https://api.github.com/users/mroavi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mroavi/subscriptions","organizations_url":"https://api.github.com/users/mroavi/orgs","repos_url":"https://api.github.com/users/mroavi/repos","events_url":"https://api.github.com/users/mroavi/events{/privacy}","received_events_url":"https://api.github.com/users/mroavi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-01T11:05:24Z","updated_at":"2018-11-01T11:05:24Z","closed_at":null,"author_association":"NONE","body":"I am running into this error when I try to use both the **Distributions.jl** and **ForneyLab.jl** packages in one Julia session.\r\n\r\nThe attached file reproduces the problem. In this example, I first import the Distributions package and plot a Gamma function.  \r\n\r\nLater, I import ForneyLab and get the following warnings:\r\n```\r\n[Distributions-ForneyLab-error.zip](https://github.com/biaslab/ForneyLab.jl/files/2538212/Distributions-ForneyLab-error.zip)\r\n\r\n\r\nWARNING: both ForneyLab and Distributions export \"Univariate\"; uses of it in module Main must be qualified\r\nWARNING: both ForneyLab and Distributions export \"Gamma\"; uses of it in module Main must be qualified\r\n```\r\n\r\nAnd afterfwards when I try to run a variational inference algorithm generated with ForneyLab.jl I get the error:\r\n\r\n```\r\nUndefVarError: Univariate not defined\r\nstepW!(::Dict{Symbol,Float64}, ::Dict{Any,Any}, ::Array{Message,1}) at none:16\r\nstepW!(::Dict{Symbol,Float64}, ::Dict{Any,Any}) at none:16\r\nmacro expansion at Distributions-ForneyLab-error.jl:82 [inlined]\r\ntop-level scope at util.jl:156 [inlined]\r\ntop-level scope at none:0\r\ninclude_string(::Module, ::String, ::String) at loading.jl:1005\r\ninclude_string(::Module, ::String, ::String, ::Int64) at eval.jl:30\r\n(::getfield(Atom, Symbol(\"##117#123\")){String,Int64,String})() at eval.jl:94\r\nwithpath(::getfield(Atom, Symbol(\"##117#123\")){String,Int64,String}, ::String) at utils.jl:30\r\nwithpath at eval.jl:46 [inlined]\r\n#116 at eval.jl:93 [inlined]\r\nwith_logstate(::getfield(Atom, Symbol(\"##116#122\")){String,Int64,String}, ::Base.CoreLogging.LogState) at logging.jl:397\r\nwith_logger at logging.jl:493 [inlined]\r\n#115 at eval.jl:92 [inlined]\r\nhideprompt(::getfield(Atom, Symbol(\"##115#121\")){String,Int64,String}) at repl.jl:85\r\nmacro expansion at eval.jl:91 [inlined]\r\n(::getfield(Atom, Symbol(\"##114#120\")){Dict{String,Any}})() at task.jl:85\r\n```\r\n\r\n\r\n"}}
{"actor":{"display_login":"mroavi"}}