Comments (6)
The code and data are out of sync. git pull, and run ./data/grab_seed_data.sh again (or rebuild the maps yourself). I'll add some error handling here to explain what's happening more clearly
from abstreet.
I'm getting the same error. Grab the latest data and performed a git pull on the current local repo. No luck. Tried also a completely new clone and performed the same steps but still no luck. Maybe it's a windows thing, I'll try on mac later today.
from abstreet.
It works fine on mac. I was able to compile and run the game.
On Windows, I tried also using the Windows Subsystem for Linux(WSL) feature with Ubuntu. Compiling and running the game within Ubuntu using this feature, the game still crashed at startup with the following error:
from abstreet.
The WSL issue seems like an issue with https://github.com/rust-windowing/winit. Since you compiled on Ubuntu, winit found bindings to wayland (your display server), but when you run on Windows, wayland doesn't exist.
The very first error is a serde deserialization error. Every time I've seen it, it means the file I'm reading was serialized with older code. I've never seen a difference between platforms matter.
What I'll work on:
- better errors when running the game if map data is missing or out-of-date
- a script to download a much smaller set of files to run from source (you won't be able to rebuild maps from scratch, but you'll be able to work on the simulation and GUI layers)
- figuring out what the deserialization issue is here
from abstreet.
First two problems fixed. I don't have a Windows env and so can't easily help debug. Seems like using WSL doesn't work (kind of by design), so if you try again normally and still get the "invalid value" deserialization error, check the md5sum of the montlake.bin file. It should match data/MANIFEST.txt's entry.
from abstreet.
Closing old bugs. If you're still having issues, please reopen. Thanks!
from abstreet.
Related Issues (20)
- Impossible/impracticable to undo automated filter placement in Design LTN tool HOT 2
- Crash when clicking on a parking lot HOT 3
- Trying to load Camden data to test low traffic neighbourhoods HOT 6
- Boolean ops crash in WASM only HOT 4
- Mac builds broken HOT 9
- Switching maps doesn't clear proposal URL
- Missing crosswalks in LTN "crossing" feature HOT 1
- 15 min neighborhood routing issues HOT 2
- cant parse hebrew HOT 6
- Draw routes more clearly when unzoomed on large maps HOT 5
- Grid2Demand agent file fails to load.
- Crash when launching traffic sandbox HOT 1
- Crash when changing one-way direction
- Print / export map HOT 1
- App crashed when trying to load San Francisco map HOT 1
- LTN traffic prediction is too accurate HOT 1
- Import a new map HOT 3
- Crash while simulating traffic. HOT 1
- Location names in Cyrillic do not load HOT 3
- Traffic lights ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from abstreet.