WADebug icon indicating copy to clipboard operation
WADebug copied to clipboard

WADebug requires a config file:

Open ahmedalmulki opened this issue 4 years ago • 6 comments

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

ahmedalmulki avatar Sep 03 '20 10:09 ahmedalmulki

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?

alanhhwong avatar Sep 07 '20 01:09 alanhhwong

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

ahmedalmulki avatar Sep 07 '20 07:09 ahmedalmulki

can you share terminal prompts?

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

alanhhwong avatar Sep 07 '20 07:09 alanhhwong

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

ahmedalmulki avatar Sep 07 '20 09:09 ahmedalmulki

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

image

destroyeramit avatar Sep 25 '20 06:09 destroyeramit

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!

adriangronau avatar Dec 12 '20 01:12 adriangronau