Comments (7)
from pokemongo-api.
We're just following these guys for now.
If you are convinced this is the case, submit a pull request with them and we'll merge it
from pokemongo-api.
Ehh. I'll keep this open then
from pokemongo-api.
Fair enough. All I know is that using INT64, when my Pokemon ID is outside of the scope of INT64 it fails to favorite the Pokemon giving an out of range exception.
from pokemongo-api.
I haven't had this issue, but I haven't extensively used the call. Do you have an id as reference?
from pokemongo-api.
@dmadisetti here's an ID that raises the error if it's set to INT64 rather than UINT64:
File "C:\Python27\lib\site-packages\google\protobuf\internal\type_checkers.py", line 134, in CheckValue
if not isinstance(proposed_value, six.integer_types):
message = ('%.1024r has type %s, but expected one of: %s' %
(proposed_value, type(proposed_value), six.integer_types))
raise TypeError(message)
if not self._MIN <= proposed_value <= self._MAX:
raise ValueError('Value out of range: %d' % proposed_value)
# We force 32-bit values to int and 64-bit values to long to make
# alternate implementations where the distinction is more significant
# (e.g. the C++ implementation) simpler.
proposed_value = self._TYPE(proposed_value)
return proposed_value
ValueError: Value out of range: 9616888052755598152
We force 32-bit values to int and 64-bit values to long to make
# alternate implementations where the distinction is more significant
# (e.g. the C++ implementation) simpler.
proposed_value = self._TYPE(proposed_value)
return proposed_value
ValueError: Value out of range: 9616888052755598152
from pokemongo-api.
After altering the Proto, it works.
Line 111,mgr.py - 2016-08-12 15:28:59,000 - CRITICAL - Found pokemon with ID 9616888052755598152. Toggling favorite.
Line 113,mgr.py - 2016-08-12 15:28:59,124 - CRITICAL - result: SUCCESS
Line 87,_internal.py - 2016-08-12 15:28:59,132 - INFO - 127.0.0.1 - - [12/Aug/2016 15:28:59] "GET /release?sortBy=cp&pokeID=9616888052755598152&action=Favorite+Selected HTTP/1.1" 200 -
Line 87,_internal.py - 2016-08-12 15:29:00,266 - INFO - 127.0.0.1 - - [12/Aug/2016 15:29:00] "GET /inventory HTTP/1.1" 200 -
from pokemongo-api.
Related Issues (20)
- How to determine the level of PokeGym? HOT 1
- Question about use HOT 3
- Error in Geo Request HOT 6
- Connection problems HOT 1
- Question about use of coordinates. HOT 2
- Clarification on `episilon` and `step` in `trainer.WalkTo` HOT 2
- AttributeError: 'str' object has no attribute 'noop' HOT 3
- TypeError: __init__() got an unexpected keyword argument 'auth'
- Error: Expected a bytes-like object, str found HOT 1
- Can't find pokestops HOT 1
- No update?
- Connection problem since 13/02/17 HOT 1
- TypeError: sequence item 0: expected a bytes-like object, str found HOT 1
- Proposing a PR to fix a few small typos
- Pip install error
- Unknown 6 error HOT 2
- findBestPokemon() function not working ? HOT 5
- Update Readme HOT 1
- Help: How to apply a lure module to a pokestop ? HOT 2
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 pokemongo-api.