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 occurred when drawing #120

Open
ZheliXiong opened this issue Mar 22, 2021 · 10 comments
Open

error occurred when drawing #120

ZheliXiong opened this issue Mar 22, 2021 · 10 comments

Comments

@ZheliXiong
Copy link

hello,bro.i meet a problem after i choose the correct replay_roadnet.json and replay.txt file and click start.it says -start replaying - error occurred when drawing. i dont know is that my browser's problem?byw my replay.txt is empty,i dont know is that normal?

@only-changer
Copy link
Contributor

If your replay.txt is empty, it means you did not save the replay or some error occurs when running CityFlow. You can test your browser by running an existing replay_roadnet.json and replay.txt by running "frontend/download_replay.py".

@ZheliXiong
Copy link
Author

ZheliXiong commented Mar 25, 2021 via email

@only-changer
Copy link
Contributor

How many steps did you run? You can output the total vehicle count in every step to see whether the simulation is working.

@ZheliXiong
Copy link
Author

ZheliXiong commented Mar 25, 2021 via email

@only-changer
Copy link
Contributor

En, you should run the engine after you create it by "eng.next_step()".

@ZheliXiong
Copy link
Author

ZheliXiong commented Mar 25, 2021 via email

@only-changer
Copy link
Contributor

You are welcome~

@Siaaa-3
Copy link

Siaaa-3 commented Jun 5, 2022

hello! I meet the problem that the replaylogfile.json and replay.txt file can be loaded successfully, but it shows "drawing roadnet faeiled"!

I use the google browser, and I think these two file is correct.

Can you give me some suggestion about this problem? Or, can you tell me which browser you are use ? Thanks a lot!

@zhc134 zhc134 closed this as completed Oct 20, 2022
@zhc134 zhc134 reopened this Oct 20, 2022
@zhc134
Copy link
Member

zhc134 commented Oct 20, 2022

Please check the roadnet file you uploaded in GUI corresponds to roadnetLogFile in config.json

@xingxindrst
Copy link

oh! I success. I appreciate you so much! You helps me a lot. thanks!!! :) 发自我的iPhone

------------------ Original ------------------ From: Chang Liu @.> Date: Thu,Mar 25,2021 8:11 PM To: cityflow-project/CityFlow @.> Cc: shuan19920309 @.>, Author @.> Subject: Re: [cityflow-project/CityFlow] error occurred when drawing (#120)

hello,I have the same question,the replay.txt is empty.I have used "eng.next_step()",but the file "replay.txt" is still empty.How did you solve this problem?

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

No branches or pull requests

5 participants