Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with location with minus #1045

Closed
oliveeyay opened this issue Jul 26, 2016 · 4 comments
Closed

Problem with location with minus #1045

oliveeyay opened this issue Jul 26, 2016 · 4 comments
Labels

Comments

@oliveeyay
Copy link

Expected Behavior

Should work with location = "37.8059,-122.4289" for example

Actual Behavior

Shows errors:
Location Found: 37.8059,-122.4289 [13:15:39] [x] The location given using -l could not be parsed. Checking for a cached location. [13:15:39] [x] Parsing cached location... No cached Location. Please specify initial location.

Steps to Reproduce

Set up a normal location: "37.8059,122.4289"
It works.
Set up an inferior to zero location (US etc...): "37.8059,-122.4289"
It does not work

Other Information

OS: MAC OS X 10.11.6
Git Commit: 3364aa3

Thank you in advance :)

@jovobe
Copy link
Contributor

jovobe commented Jul 26, 2016

This is a problem caused by an update in the pgoapi from tejado. It can easily be fixed by pinning the pgoapi pip to the "v1.1.0" tag. Change the first line in the requirements.txt in this way:
-e git+https://github.com/tejado/[email protected]#egg=pgoapi
and update your pip with
pip install -r requirements.txt

@oliveeyay
Copy link
Author

oliveeyay commented Jul 26, 2016

Thanks @jovobe
Unfortunately I got the following error after modification of the requirements.txt:
Uninstalling six-1.4.1: Exception: Traceback (most recent call last): File "/Library/Python/2.7/site-packages/pip/basecommand.py", line 215, in main status = self.run(options, args) File "/Library/Python/2.7/site-packages/pip/commands/install.py", line 317, in run prefix=options.prefix_path, File "/Library/Python/2.7/site-packages/pip/req/req_set.py", line 736, in install requirement.uninstall(auto_confirm=True) File "/Library/Python/2.7/site-packages/pip/req/req_install.py", line 742, in uninstall paths_to_remove.remove(auto_confirm) File "/Library/Python/2.7/site-packages/pip/req/req_uninstall.py", line 115, in remove renames(path, new_path) File "/Library/Python/2.7/site-packages/pip/utils/__init__.py", line 267, in renames shutil.move(old, new) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 302, in move copy2(src, real_dst) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 131, in copy2 copystat(src, dst) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 103, in copystat os.chflags(dst, st.st_flags) OSError: [Errno 1] Operation not permitted: '/tmp/pip-fRJQCR-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/six-1.4.1-py2.7.egg-inf

I tried running pip uninstall -r requirements.txt first, did not fix :(

@oliveeyay
Copy link
Author

Actually running pip install with the flag --ignore-installed six fixed my problem.
Just in case for others.

@fredrik-hellmangroup
Copy link
Contributor

Commit has been reverted, please repull. #1065

hoanghuynh pushed a commit to hoanghuynh/PokemonGo-Bot that referenced this issue Sep 28, 2016
* Added npm and grunt, added node_modules/ to git ignore

* Adjusted side to the left

* Updated Grunt to minify CSS and JS, references on maps.html updated

* Added minified css and js to gitignore

* changed to having dist/ folder instead

* Fixed grunt issues, adjusted some js

* Adjusted filter styles

* UI updates, style changes

* More UI changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants