Yowsup: old_version error

Created on 1 Jun 2017  路  37Comments  路  Source: tgalal/yowsup

i tried every solutions for old version error, But the problem is still going on

Most helpful comment

--- Fixing the version error ---

  • Modify the file yowsup/env/env.py
    Line:
    _DEFAULT = "s40"_
    For:
    _DEFAULT = "android"_
  • Modify the file yowsup / env / env_android.py
    _MD5_CLASSES = "1naz8gL5pIYWbtaOZ3207g=="
    _VERSION = "2.17.16"

How: https://github.com/colonyhq/yowsup/blob/master/yowsup/env/env_s40.py

I hope I have helped

All 37 comments

Same problem(
nothnig is help.
How to uninstall this app correctly ?

--- Fixing the version error ---

  • Modify the file yowsup/env/env.py
    Line:
    _DEFAULT = "s40"_
    For:
    _DEFAULT = "android"_
  • Modify the file yowsup / env / env_android.py
    _MD5_CLASSES = "1naz8gL5pIYWbtaOZ3207g=="
    _VERSION = "2.17.16"

How: https://github.com/colonyhq/yowsup/blob/master/yowsup/env/env_s40.py

I hope I have helped

--- Fixing the version error ---

Modify the file yowsup/env/env.py
Line:
DEFAULT = "s40"
For:
DEFAULT = "android"

Modify the file yowsup / env / env_android.py
_MD5_CLASSES = "1naz8gL5pIYWbtaOZ3207g=="
_VERSION = "2.17.16"

How: https://github.com/colonyhq/yowsup/blob/master/yowsup/env/env_s40.py

I hope I have helped

status: fail
retry_after: 3600
reason: no_routes

Sorry, You need to recompile code

Your code is compile?

Yes, when I build and tried it I got this result.

Can I know the number you are using?

--- Fixing the version error ---

Modify the file yowsup/env/env.py
Line:
DEFAULT = "s40"
For:
DEFAULT = "android"

Modify the file yowsup / env / env_android.py
_MD5_CLASSES = "1naz8gL5pIYWbtaOZ3207g=="
_VERSION = "2.17.16"

How: https://github.com/colonyhq/yowsup/blob/master/yowsup/env/env_s40.py

I hope I have helped

Thanks! it's helps for me!

You're welcome! @wwsilin

Hi, I did as suggested, note that changes are just to env_android.py. I get bad_token error. and if I manually set the env to s40 by using "--env s40" I get old_version again!

Okay, I simply copied your env directory, replaced mine, and it works, but with flag "-E android" in end, and my default is still "s40".

A quick doubt, how do in future, do I get MD5 classes?

Thanks

I tried the solution (changing to android environment, building new) but now I get the "no_routes" error. Any hints, how to solve that?
@debasishdebs where did you get the env directory, you are referring to?

Hi, I am new in Linux World. I changed the default entrys but how can I build new?

thanks for helping!

Try this solution. It's worked for me.

https://github.com/tgalal/yowsup/issues/1905#issuecomment-306049877

@efendimansur Unfortunately it does not work for me:

$ python yowsup-cli registration -r sms --p 4917xxxxxxxx -C 49 -m 262 -n 01 -E android
yowsup-cli v2.0.15
yowsup v2.5.0

Copyright (c) 2012-2016 Tarek Galal
http://www.openwhatsapp.org

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:
http://openwhatsapp.org/yowsup/donate

INFO:yowsup.common.http.warequest:{"login":"4917xxxxxxxx","status":"fail","reason":"no_routes","retry_after":3600,"sms_wait":3600,"voice_wait":3600}

status: fail
retry_after: 3600
reason: no_routes
login: 4917xxxxxxxx
method: sms

If you are getting this error, the problem may be related to the firewall. I received the error in my server, and then when I made the request from the local server, the sms was sent without any problem.

What it's mean by recompile?
After I made the change of android file and choose the android as default what should I do next?
I'm still get the old version error

Working Today !!!

_MD5_CLASSES = "ox998VW0nBTueMVfjuZkmQ==" _VERSION = "2.17.212" _OS_NAME = "Android"

@mi-gri : Please refer to the following link to get the env directory I'm referring to. : https://github.com/tgalal/yowsup/tree/master/yowsup/env

@rezendemais Hi guy! how i can get those info by myself? Thanks a lot :D

i don't know, don't remember where i see this code, but is a good idea know how do it !!!

@jeanggi90 but the link you provided returns a JSON like response. Which key represents what? I meant have you used it personally? Thanks

I had to format my system, and somehoe forgot how I made it work last time :-P
Can someone help out again, as in, which version and MD5 classes working now?

@debasishdebs a: MD5, p, g, i: Token Strings,d, e, f: Versions i guess.
But it did not work for me... I ended up using:

_MD5_CLASSES = "1naz8gL5pIYWbtaOZ3207g=="
_KEY = "eQV5aq/Cg63Gsq1sshN9T3gh+UUp0wIw0xgHYT1bnCjEqOJQKCRrWxdAe2yvsDeCJL+Y4G3PRD2HUF7oUgiGo8vGlNJOaux26k+A2F3hj8A="
 _VERSION = "2.17.16"

@jeanggi90 that still gives me old_version error. What I did was that, I clonned the Git directory, replaces the credentials you provided, and then ran setup.py install. DOesnt seem to work.

Did anyone else get it working recently? Also, if this credentials worked for you, then when did you set it up last, and what process did you follow?

@debasishdebs I did it like 4 days ago. When running the instalation command you have to make sure that the env_android file is run and not the env_s40 by changind the default in the env file or by telling it in the registration command.

@jeanggi90 I got it working, as in atleast I'm getting different error now. but the error cant be resolved I guess as I'm getting "Number is banned by Whatsapp"

@debasishebs Probably you have registered the number twice. You might want to try to contact the whatsapp suport and play stupid... I have heard that that works sometimes

Changing the _KEY or _MG5 old_version or bad_token

work for me
version = 2.17.286
MD5= "5h7dTJYD1ogHDxfiIXIZxg=="
don't forget to pass parameter -E android for yowsup-cli

thank u @aslobo46

thanks @aslobo46
works for me 馃憤

I have the same error. I applied unsuccessfully all the suggestions given.

The versions that I have installed are the following:

OS: Fedora 27 64bits
Python 2.7.14
yowsup-cli v2.0.15
Using yowsup v2.5.7

but when trying to register the phone number, then it throws the error:

$ yowsup-cli registration --requestcode sms --phone 57########## --cc 57 --mcc 732 --mnc 102 -E android
yowsup-cli v2.0.15
yowsup v2.5.7

Copyright (c) 2012-2016 Tarek Galal
http://www.openwhatsapp.org

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:
http://openwhatsapp.org/yowsup/donate

INFO:yowsup.common.http.warequest:{"login":"57##########","status":"fail","reason":"old_version"}

status: fail
reason: old_version
login: 57##########

Please, help me.

Thanks.

hey! works!

I solved it with the following steps:

  1. I cloned the yowsup repository again.
  2. recompile with sudo python setup.py install
  3. Finally I executed the registration command adding as last parameter -E android, being as follows:

yowsup-cli registration --requestcode sms --phone 57########## --cc 57 --mcc 732 --mnc 102 --E android

Thanks

I am getting bad version error

error
](url)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alexvong1995 picture alexvong1995  路  4Comments

cyberp1983 picture cyberp1983  路  3Comments

MauricioAHM picture MauricioAHM  路  5Comments

rroqueCoddera picture rroqueCoddera  路  3Comments

sunny1974 picture sunny1974  路  3Comments