Closed ygdl0228 closed 1 year ago
Please check if the replay.txt
and replay_roadnet.json
corresponds to each other.
These two documents are of course corresponding,Is it because replay.txt is too big
Can you open F12 dev tools and check what error occurred?
of course
Please check the console tab in F12 tool, notice that you should open the console tab before you select replay file and start simulation.
Sorry, I don't understand what you mean. I'm not very familiar with this place. I can open the console tab before I select replay file and start simulation. But there is nothing here
Is this what you need
Yes, there should be erros in the console. Could you please share the two replay files, so I can check them locally.
ok, by email?
You could upload them to a netdisc
Seems that the replay.txt is too large which causes the error, try using a smaller replay.txt, I successfully run the visualization with the first 1000 lines of your replay file
OK, thanks
hi, I'm trying to use the simulator, but I get this page:
Can you tell me what browser you use? and do you use Linux or Windows?
trying to use the simulator, but I get this
firefox on linux works too
I have replayLog_fake.txt( 5.2 GiB) and roadnetLog_fake.json( 1 MiB). Presee start will got "- Loading replayLog_fake.txtfailed" in Info Box. I tried this at least three times bug got same result
I tried print the err info(frontend/script.js L125) in F12-console, and got
error { target: FileReader, isTrusted: true, lengthComputable: true, loaded: 4294959104, total: 5555716025, srcElement: FileReader, currentTarget: FileReader, eventPhase: 2, bubbles: false, cancelable: false, … }
bubbles: false
cancelBubble: false
cancelable: false
composed: false
currentTarget: null
defaultPrevented: false
eventPhase: 0
explicitOriginalTarget: FileReader { readyState: 2, result: null, error: DOMException, … }
isTrusted: true
lengthComputable: true
loaded: 4294959104
originalTarget: FileReader { readyState: 2, result: null, error: DOMException, … }
returnValue: true
srcElement: FileReader { readyState: 2, result: null, error: DOMException, … }
target: FileReader { readyState: 2, result: null, error: DOMException, … }
timeStamp: 188629
total: 5555716025
type: "error"
<get isTrusted()>: function isTrusted()
<prototype>: ProgressEventPrototype { lengthComputable: Getter, loaded: Getter, total: Getter, … }
script.js:126:17
too big to render. use head -500 replayLog_fake.txt>fake-500.txt will works out.
Traffic light shows white and replay doesn't show cars.