tindetheus
tindetheus copied to clipboard
New Error
Why would this be happening?
Traceback (most recent call last):
File "/opt/anaconda3/bin/tindetheus", line 10, in
Are you still having this issue? It looks like you were able to log in and see your name, but the error occurred when trying to set the search distance?
Yeah still having the same issue
@cjekel here is the error I'm getting when running inside docker
root@43d8a0973cb0:/mnt/tinder# tindetheus browse
Hello Holden
Traceback (most recent call last):
File "/usr/local/bin/tindetheus", line 10, in
Okay that's strange. You are able to login, but not update your search distance.
Are you able to look at user profiles? Running something like the following would tell if you are able to like profiles.
import itertools
import pynder
XAuthToken='.....'
session = pynder.Session(XAuthToken=XAuthToken)
users = session.nearby_users()
for user in itertools.islice(users, 5):
print(user.like())
@cjekel this is what I got root@f010d7598315:/mnt/tinder# python Python 3.6.8 (default, Jan 14 2019, 11:02:34) [GCC 8.0.1 20180414 (experimental) [trunk revision 259383]] on linux Type "help", "copyright", "credits" or "license" for more information.
import itertools import pynder XAuthToken='' session = pynder.Session(XAuthToken=XAuthToken) users = session.nearby_users() for user in itertools.islice(users, 5): ... print(user.like()) ... False False False False False
Okay so you can see users. Do you get the 500 error if you manually set a search distance?
import itertools
import pynder
XAuthToken='.....'
session = pynder.Session(XAuthToken=XAuthToken)
session.profile.distance_filter = self.search_distance
If this gives you a 500, I don't know what's going on. It seems that you can't update your tinder profile. If this is the case, you'll need to control the search distance from however you logged in.
The unfortunate thing here is that tindetheus heavily exploits being able to update this search distance. We will need to add an option which will prevent these lines from being executed:
self.session.profile.distance_filter = ...
For now commenting out all of the above lines in tinder_client.py will be a dirty fix...
@cjekel here is the error I'm getting when running inside docker
I haven't updated tindetheus on docker in a while. I still need to add a dockerfile which will make maintaing the docker setup much easier https://github.com/cjekel/tindetheus/issues/21
Seems that you weren't the only one getting the 500 error on the distance update... Perhaps we should add an option in the config to disable the distance updates? https://github.com/cjekel/tindetheus/issues/12