maestro-project/confuciux

Failed to run the example script

Closed this issue · 1 comments

Hi,

I tried to run the example script run_ConfX.sh but got the following error message.

Traceback (most recent call last):
  File "main.py", line 222, in <module>
    constraint_temp = [env.get_ref_constraint([action_bound[0], action_bound[1]]),
  File "/curr/jaywang/conx/confuciux/src/ConfX/env_confx.py", line 156, in get_ref_constraint
     _, total_constraint = self.exterior_search(sol)
  File "/curr/jaywang/conx/confuciux/src/ConfX/env_confx.py", line 441, in exterior_search
    reward, constraint = self.oberserve_maestro(maestro_state)
TypeError: 'NoneType' object is not iterable

Do you happen to know how to solve this problem? Any help would be appreciated!

Hello @whbldhwj,

From the error message, it seems that your MAESTRO is not set-up correctly. Could you run pip install -r requirements.txt again, and see if it gives you any error. Or you can check if you can run MAESTRO independently with the example here.

Best