Closed DwarfKiller closed 6 years ago
Hi, I am having the same problem, reason 'old_version'.
Thx for responses!
I found the solution to my problem.
To perform the registration, it is necessary that the variable "DEFAULT" of the env.py file (path below) as defined as "android":
DEFAULT = "android"
After this you need to recompile the lib (run the command at the root of the yowsup project and in the virtual environment, ex workon zapi):
python setup.py install
that is working fine. I've just use version 2.177.426. the command line for registration with android should look like this.
yowsup-cli registration --requestcode sms --phone countryandphone --cc countrycode --mcc yourmcc --mnc yourmnc --env android
Is there a solution? I can't Register a new number. With original S40 i get the error old_version. With changed Android and Version 2.17.426 i get the error reason: bad_param
I was having the same issue, the solution is edit env.py as follow
DEFAULT="android"
env_android.py:
_MD5_CLASSES = "OyTf9XK7xoJkKIxLgY6/Lw==" _VERSION = "2.17.426"
After registration to be able to use yowsup-cli you have to modify again env.py to use s40
Sorry, what di i wrong? I have an raspberry and do: cd /opt sudo git clone https://github.com/tgalal/yowsup.git yowsup-master
Anlegen eines Konfig-Files
Editieren der Dateien wie oben beschrieben (env.py und env_android.py)
Registrierung: python yowsup-cli registration -c /opt/yowsup-config/yowsup.config -r voice
Der Output: 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
INFO:yowsup.common.http.warequest:{"login":"43313547554","status":"fail","reason":"bad_param","param":"number"}
status: fail param: number reason: bad_param login: 4331xxxxxxx
Ich bin für jede Hilfe Dankbar!
Wenn ich die Registrierung - -E s40 mache, bekomme ich den bekannten Fehler old_version
Hi,
i had to do two things in order to make it run.
get rid of metaclass error because of version incosistency with SIX.
todo-> in env.py comment the line # __metaclass__ = YowsupEnvType
use a different version and token for the env_s40.py
todo-> _VERSION = "2.16.12"
_TOKEN_STRING = "PdA2DJyKoUrwLw1Bg6EIhzh502dF9noR9uFCllGk1494451854337{phone}"
Greetings
Somebody update env_s40?? In android registration, I get block in one day.
Baixem a versão mais recente, crie um MD5 usando dexMD5.py, modificando "env_android.py", como no tutorial, https://iamjagjeetubhi.wordpress.com/2017/09/21/how-to-use-yowsup-the-python-whatsapp-library-in-ubuntu/
python yowsup-cli registration --requestcode sms --phone 55XXXXXXXXXX --cc 55 --mcc 724 --mnc 03 -E android
@dbsdenis até conseguimos registar, mas quando se registra com android e utiliza com s40, o seu numero é banido bem rápido.
@manelmolina This method worked for me, but has ceased to work yesterday.
_MD5_CLASSES = "OyTf9XK7xoJkKIxLgY6/Lw==" _VERSION = "2.17.426"
_VERSION = "2.16.12"
DEFAULT = "android"
request: yowsup-cli registration --requestcode sms --phone 7хххххххххх --cc 7 --mcc 250 --mnc 01 -E android
response: status: b'fail' reason: b'old_version' login: b'7xxxxxxxxxx'
update yowsup, register using android env, login using s40 env
@tgalal So there is no solution for registration with s40?
In my case it works fine to Register with android. Login with android does disconnect after connecting. With s40 env I get this strange error:
Auth: Logged in!
[connected]:WARNING:axolotl.sessionbuilder:We've already setup a session for this V3 message, letting bundled message fall through...
WARNING:yowsup.layers.axolotl.layer_receive:Received a message that we've previously decrypted, goint to send the delivery receipt myself
WARNING:axolotl.sessionbuilder:We've already setup a session for this V3 message, letting bundled message fall through...
[491705405445@s.whatsapp.net(14-04-2018 08:11)]:[3599B8E6E25593889B] [Media Type:image, Size:53906, URL:https://mmg-fna.whatsapp.net/d/f/AhmurL3iIAwuTUIPA_4-REZp5f8tLlhgL9]
Message 3599B8E6E2559: Sent delivered receipt and Read
[connected]:
Traceback (most recent call last):
File "/usr/local/bin/yowsup-cli", line 4, in
Seems that somebody send me message that crash this script after register....
Did the below changes and worked for me:
Change in env.py file set DEFAULT="android"
Change on env_android.py _MD5_CLASSES = "DAPy33TbNMg0Yuplp2II0A==" _VERSION = "2.18.339"
python setup.py build
python setup.py install
yowsup-cli registration -r sms -m 000 -n 00 -p 91XXXXXXXXXX -C 91 -E android
hello i have the same problem i am using centos 6 i installed it by pip install yowsup how to fix the problem
Hi there,
i tried to run yowsup but getting the well know "old version" fail at registration. I changed the env_android.py file as described in url https://coderus.openrepos.net/whitesoft/whatsapp_scratch ("letter 'a' and 'd'") for instance but keep getting der "old version" fail.
INFO:yowsup.common.http.warequest:b'{"login":"55xxxxxxxxxxx","status":"fail","reason":"old_version"}\n' status: b'fail' reason: b'old_version' login: b'55xxxxxxxxxxx'
I use version in "env_android.py": _MD5_CLASSES = "OyTf9XK7xoJkKIxLgY6/Lw==" _VERSION = "2.17.426"
Could someone tell me if there is another version?