Giter VIP home page Giter VIP logo

Comments (8)

cjekel avatar cjekel commented on July 17, 2024

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?

from tindetheus.

tosainucoin avatar tosainucoin commented on July 17, 2024

Yeah still having the same issue

from tindetheus.

tosainucoin avatar tosainucoin commented on July 17, 2024

@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
sys.exit(command_line_run())
File "/usr/local/lib/python3.6/dist-packages/tindetheus/tindetheus.py", line 268, in command_line_run
main(args, defaults['facebook_token'], defaults['XAuthToken'])
File "/usr/local/lib/python3.6/dist-packages/tindetheus/tindetheus.py", line 62, in main
likes_left=args.likes, x_auth_token=x_auth_token)
File "/usr/local/lib/python3.6/dist-packages/tindetheus/tinder_client.py", line 95, in init
self.session.profile.distance_filter = self.search_distance
File "/usr/local/lib/python3.6/dist-packages/pynder/models/me.py", line 32, in set
instance.init(instance._api.update_profile(profile), instance._api)
File "/usr/local/lib/python3.6/dist-packages/pynder/api.py", line 98, in update_profile
return self._post("/profile", profile)
File "/usr/local/lib/python3.6/dist-packages/pynder/api.py", line 63, in _post
return self._request("post", url, data=data)
File "/usr/local/lib/python3.6/dist-packages/pynder/api.py", line 54, in _request
raise errors.RequestError(result.status_code)
pynder.errors.RequestError: 500

from tindetheus.

cjekel avatar cjekel commented on July 17, 2024

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())

from tindetheus.

tosainucoin avatar tosainucoin commented on July 17, 2024

@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

from tindetheus.

cjekel avatar cjekel commented on July 17, 2024

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...

from tindetheus.

cjekel avatar cjekel commented on July 17, 2024

@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 #21

from tindetheus.

cjekel avatar cjekel commented on July 17, 2024

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? #12

from tindetheus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.