This may sound old...
While registering my number using yowsup-cli, I'm getting the following error:
INFO:yowsup.common.http.warequest:{"login":"************","status":"fail","reason":"old_version"}
status: fail
reason: old_version
login: ************
That's because I have
yowsup-cli v2.0.15
yowsup 2.5.0
I tried out all the solutions suggested out here... like, updating upgrading through pip upgrading through GitHub reinstalling and tried out yowsup tutorials...
Is there any other option to solve this issue? or what may the problem here??
Working in my case :
Edit /yowsup/env/env_android.py
_KEY = "eQV5aq/Cg63Gsq1sshN9T3gh+UUp0wIw0xgHYT1bnCjEqOJQKCRrWxdAe2yvsDeCJL+Y4G3PRD2HUF7oUgiGo8vGlNJOaux26k+A2F3hj8A="
_MD5_CLASSES = "ry9Xz6kVioQctwA3G9z62Q=="
_VERSION = "2.12.556"
_OS_NAME = "Android"
_OS_VERSION = "4.3"
_DEVICE_NAME = "armani"
_MANUFACTURER = "Xiaomi"
_BUILD_VERSION = "JLS36C"
_AXOLOTL = True
then compile again
After execute this command :
./yowsup-cli registration -E android --requestcode sms --phone 91xxxxxxxxx --cc 91 --mcc 232 --mnc 10
Or
You may also set default environment yowsup simulates on below file :
cat yowsup/env/env.py
...
DEFAULT = "android"
...
You will get the sms/voice !
This is because you have to update the /env/env_android.py
file with _MD5_CLASSES and _VERSION variables. Please follow the link.
How to fix old version error while registration
Hope it will helps you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With