-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
still some errors #3
Comments
Sorry, accidentally left that
That should be fixed now as well. Thanks for the heads up. I wanted to test your MWE but it threw an error that I don't have permissions to load the ERROR: LoadError: SystemError: opening file "/home/fbanning/.julia/packages/Agents/vmoBx/src/spaces/../../Artifacts.toml": Keine Berechtigung
Stacktrace:
[1] systemerror(p::String, errno::Int32; extrainfo::Nothing)
@ Base ./error.jl:168
[2] #systemerror#62
@ ./error.jl:167 [inlined]
[3] systemerror
@ ./error.jl:167 [inlined]
[4] open(fname::String; lock::Bool, read::Nothing, write::Nothing, create::Nothing, truncate::Bool, append::Nothing)
@ Base ./iostream.jl:293
[5] open(fname::String, mode::String; lock::Bool)
@ Base ./iostream.jl:355
[6] open(fname::String, mode::String)
@ Base ./iostream.jl:355
[7] open(::Pkg.Artifacts.var"#9#13"{Dict{String, Any}}, ::String, ::Vararg{String, N} where N; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Base ./io.jl:328
[8] open
@ ./io.jl:328 [inlined]
[9] bind_artifact!(artifacts_toml::String, name::String, hash::Base.SHA1; platform::Nothing, download_info::Nothing, lazy::Bool, force::Bool)
@ Pkg.Artifacts /home/abuild/rpmbuild/BUILD/julia-1.6.3/usr/share/julia/stdlib/v1.6/Pkg/src/Artifacts.jl:245
[10] test_map()
@ Agents.OSM ~/.julia/packages/Agents/vmoBx/src/spaces/openstreetmap.jl:136
[11] zombies(; seed::Int64)
@ Agents.Models ~/.julia/packages/Agents/vmoBx/src/models/zombies.jl:12
[12] zombies()
@ Agents.Models ~/.julia/packages/Agents/vmoBx/src/models/zombies.jl:12
[13] top-level scope
@ ~/Code/test-OSMMakie/agents-test.jl:3 I've never worked with artifacts before as far as I know. Do I have to set up anything in a specific way? |
@AayushSabharwal ooooooo oooooo problem! You know anything of this artifacts??? @fbanning thanks for the fixes, I'll get back to it as soon as I can, probably in a couple of days. |
Worked now after I've cloned the master branch and created a symlink to its directory from |
This is weird. I'll take a look. |
That looks awesome! |
Since the errors raised in this issue seem to be fixed now, I would close it. Feel free to play around with OSMMakie a bit more and see how you can break and/or extend it. :) |
@fbanning just double checking: all of these stuff are fixed in the |
I've created the above plot on the master branch. The fixes discussed above were merged in v0.0.2. There should be no need to use the interaction branch to be able to use |
Hi, it doesn't work yet, once again, here is the code I use to test:
with Agents master. This code is useful because now the default graph is different. It already highlighted one problem.
In line 41 in recipe.jl you need to write
zip(1:Graphs.ne(osm.graph),
instead of1:osm.gra.ne
. Not all graphs have a.ne
field, but thene
function always returns the number of edges. I was going to do a PR but even after this fix there is another problem:Indeed, looking at the definition of
Attributes
at lline 23, there isn't any attribute with that name. I'm not sure how to fix this part as I've never learned the Makie recipe system yet.The text was updated successfully, but these errors were encountered: