Re: meta-everest


Kai-Uwe Hermann
 

Hi Alberto,

there is a openjdk recipe in meta-everest, you're probably missing

openjdk-jre

in your image

Kai

Am Mo., 16. Jan. 2023 um 10:06 Uhr schrieb Anton Wöllert via lists.lfenergy.org <anton.woellert=pionix.de@...>:

Hi Alberto,

the problem you're seeing here is probably a missing java runtime.  Type 'which java' for diagnosis or install the openjdk on your target system.

Anton

Am Mo., 16. Jan. 2023 um 10:01 Uhr schrieb Alberto Merciai <alb3rt0.m3rciai@...>:
Hello,

I'm trying to bitbake
meta-everest  c4158593c1a632958e2202c382cbd49f6b85f7a4

build works fine but If I try to run the manager I get this error? have you got the same issue? Any tips?

/usr/bin/manager --conf /etc/everest/config-sil-dc.yaml
2022-04-28 17:49:18.030240 [INFO] manager          :: 8< 8< 8< ------------------------------------------------------------------------------ 8< 8< 8<
2022-04-28 17:49:18.030583 [INFO] manager          :: EVerest manager starting using /etc/everest/config-sil-dc.yaml
2022-04-28 17:49:19.084846 [INFO] everest_ctrl     :: everest controller process started ...
2022-04-28 17:49:19.091323 [INFO] everest_ctrl     :: Launching controller service on port 8849
2022-04-28 17:49:27.219253 [INFO] energy_manager:  :: Module energy_manager initialized.
2022-04-28 17:49:27.377287 [INFO] auth:Auth        :: Module auth initialized.
2022-04-28 17:49:27.547812 [INFO] grid_connection  :: Module grid_connection_point initialized.
2022-04-28 17:49:27.567745 [INFO] api:API          :: Module api initialized.
2022-04-28 17:49:28.693221 [INFO] evse_manager:Ev  :: Module evse_manager initialized.
2022-04-28 17:49:32.111858 [INFO] token_validator  :: Module token_validator initialized.
2022-04-28 17:49:32.124049 [INFO] imd:JsIMDSimula  :: Module imd initialized.
2022-04-28 17:49:32.236021 [INFO] yeti_driver:JsY  :: Module yeti_driver initialized.
2022-04-28 17:49:32.274439 [INFO] token_provider:  :: Module token_provider initialized.
2022-04-28 17:49:32.284874 [INFO] powersupply_dc:  :: Module powersupply_dc initialized.
2022-04-28 17:49:32.356947 [INFO] car_simulator:J  :: Module car_simulator initialized.
2022-04-28 17:49:32.421857 [INFO] iso15118_car:Js  :: Module iso15118_car initialized.
2022-04-28 17:49:32.471295 [INFO] slac:JsSlacSimu  :: Module slac initialized.
2022-04-28 17:49:39.211908 [INFO] iso15118_charge  :: Initializing framework for module iso15118_charger:PyJosev...
2022-04-28 17:49:39.250251 [INFO] iso15118_charge  :: Initializing module iso15118_charger:PyJosev...
2022-04-28 17:49:39.511907 [INFO] iso15118_charge  :: Module iso15118_charger initialized.
2022-04-28 17:49:39.544715 [INFO] manager          :: >>> All modules are initialized. EVerest up and running <<<
terminate called after throwing an instance of 'pybind11::error_already_set'
  what():  FileNotFoundError: [Errno 2] No such file or directory: 'java'

At:
  /usr/lib/python3.10/subprocess.py(1845): _execute_child
  /usr/lib/python3.10/subprocess.py(1005): __init__
  /usr/lib/python3.10/site-packages/py4j/java_gateway.py(331): launch_gateway
  /usr/lib/python3.10/site-packages/py4j/java_gateway.py(2162): launch_gateway
  /usr/libexec/everest/modules/PyJosev/../../3rd_party/josev/iso15118/shared/exificient_exi_codec.py(22): __init__
  /usr/libexec/everest/modules/PyJosev/module.py(31): main


2022-04-28 17:49:39.841179 [CRIT] manager         int boot(const boost::program_options::variables_map&) :: Module iso15118_charger (pid: 1053) exited with status: 6. Terminating all modules.
2022-04-28 17:49:39.841868 [INFO] manager          :: SIGTERM of child: api (pid: 1044) succeeded.
2022-04-28 17:49:39.842118 [INFO] manager          :: SIGTERM of child: auth (pid: 1045) succeeded.
2022-04-28 17:49:39.842296 [INFO] manager          :: SIGTERM of child: car_simulator (pid: 1046) succeeded.
2022-04-28 17:49:39.842482 [INFO] manager          :: SIGTERM of child: energy_manager (pid: 1047) succeeded.
2022-04-28 17:49:39.842726 [INFO] manager          :: SIGTERM of child: evse_manager (pid: 1048) succeeded.
2022-04-28 17:49:39.842995 [INFO] manager          :: SIGTERM of child: grid_connection_point (pid: 1050) succeeded.
2022-04-28 17:49:39.843159 [INFO] manager          :: SIGTERM of child: imd (pid: 1051) succeeded.
2022-04-28 17:49:39.843301 [INFO] manager          :: SIGTERM of child: iso15118_car (pid: 1052) succeeded.
2022-04-28 17:49:39.843453 [INFO] manager          :: SIGTERM of child: powersupply_dc (pid: 1054) succeeded.
2022-04-28 17:49:39.845784 [INFO] manager          :: SIGTERM of child: slac (pid: 1055) succeeded.
2022-04-28 17:49:39.846481 [INFO] manager          :: SIGTERM of child: token_provider (pid: 1056) succeeded.
2022-04-28 17:49:39.847427 [INFO] manager          :: SIGTERM of child: token_validator (pid: 1058) succeeded.
2022-04-28 17:49:39.848435 [INFO] manager          :: SIGTERM of child: yeti_driver (pid: 1063) succeeded.
2022-04-28 17:49:39.848645 [CRIT] manager         int boot(const boost::program_options::variables_map&) :: Exiting manager.


Thanks,
A



--
Kai-Uwe Hermann
Softwareentwickler

Pionix GmbH

Am Mühlgarten 8

76669 Bad Schönborn

Germany


Telefon: +49 (0)151 587 80 653

E-Mail: kai-uwe.hermann@...


Amtsgericht Mannheim, HRB 739172

Geschäftsführer: Johanna Claussen, Dr. Marco Möller, Benjamin Mosler


Hinweise zum Datenschutz https://pionix.com/datenschutz/

Join {everest@lists.lfenergy.org to automatically receive all group messages.