apollo icon indicating copy to clipboard operation
apollo copied to clipboard

Apollo 3.5 'cyber_recorder play -f docs/demo_guide/demo_3.5.record --loop' error dreamviewer blank

Open springsun101 opened this issue 7 years ago • 9 comments

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...' cyber_recorder play -f docs/demo_guide/demo_3.5.record --loop

  2. Click on '....'

  3. Scroll down to '....'

  4. See error **

  • E0223 20:37:40.765408 15422 record_file_reader.cc:69] [cyber_recorder] Check section type failed, expect: 0, actual: 1936876918
  • E0223 20:37:40.765718 15422 record_file_reader.cc:44] [cyber_recorder] Read header section fail, file: docs/demo_guide/demo_3.5.record
  • E0223 20:37:40.765908 15422 record_reader.cc:32] [cyber_recorder] Open record file failed, file: docs/demo_guide/demo_3.5.record
  • earliest_begin_time: 18446744073709551615, latest_end_time: 0, total_msg_num: 0
  • E0223 20:37:40.766229 15422 play_task_producer.cc:186] [cyber_recorder] begin time are equal or larger than end time, begin_time_ns=18446744073709551615, end_time_ns=0

**

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem. image

image

image

Desktop (please complete the following information):

  • OS: ubuntu 18.04
  • Browser chrome
  • Version

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context Add any other context about the problem here.

springsun101 avatar Feb 23 '19 21:02 springsun101

I tried to reproduce it,but everything is normal in my dev environment. @springsun101

caros@in_dev_docker:/apollo$ cyber_recorder play -f docs/demo_guide/demo_3.5.record --loop
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0225 14:44:01.379214  6126 global_data.cc:153] [cyber_recorder] host ip: 172.24.189.119
file: docs/demo_guide/demo_3.5.record, chunk_number: 3, begin_time: 1546888377338834894 (2019-01-08 03:12:57), end_time: 1546888422886740928 (2019-01-08 03:13:42), message_number: 61615
earliest_begin_time: 1546888377338834894, latest_end_time: 1546888422886740928, total_msg_num: 61615

Please wait 3 second(s) for loading...
Hit Ctrl+C to stop, Space to pause, or 's' to step.

[RUNNING] Record Time: 1546888398.144    Progress: 20.805 / 45.548

You can run the following command to determine if the demo_3.5.record file are consistent with mine.

caros@in_dev_docker:/apollo$ md5sum docs/demo_guide/demo_3.5.record
ea63462fe73bd3807277e4c3bddd3b43  docs/demo_guide/demo_3.5.record

baowanyu avatar Feb 25 '19 06:02 baowanyu

After following step-by-step this https://github.com/ApolloAuto/apollo/tree/master/docs/demo_guide I have the same problem. It seems the problem is with git-lfs

seger@in_dev_docker:/apollo$ md5sum docs/demo_guide/demo_3.5.record
05a3d33313a7a1f06a019affe1800305  docs/demo_guide/demo_3.5.record

seger@in_dev_docker:/apollo$ cat docs/demo_guide/demo_3.5.record
version https://git-lfs.github.com/spec/v1
oid sha256:7bd3d160eeb8ff85953df54c93be9c4fe9f1e87ab5e5846a42417633151f1465
size 96246211

astroseger avatar Feb 26 '19 15:02 astroseger

It looks like you're missing git-lfs tool. You should install this tool and pull code again.

Refer to the following documentation: https://github.com/ApolloAuto/apollo/blob/master/docs/quickstart/apollo_software_installation_guide.md

baowanyu avatar Feb 28 '19 11:02 baowanyu

@springsun101 the migration guide should help resolve this issue! Let us know if you have any additional questions. Closing this issue for now!

natashadsouza avatar Feb 28 '19 21:02 natashadsouza

@baowanyu @natashadsouza I have git-lfs tool installed. Got the same issue. Any advice here? Thanks!

wzjin2017 avatar Apr 16 '19 00:04 wzjin2017

@wzjin2017 send us a screenshot of your error message to help us debug your request better. Thanks!

natashadsouza avatar Apr 16 '19 01:04 natashadsouza

@wzjin2017 send us a screenshot of your error message to help us debug your request better. Thanks!

The error log is similar to the one above. I resolved the problem by reinstalling apollo a few times, the last time worked. But still, there should be a simple way to fix it.

wzjin2017 avatar Apr 16 '19 13:04 wzjin2017

@wzjin2017 unfortunately, Git LFS is not developed by us internally, and we understand that you may encounter issues with it, but it is something that would need to be fixed at their end. Closing this issue currently.

natashadsouza avatar Apr 16 '19 17:04 natashadsouza

Dreamview is running at http://localhost:8888
root@in-dev-docker:/apollo# cd docs/demo_guide/
root@in-dev-docker:/apollo/docs/demo_guide# python3 record_helper.py demo_3.5.record
Downloading https://github.com/ApolloAuto/apollo/releases/download/v3.5.0/demo_3.5.record
--2021-03-14 06:46:12--  https://github.com/ApolloAuto/apollo/releases/download/v3.5.0/demo_3.5.record
Resolving github.com (github.com)... 52.74.223.119
Connecting to github.com (github.com)|52.74.223.119|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-releases.githubusercontent.com/96246170/5ef2fd80-1274-11e9-8d26-8ff378bbd07f?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210314%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210314T054612Z&X-Amz-Expires=300&X-Amz-Signature=d41452e1915f529ea1a5e733597218eb22104e3eb329be8fff8db8787619cef5&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=96246170&response-content-disposition=attachment%3B%20filename%3Ddemo_3.5.record&response-content-type=application%2Foctet-stream [following]
--2021-03-14 06:46:12--  https://github-releases.githubusercontent.com/96246170/5ef2fd80-1274-11e9-8d26-8ff378bbd07f?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210314%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210314T054612Z&X-Amz-Expires=300&X-Amz-Signature=d41452e1915f529ea1a5e733597218eb22104e3eb329be8fff8db8787619cef5&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=96246170&response-content-disposition=attachment%3B%20filename%3Ddemo_3.5.record&response-content-type=application%2Foctet-stream
Resolving github-releases.githubusercontent.com (github-releases.githubusercontent.com)... 185.199.108.154, 185.199.110.154, 185.199.109.154, ...
Connecting to github-releases.githubusercontent.com (github-releases.githubusercontent.com)|185.199.108.154|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 96246211 (92M) [application/octet-stream]
Saving to: 'demo_3.5.record'

demo_3.5.record     100%[===================>]  91.79M  24.5MB/s    in 3.7s    

2021-03-14 06:46:18 (24.5 MB/s) - 'demo_3.5.record' saved [96246211/96246211]

Successfully downloaded demo_3.5.record
root@in-dev-docker:/apollo/docs/demo_guide# cyber_recorder play -f docs/demo_guide/demo_3.5.record -l
bash: cyber_recorder: command not found
root@in-dev-docker:/apollo/docs/demo_guide# cd ../..
root@in-dev-docker:/apollo# cd cyber/
root@in-dev-docker:/apollo/cyber# . setup.bash
[WARNING] nvidia-smi not found. CPU will be used.
root@in-dev-docker:/apollo/cyber# cd ..
root@in-dev-docker:/apollo# cd docs/demo_guide/
root@in-dev-docker:/apollo/docs/demo_guide# cyber_recorder play -f docs/demo_guide/demo_3.5.record -l
E0314 06:47:41.259459 124254 record_file_reader.cc:31] [cyber_recorder]File not exist, file: docs/demo_guide/demo_3.5.record
E0314 06:47:41.259518 124254 record_reader.cc:35] [cyber_recorder]Failed to open record file: docs/demo_guide/demo_3.5.record
earliest_begin_time: 18446744073709551615, latest_end_time: 0, total_msg_num: 0
E0314 06:47:41.259536 124254 play_task_producer.cc:177] [cyber_recorder]begin time are equal or larger than end time, begin_time_ns=18446744073709551615, end_time_ns=0
root@in-dev-docker:/apollo/docs/demo_guide# cd ../..
root@in-dev-docker:/apollo# md5sum docs/demo_guide/demo_3.5.record
ea63462fe73bd3807277e4c3bddd3b43  docs/demo_guide/demo_3.5.record

I encountered the same problem.

TronYY avatar Mar 14 '21 05:03 TronYY