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

[Question] How to build other branchs that are not the master? #324

Open
ebellumat opened this issue May 4, 2024 · 2 comments
Open

[Question] How to build other branchs that are not the master? #324

ebellumat opened this issue May 4, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@ebellumat
Copy link

ebellumat commented May 4, 2024

Hello! I want to contribute with the project, but I noticed a lack of files in other branchs that are no the master.

This is on purpose? There's a specific reason for that?

So, I Need to ask, the master branch build is passing? I can contribute using this branch as a base or I need to know something else?

@ebellumat ebellumat added the enhancement New feature or request label May 4, 2024
@ebellumat
Copy link
Author

ebellumat commented May 5, 2024

I'm getting this error when I try to build the master branch.

Screenshot from 2024-05-05 12-40-46

Output:

./launch_openpilot.sh 
/home/ebellumat/Documents/GitHub/sunnypilot/launch_chffrplus.sh: line 7: /data/openpilot/launch_env.sh: No such file or directory
ln: failed to create symbolic link '/data/pythonpath': No such file or directory
/home/ebellumat/Documents/GitHub/sunnypilot/launch_chffrplus.sh: line 82: tmux: command not found
selfdrive/ui/translations/main_ar.ts: needs update
selfdrive/ui/translations/main_de.ts: needs update
selfdrive/ui/translations/main_fr.ts: needs update
selfdrive/ui/translations/main_ja.ts: needs update
selfdrive/ui/translations/main_ko.ts: needs update
selfdrive/ui/translations/main_pt-BR.ts: needs update
selfdrive/ui/translations/main_th.ts: needs update
selfdrive/ui/translations/main_tr.ts: needs update
selfdrive/ui/translations/main_zh-CHS.ts: needs update
selfdrive/ui/translations/main_zh-CHT.ts: needs update
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: `.' is up to date.
scons: done building targets.
system/loggerd/bootlog.cc: bootlog to /home/ebellumat/.comma/media/0/realdata/boot/00000005--2f9e54226e
missing public key: /home/ebellumat/.comma/persist/comma/id_rsa.pub
selfdrive/ui/translations/main_ar.ts: needs update
selfdrive/ui/translations/main_de.ts: needs update
selfdrive/ui/translations/main_fr.ts: needs update
selfdrive/ui/translations/main_ja.ts: needs update
selfdrive/ui/translations/main_ko.ts: needs update
selfdrive/ui/translations/main_pt-BR.ts: needs update
selfdrive/ui/translations/main_th.ts: needs update
selfdrive/ui/translations/main_tr.ts: needs update
selfdrive/ui/translations/main_zh-CHS.ts: needs update
selfdrive/ui/translations/main_zh-CHT.ts: needs update
Manager failed to start
Traceback (most recent call last):
  File "/home/ebellumat/Documents/GitHub/sunnypilot/selfdrive/manager/./manager.py", line 270, in <module>
    main()
  File "/home/ebellumat/Documents/GitHub/sunnypilot/selfdrive/manager/./manager.py", line 239, in main
    manager_init()
  File "/home/ebellumat/Documents/GitHub/sunnypilot/selfdrive/manager/./manager.py", line 161, in manager_init
    p.prepare()
  File "/home/ebellumat/Documents/GitHub/sunnypilot/openpilot/selfdrive/manager/process.py", line 213, in prepare
    importlib.import_module(self.module)
  File "/home/ebellumat/.pyenv/versions/3.11.4/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/home/ebellumat/Documents/GitHub/sunnypilot/system/fleetmanager/fleet_manager.py", line 5, in <module>
    from flask import Flask, render_template, Response, request, send_from_directory, session, redirect, url_for
ModuleNotFoundError: No module named 'flask'`

@ebellumat
Copy link
Author

Issue solved commenting the FleetManager, but @sunnyhaibin Why the tools folder are available only on the master branch? I'm curious.

@ebellumat ebellumat changed the title [Question] The master branch supports being build? [Question] How to build other branchs that are not the master? May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant