Skip to content
This repository has been archived by the owner on Jul 1, 2023. It is now read-only.

WADebug requires a config file: #2

Open
ahmedalmulki opened this issue Sep 3, 2020 · 6 comments
Open

WADebug requires a config file: #2

ahmedalmulki opened this issue Sep 3, 2020 · 6 comments

Comments

@ahmedalmulki
Copy link

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? !!

@alanhhwong
Copy link
Contributor

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?

@ahmedalmulki
Copy link
Author

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

@alanhhwong
Copy link
Contributor

can you share terminal prompts?

  1. pwd and ls
  2. docker ps
  3. wadebug

@ahmedalmulki
Copy link
Author

ahmedalmulki commented Sep 7, 2020

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]:

@destroyeramit
Copy link

I'm also facing same issue. Even all configuration parts are all set as per your docs.

image

@adriangronau
Copy link

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants