Can not register. Please help.
Tried to change values to
2.16.11
PdA2DJyKoUrwLw1Bg6EIhzh502dF9noR9uFCllGk1478194306452{phone}
Don't work.
Use -E android parameter to use android env.
I tried this, got the same error with -E android
Same here with
yowsup-cli v2.0.15
yowsup v2.5.0
Hi,
I solved issue changin env_s40.py whith this values:
_VERSION = "2.16.11"
_TOKEN_STRING = "PdA2DJyKoUrwLw1Bg6EIhzh502dF9noR9uFCllGk1478194306452{phone}"
My Version:
yowsup-cli v2.0.15
yowsup v2.5.0
Do not forget to recompile!
Do not forget to recompile!
Thanks! Running ./setup.py install is what I needed!
same here issue fixed
@sebastianancho where is the file env_s40.py?
@MarcoBuster See my patch at https://github.com/tgalal/yowsup/issues/1889 or install https://software.opensuse.org/package/python-yowsup2 which is already patched.
@Mailaender Thanks!
Hi,
I change the file, but how i recompile?
Tk's!
@netofontess python setup.py install
@MarcoBuster Don't exist the setup.py
@netofontess What? Do cd yowsup-masterand python setup.py install
@MarcoBuster The folder is in '/usr/lib/python2.6/site-packages/yowsup'
But dont have any file call setup.py... I tried find by the name.
@netofontess Idk. Try to download from GitHub the repo, unzip it, edit the file env_s40.py, cd yowsup-master and python setup.py install.
@MarcoBuster I tried download from GitHub and now i found the setup.py....
But now I received this message when command 'yowsup-cli registration':
Traceback (most recent call last):
File "/usr/bin/yowsup-cli", line 4, in
__import__('pkg_resources').run_script('yowsup2==2.5.0', 'yowsup-cli')
File "/usr/lib/python2.6/site-packages/pkg_resources/__init__.py", line 739, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.6/site-packages/pkg_resources/__init__.py", line 1486, in run_script
raise ResolutionError("No script named %r" % script_name)
pkg_resources.ResolutionError: No script named 'yowsup-cli'
I deleted all the yowsup folders and ran the setup.py command again. It worked!
Thank's!
Did all that, still not working for me.
Still not working.
@munknex please close issue
status: fail
reason: bad_token
Nothing worked.
thanks work's
thanks...it works!
Thank you @sebastianancho for providing these values. Can you please inform me about the necessary steps to these values, so the next time it breaks we can fix it on our own?
No work, version 2.6.19
yowsup-cli registration --requestcode sms --phone 5561XXXXX --cc 55 --mcc 724 --mnc 05
INFO:yowsup.common.http.warequest:{"login":"5561XXXXXXX","status":"fail","reason":"old_version"}
status: fail
reason: old_version
login: 5561XXXXXXX
Doh! I did ./setup.py build but not install! Working with 2.16.11 :-)
Token: PdA2DJyKoUrwLw1Bg6EIhzh502dF9noR9uFCllGk1478194306452{phone}
@Aranad No work, How do I solve it? Which file should I edit?
@eldimar The file is env/env_s40.py you set the _VERSION to "2.16.11" and "_TOKEN_STRING" to "PdA2DJyKoUrwLw1Bg6EIhzh502dF9noR9uFCllGk1478194306452{phone}". Then you must run ./setup.py build and ./setup.py install and then try registration again.
@Aranad Thanks, working perfectly!
@eldimar I've registered a number on the network, but I can't get pidgin to connect - I'm guessing its because whatsapp.purple's not being developed anymore - do you know of any alternative clients?
@Aranad No work registration in my environment with these Token and Version.
Show the error: BAD_TOKEN. This problem occurred after yesterday. In another days, was ok.
Can you test a new registration with env_S40 in Version 2.16.11 please?
I don't have yowsup installed any more, can you show me the exact token string you have?
Sure:
_VERSION = "2.16.11"
_TOKEN_STRING = "PdA2DJyKoUrwLw1Bg6EIhzh502dF9noR9uFCllGk1478194306452{phone}"
Strange, I never got a bad token error with that :-/
@aranad, with yowsup from tgalal its ok. But with yowsup fork jlguardi no. Thanks.
Did all the above it doesnt work.
Done any one know the token for 2.17 version as 2.16 is giving old version error
@Aranad i use ./setup.py but show "bash: ./setup.py: No such file or directory"
Help!
Failed, reason old_version. Checking for a new token..
Traceback (most recent call last):
File "yowsup-cli", line 274, in
result = wc.send()
File "/home/pi/yowsup/src/Yowsup/Registration/v2/coderequest.py", line 75, in send
parsed = jParser.parse(tokenData.decode(), pvars)
File "/home/pi/yowsup/src/Yowsup/common/Http/waresponseparser.py", line 132, in parse
d = json.loads(jsondata)
File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
hello, i installed yowsup-cli with apt on ubuntu 18.04. Where is this env_s40.py file located?
Most helpful comment
Hi,
I solved issue changin env_s40.py whith this values:
_VERSION = "2.16.11"
_TOKEN_STRING = "PdA2DJyKoUrwLw1Bg6EIhzh502dF9noR9uFCllGk1478194306452{phone}"
My Version:
yowsup-cli v2.0.15
yowsup v2.5.0
Do not forget to recompile!