Skip to content
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

ERROR: LoadError: Buffer position does not have the same length as the other buffers #1

Closed
Datseris opened this issue Jan 8, 2022 · 5 comments · Fixed by #2
Closed

Comments

@Datseris
Copy link
Contributor

Datseris commented Jan 8, 2022

I get error:

ERROR: LoadError: Buffer position does not have the same length as the other buffers.
        offset has length 2411
        position has length 1483
        scale has length 241

on running the script (requires Agents#master):

using Agents

model, zombie_step!, model_step! = Models.zombies()

using OSMMakie
using GLMakie
ac(agent) = agent.infected ? :green : :black
as(agent) = agent.infected ? 6 : 5

fig, ax, plot = osmplot(model.space.map)
display(fig)

The only reason for me to use Agents is to get the map of Geottingen. Since you have not encountered this issue so far, that's why I'm explicitly using Agents, so that we get the map that has the problem.

Don't know if its a problem with map or some assumption of hte plotting library.

cc @fbanning , @ AayushSabharwal

@Datseris
Copy link
Contributor Author

Datseris commented Jan 8, 2022

@AayushSabharwal cc

@fbanning
Copy link
Member

Did you use the inspection branch for your test?

@Datseris
Copy link
Contributor Author

no, thanks, i'll do this when I get around to it.

@fbanning
Copy link
Member

I'm currently working on the inspection branch again. It's almost working now, so the errors on the master branch should soon be a thing of the past. If you're not in a hurry, you can wait until I've merged it.

@fbanning fbanning mentioned this issue Jan 11, 2022
@fbanning
Copy link
Member

@Datseris Should be fixed on master branch now. Feel free to try it out :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants