KeyError: 'dbus'
I got this error on the registration command: Traceback (most recent call last): File "yowsup-cli", line 306, in elif args["dbus"]: KeyError: 'dbus'
Sry, I am still learning with python
My command is: python yowsup-cli -c config.example --register 8xx–0xx
The elif args["dbus"] line is faulty. But, you should not even get there, since you did not select the dbus option. So, it means your configuration file is invalid. Check your configuration file and see if everything in there is correct.
Details: Comment-out line 306 and 307 in yowsup-cli (put a # at the beginning of these lines)
It happened to me too. It was my fault as I wasn't including the config file when "yowsup-cli" was being called:
$ ./yowsup-cli -r sms
Traceback (most recent call last):
File "./yowsup-cli", line 306, in
Yes worked!
when i comment-out line 306 and 307, says "Error: config file is invalid" i dont know what can i do now how do you resolved it, ErkanMDR?
@joshua-pi it says your config file is invalid. Maybe you can post it here, so we can check it. Did you specify one anyway with the -c option?