ACRN configurator failing to start in master branch


shibi590268@...
 

Hello
             I am getting the below error when launching the acrn_configurator.py. How to get rid of this error.
ACRN-hypervisor branch: master commit:e491773f5e0a97d36b03180306458c47c196aada

Error:
rn@acrn-NUC6CAYH:~/acrn-work/acrn-hypervisor/misc/config_tools/config_app$ sudo python3 acrn_configurator.py
[sudo] password for acrn:
Traceback (most recent call last):
  File "acrn_configurator.py", line 34, in <module>
    from views import CONFIG_APP
  File "/home/acrn/acrn-work/acrn-hypervisor/misc/config_tools/config_app/views.py", line 26, in <module>
    from launch_config.launch_cfg_gen import get_launch_item_values
ImportError: cannot import name 'get_launch_item_values' from 'launch_config.launch_cfg_gen' (/home/acrn/acrn-work/acrn-hypervisor/misc/config_tools/config_app/../launch_config/launch_cfg_gen.py)
 


Liu, Fuzhong
 

From: acrn-users@... <acrn-users@...> On Behalf Of shibi590268@...
Sent: Wednesday, May 4, 2022 1:12 PM
To: acrn-users@...
Subject: [acrn-users] ACRN configurator failing to start in master branch

 

Hello
             I am getting the below error when launching the acrn_configurator.py. How to get rid of this error.
ACRN-hypervisor branch: master commit:e491773f5e0a97d36b03180306458c47c196aada

Error:

rn@acrn-NUC6CAYH:~/acrn-work/acrn-hypervisor/misc/config_tools/config_app$ sudo python3 acrn_configurator.py

[sudo] password for acrn:

Traceback (most recent call last):

  File "acrn_configurator.py", line 34, in <module>

    from views import CONFIG_APP

  File "/home/acrn/acrn-work/acrn-hypervisor/misc/config_tools/config_app/views.py", line 26, in <module>

    from launch_config.launch_cfg_gen import get_launch_item_values

ImportError: cannot import name 'get_launch_item_values' from 'launch_config.launch_cfg_gen' (/home/acrn/acrn-work/acrn-hypervisor/misc/config_tools/config_app/../launch_config/launch_cfg_gen.py)

 


Xie, Nanlin
 

Hi,

 

              We are using new configurator to replace old configurator in the v3.0, it is in progress, but you could have a try with below guide:

https://github.com/projectacrn/acrn-hypervisor/blob/master/misc/config_tools/configurator/README.md

 

Best wishes!

Nanlin

 

From: acrn-users@... <acrn-users@...> On Behalf Of Liu, Fuzhong
Sent: Monday, May 9, 2022 3:58 PM
To: acrn-users@...
Subject: Re: [acrn-users] ACRN configurator failing to start in master branch

 

Hi

Please help to raise one git issue with following link:

https://github.com/projectacrn/acrn-hypervisor/issues/new?assignees=&labels=status%3A+new&template=bug_report.md&title=

 

BR.

Fuzhong

 

From: acrn-users@... <acrn-users@...> On Behalf Of shibi590268@...
Sent: Wednesday, May 4, 2022 1:12 PM
To: acrn-users@...
Subject: [acrn-users] ACRN configurator failing to start in master branch

 

Hello
             I am getting the below error when launching the acrn_configurator.py. How to get rid of this error.
ACRN-hypervisor branch: master commit:e491773f5e0a97d36b03180306458c47c196aada

Error:

rn@acrn-NUC6CAYH:~/acrn-work/acrn-hypervisor/misc/config_tools/config_app$ sudo python3 acrn_configurator.py

[sudo] password for acrn:

Traceback (most recent call last):

  File "acrn_configurator.py", line 34, in <module>

    from views import CONFIG_APP

  File "/home/acrn/acrn-work/acrn-hypervisor/misc/config_tools/config_app/views.py", line 26, in <module>

    from launch_config.launch_cfg_gen import get_launch_item_values

ImportError: cannot import name 'get_launch_item_values' from 'launch_config.launch_cfg_gen' (/home/acrn/acrn-work/acrn-hypervisor/misc/config_tools/config_app/../launch_config/launch_cfg_gen.py)