Joseki-jl/Joseki.jl

Errors on Kubernetes

Closed this issue · 14 comments

I am trying to get your great repo to run on Kubernetes following this simple tutorial:
https://cloud.google.com/kubernetes-engine/docs/tutorials/hello-app

When I try and run the container, I get the following error:
ERROR: LoadError: LoadError: LoadError: UndefVarError: AbstractDict not defined
Stacktrace:
[1] include_from_node1(::String) at ./loading.jl:576
[2] include(::String) at ./sysimg.jl:14
[3] include_from_node1(::String) at ./loading.jl:576
while loading /packages/Joseki/src/utilities.jl, in expression starting on line 521
while loading /packages/Joseki/src/Joseki.jl, in expression starting on line 6
while loading /server.jl, in expression starting on line 1

Any ideas on how to fix this?
I also noticed that you have passed the Julia v1.0 tests. Are you planning on updating the example?
Thank you

Hi Wade,

I'm glad to hear that you're trying out the package! It looks like AbstractDict only exists on 0.7 and 1.0, so I need to update the package and Readme to indicate that it will no longer work on 0.6. I'll also update the included docker container. Thanks,

Alex

This should be fixed via 31b71cb and Joseki now requires Julia 1.0 explicitly. Let me know if you run into any other issues!

Thank you very much. This is an important package; I have spent a lot of time trying to understand this issue, and your package is the only resource I have been able to understand.

I would be glad to take a look, but I don't have a chance until ~6 this evening pacific time. Is the GET endpoint working for you, and if so, how are you testing it?

Hi Wade,

I finally had some time this afternoon, and was able to deploy the default Joseki docker image to Google Cloud: http://35.197.67.210/pow/?x=2&y=3

The only thing I needed to change in some of the commands was the port that's being exposed -- the Joseki example exposes port 8000 rather than 8080 as in the GCloud instructions. If you still are not able to get this working let me know -- the easiest way to contact me is via the Julia developers Slack. Best -A