Comments (8)
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.
Yeah still having the same issue
from tindetheus.
@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.
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.
@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.
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 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.
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)
- Reinforcement learning HOT 1
- Issue with Pillow HOT 1
- update documentation for latest instructions
- Using Jupyter notebooks HOT 2
- Use Environment Variables HOT 3
- tf.train.import_meta_graph deprecated in favor of tf.compat.v1.train.import_meta_graph HOT 4
- Move documentation into a docs folder HOT 2
- Error when running HOT 19
- strip \r \n from string ending in config.py
- Profiles repeat HOT 2
- Error after dislike
- tutorial please HOT 1
- ImportError: attempted relative import with no known parent package HOT 6
- running in Docker: ERROR: No facebook or tinder token has been set. HOT 10
- ValueError: Could not find a format.....while running tindetheus train HOT 1
- Receiving Illegal instruction (core dumped) HOT 17
- tindetheus browse - pynder.errors.RequestError: 500 HOT 1
- regarding model/20170512-110547 HOT 2
- Any directions on how to port to Mac M1 arch arm64 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tindetheus.