WADebug
WADebug copied to clipboard
WADebug requires a config file:
I get the same msg whenever I want to run the wadebug command, I tried to create wadebug.conf.yml much time and configured correctly but without any luck, the same msg
file: wadebug.conf.yml in the current directory in order to run full checks, but none has been found. Do you want to create the file now?
!!
Have you seen the docs on this topic? https://developers.facebook.com/docs/whatsapp/guides/wadebug/#config
You will need to fill in values. Can you share your config?
yes, I already read that topic many times, and I filled all values as requested bu no luck.
db: host:127.0.0.1 port:3306 user:username password:pass webapp: baseUrl:https://ip:port user:admin password:pass
can you share terminal prompts?
-
pwd
andls
-
docker ps
-
wadebug
ls db.env debug_output.txt prod-docker-compose-old.yml prod-docker-compose.yml wadebug.conf.yml wadebug_logs wadebug_logs.zip pwd /root/biz docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 3b893550c8c7 docker.whatsapp.biz/web:v2.29.3 "/opt/whatsapp/bin/w…" 4 days ago Up 4 days 0.0.0.0:11090->443/tcp biz_waweb_1 153fa55f0bd8 docker.whatsapp.biz/coreapp:v2.29.3 "/opt/whatsapp/bin/w…" 4 days ago Up 3 days 6250-6253/tcp biz_wacore_1 wadebug
WADebug requires a config file: wadebug.conf.yml in the current directory in order to run full checks, but none has been found. Do you want to create the file now? [y/N]:
I'm also facing same issue. Even all configuration parts are all set as per your docs.
I had the same problem and could narrow the problem down after editing the code in config.py (line 51):
except Exception as e:
raise e
....
This gave me the actual error (because the file was found but a different error was triggered):
AttributeError: module 'yaml' has no attribute 'FullLoader'
An answer on Stackoverflow fixed this error message by simply upgrading my version of PyYAML. Use the flag --ignore-installed
for upgrading, e.g. pip install --ignore-installed PyYAML
Wadebug is now finally working for me. Hopefully this might help someone else as well!