yowsup icon indicating copy to clipboard operation
yowsup copied to clipboard

Error: config file is invalid

Open wminside opened this issue 13 years ago • 7 comments

Hello,

When I run python ./yowsup-cli -c config.example -d --requestcode sms

I get this "Error: config file is invalid". I'm running python 2.7 on W7.

my config.example is as below

cc= #if not specified it will be autodetected phone= My Mobile number without country code / I have tried using my country code id= password=

I have also tried with just my phone in the config file with no success

Help is appreciated

wminside avatar Feb 07 '13 18:02 wminside

id=

not d

like this cc= phone= id= password=

read this https://github.com/tgalal/yowsup/wiki

moufjamalz avatar Feb 07 '13 18:02 moufjamalz

Try manually specifying the config file. That solved it for me. I think it was --config

shirioko avatar Feb 07 '13 18:02 shirioko

Thank you guys but sill getting the same error.

wminside avatar Feb 07 '13 19:02 wminside

you should use international phone format with cc or specify cc in cc field.

CODeRUS avatar Feb 08 '13 03:02 CODeRUS

Maybe I'm not making myself clear. A config file working on ubuntu it does not on Windows 7.

wminside avatar Feb 08 '13 12:02 wminside

i think you should use system-specific linefeeds.

CODeRUS avatar Feb 08 '13 12:02 CODeRUS

Try modifying the code to then feed the config file manually.. Also try saving with a diferent encoding and line breaks.

ghost avatar Feb 08 '13 13:02 ghost