tgalal / yowsup

The WhatsApp lib
GNU General Public License v3.0
7.06k stars 2.23k forks source link

Old Version Error #1374

Closed ghost closed 5 years ago

ghost commented 8 years ago

Before you tell upgrade , or update from recent commit , i tried all that yet it says old_version error INFO:yowsup.common.http.warequest:{"status":"fail","reason":"old_version"}

status: fail reason: old_version

I also tried changing the env from S40 to Android it still doesn't work

Can someone help me with this ?

jlguardi commented 8 years ago

Read #1335

ghost commented 8 years ago

I read those issues and tried them but it still says the same error

ghost commented 8 years ago

Can someone explain why it happens and how to solve it I tried almost all the suggestions given in similar issues

jlguardi commented 8 years ago

I have registered 2 lines with #1336 and worked. Check it again and post logs in debu mode (-d)

tsmets commented 8 years ago

On my mac there is "brew" installed. Install virtualenv for the python3. Then I installed (in the virtualenv) : "pip install pywhatsapp" which requires to first get a registration code from What'sApp.

(test-APIs) Thomass-MacBook-Pro:test-APIs tsmets$ ./bin/yowsup-cli registration  --debug  --requestcode sms --phone 32497xxxxxx --cc 32 -m 32 -n 2 -r sms 
DEBUG:yowsup.common.http.warequest:{'User-Agent': 'WhatsApp/2.12.89 S40Version/14.26 Device/Nokia302', 'Accept': 'text/json'}
DEBUG:yowsup.common.http.warequest:cc=32&in=497xxxxxx&lc=GB&lg=en&sim_mcc=032&sim_mnc=002&method=sms&token=ce25921cffcc48c5a7e5898fb6812895&id=%23%3B%07%CEL%2F%00w%90%83%C6%F6%BA%C7_6x%8D%A1%FC
DEBUG:yowsup.common.http.warequest:Opening connection to v.whatsapp.net
DEBUG:yowsup.common.http.warequest:Sending GET request to /v2/code?cc=32&in=497xxxxxx&lc=GB&lg=en&sim_mcc=032&sim_mnc=002&method=sms&token=ce25921cffcc48c5a7e5898fb6812895&id=%23%3B%07%CEL%2F%00w%90%83%C6%F6%BA%C7_6x%8D%A1%FC
INFO:yowsup.common.http.warequest:b'{"status":"fail","reason":"old_version"}\n'
reason: b'old_version'
status: b'fail'

:( Any help would be appreciated :)

\T,