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

doesn't open Dreamview #4135

Closed
lblblong opened this issue May 10, 2018 · 6 comments
Closed

doesn't open Dreamview #4135

lblblong opened this issue May 10, 2018 · 6 comments
Assignees
Labels
Module: HMI Indicates HMI or Dreamview module related issues Module: Simulation & Dreamview Indicates simulation module related issues Type: Help wanted Indicates that a maintainer wants help on an issue/pull request from the rest of the community

Comments

@lblblong
Copy link

From build to bootstrap.sh, everything works, but doesn't open Dreamview

@hushuitian
Copy link

I saw the same issue.

@jinghaomiao jinghaomiao added Type: Help wanted Indicates that a maintainer wants help on an issue/pull request from the rest of the community Module: Simulation & Dreamview Indicates simulation module related issues Module: HMI Indicates HMI or Dreamview module related issues labels May 10, 2018
@siyangy
Copy link
Contributor

siyangy commented May 11, 2018

Can you be more specific about how Dreamview is not working? Also taking a look at logs under data/log/dreamview* will also help reveal things that went wrong.

@hushuitian
Copy link

hushuitian commented May 11, 2018

Hi,siyangy,
I just followed the README in https://github.com/ApolloAuto/apollo/tree/master to try to build and run the dreamview.
The dev PC is a Lenovo ThinkPad without nVidia GPU. The Ubuntu version is 16.04 installed the docker-ce per docker.io suggested linux installation steps and also added the user in order to use docker without sudo. The docker version is 17.09.1-ce and go version is 1.8.3 and gcc version is 5.4.0.
The build and run steps are:
(1)git clone https://github.com/ApolloAuto/apollo.git
(2)cd apollo
(3)bash docker/scripts/dev_start.sh
(4)bash docker/scripts/dev_into.sh
#in dev docker
(5)./apollo.sh clean
(6)bash apollo.sh build
(7)bash scripts/bootstrap.sh
Every step seems OK except no ESD and no GPU warnings.
The issue is that http://localhost:8888 cann't be reached or accessed from Chrome browser after Step(7).
By the way,I have tried ./apollo.sh build_fe before or after step (6)bash apollo.sh build,I got the error message as:
System check passed. Build continue ...
[WARNING] ESD CAN library supplied by ESD Electronics does not exist. If you need ESD CAN, please refer to third_party/can_card_library/esd_can/README.md.
yarn build v0.27.5
warning package.json: License should be a valid SPDX license expression
$ ./setup.sh; node_modules/.bin/webpack -p --progress
./gen_pbjs.sh: line 32: node_modules/protobufjs/bin/pbjs: No such file or directory
./gen_pbjs.sh: line 38: node_modules/protobufjs/bin/pbjs: No such file or directory
sh: 1: node_modules/.bin/webpack: not found
error Command failed with exit code 127.

I have also tried "npm install pbjs" to try to fix the error.It didn't work.
I have checked data/log/dreamview.out per your suggestion.There is nothing in the dreamview.out file.
So the dreamview doesn't work.
Pls help to figure it out.
Thanks a lot for your help in advance!
-Alex

@lblblong
Copy link
Author

@hushuitian @siyangy
Thank you, it has been resolved.
Found a solution under other issues
Is a question about PCL Lib
I can already see Dreamview after recompiling PCL Lib
#3615

@siyangy
Copy link
Contributor

siyangy commented May 11, 2018

@hushuitian You can run ./scripts/dreamview.sh start_fe to see how it exits abnormally, and if it crashed there would be a core dump file generated under /apollo/data/core, and you can use gdb to look into it.

Also the frontend code is precompiled so you don't need to do ./apollo.sh build_fe.

@hushuitian
Copy link

Thanks,@lblblong @siyangy,for help.
I followed issue#3615 suggestion and recompiled pcl lib before build apollo today. It worked. I saw the dreamview.
Thanks again.
-Alex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Module: HMI Indicates HMI or Dreamview module related issues Module: Simulation & Dreamview Indicates simulation module related issues Type: Help wanted Indicates that a maintainer wants help on an issue/pull request from the rest of the community
Projects
None yet
Development

No branches or pull requests

5 participants