plotly / Dash.jl

Dash for Julia - A Julia interface to the Dash ecosystem for creating analytic web applications in Julia. No JavaScript required.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

favicon.ico returning 500 in PackageCompiler.jl compiled app

etpinard opened this issue · comments

We've been playing with Dash.jl + PackageCompiler.jl recently and things are working pretty well!

Thanks very much for the efforts that went into #131

One small problem we've encountered has been with the favicon. Currently we get

image

in the frontend and

image

on the backend.

I suspect this has to do with the hardcoded path in

joinpath(ROOT_PATH, "src", "favicon.ico")

which isn't relocatable in PackageCompiler.jl compiled apps.


I'd be willing to submit a PR (or PRs) to fix the problem. I suspect the "best" solution would be to move the favicon in the DashCoreResources repo and replace joinpath(ROOT_PATH, ...) with the corresponding artifact"" statement.

Looking forward to hearing what you have to say here.


Moreover, let me know if you need a reproducible example. I didn't provide one initial as I thought the error logs were enough to pinpoint the bug.

Related #108

cc @Felix-Gauthier

Hi!
Yeah, I hadn't thought of that. I'll try to get to the beginning of the trail. weeks to update the resource generator and move favicon to Core Resources