yowsup icon indicating copy to clipboard operation
yowsup copied to clipboard

Old Version Error status: fail reason: old_version

Open tomriddle54 opened this issue 9 years ago • 17 comments

Any One Here Can help me out Trying from 3 day still the same error nothing is working i tryed https://github.com/tgalal/yowsup/issues/2090 also not working

` python yowsup-cli registration -E android --requestcode sms --env android --phone 91*********--cc 91 --mcc 405 --mnc 025 INFO:yowsup.common.http.warequest:{"login":"91*********","status":"fail","reason":"old_version"}

yowsup-cli v2.0.15 yowsup v2.5.2

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

status: fail reason: old_version login: 91********* `

tomriddle54 avatar Sep 07 '17 08:09 tomriddle54

Use this with the latest version of WhatsApp APK, you have to write that in the env_android.py (replacing _MD5_CLASSES and _VERSION vars) then run: python setup.py build python setup.py install

If you have installed yowsup using pip, you shuold uninstall it first (pip uninstall yowsup) then run build and install.

victor141516 avatar Sep 07 '17 10:09 victor141516

still not working even with _VERSION = "2.17.329"

Any ideas?

jnoam avatar Sep 09 '17 06:09 jnoam

@jnoam After following the steps mentioned by @victor141516 try following:

open file: yowsup/env/__init__.py

Comment the third line: #from .env_s40 import S40YowsupEnv This will force registration to use android_env file.

I think this issue can be closed now.

dezember avatar Sep 09 '17 08:09 dezember

@syedmustafa54 Try this:

file: env_android.py class: AndroidYowsupEnv

_SIGNATURE = "MIIDMjCCAvCgAwIBAgIETCU2pDALBgcqhkjOOAQDBQAwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFDASBgNV"
"BAcTC1NhbnRhIENsYXJhMRYwFAYDVQQKEw1XaGF0c0FwcCBJbmMuMRQwEgYDVQQLEwtFbmdpbmVlcmluZzEUMBIGA1UEAxMLQnJ"
"pYW4gQWN0b24wHhcNMTAwNjI1MjMwNzE2WhcNNDQwMjE1MjMwNzE2WjB8MQswCQYDVQQGEwJVUzETMBEGA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"armani"
_MANUFACTURER = "Xiaomi"
_BUILD_VERSION = "JLS36C"
_AXOLOTL = True

Get the sms cod and registre yow number with env android, but, the yowsup login change env for s40.

brunaoalx avatar Sep 12 '17 18:09 brunaoalx

BRNALX thx bro, you saved me some time :-) Works for me👍

Thx to victor and dezember as well

oxydaemon avatar Sep 16 '17 08:09 oxydaemon

@syedmustafa54 works for you?

Please close this issue.

brunaoalx avatar Sep 16 '17 14:09 brunaoalx

need some help regarding the axolotl curve. I'm getting the error as NoModuleFoundError : No Module named 'Axolotl_Curve25519'

anyone please help me?

hmrasi avatar Nov 20 '17 12:11 hmrasi

@hmrasi

It worked normal and this error started to appear now?

This seems to be a problem in the installation. Problems we faced when we started working with YowSup

Please tell us more about your problem.

brunaoalx avatar Nov 20 '17 17:11 brunaoalx

capture12

this is what i'm getting. i have tried it in many ways to resolve. I installed the axolotl_curve25519 again and then started doing the steps in the readme file. Even i'm getting the same error. How can i login again with the same code and send a message?

hmrasi avatar Nov 24 '17 12:11 hmrasi

@hmrasi

in your console, execute pip install yowsup2.

How is return?

brunaoalx avatar Nov 24 '17 17:11 brunaoalx

capture14

Yeah i already did the same. getting the same after doing so. Here is the error while i'm trying to install Yowsup2 using pip.

hmrasi avatar Nov 27 '17 04:11 hmrasi

@hmrasi

The problem is very clear, install Microsoft Visual C ++ 14.0.

And rerun pip install yowsup2

brunaoalx avatar Nov 27 '17 12:11 brunaoalx

Can u give me the steps to follow? Or any path i have to mention for that one? I mean environmental path Or directly i have to place in the python folder?

hmrasi avatar Nov 27 '17 13:11 hmrasi

@hmrasi

your problem is not yowsup or python. Your problem is install prereqs for yowsup work.

steps to follow? Well, install Microsoft Visual C ++ 14.0., and after install yowsup with (pip install yowsup2).

brunaoalx avatar Nov 27 '17 19:11 brunaoalx

error now

still getting the same error while installing yowsup2. Help me with that! I have installed the Microsoft Visual C++ 14.0

hmrasi avatar Nov 28 '17 05:11 hmrasi

@BRNALX Help me with that!!!!

hmrasi avatar Dec 04 '17 11:12 hmrasi

@hmrasi

Do you have this dll (msvcp140.dll) in your folder system32?

Try again step by step for install yowsup.

brunaoalx avatar Dec 04 '17 13:12 brunaoalx