Closed g-mo closed 2 years ago
Ran into this today. Thanks for the pointer @g-mo.
What thoughts do you have on a potential resolution? Would it likely be server-side or client-side?
try
/except
)?limit
key present in these situationslimit
isn't presentThe line in question sets a variable that is only being used by a line that is commented out. This line sets lim
:
lim = _query['limit']
and/but it looks like lim
is only being used here:
# len(results) < lim
So might it be possible to also comment out the line that sets lim
as a possible way to resolve this issue?
Confirmed, commenting out this line allows client to advance with no further tracebacks.
This was still happening to me today, even while on pysofar 0.1.13. May need to look into this.
The return payload from grab_data() is expected to have a
limit
key in it but it doesn't when you don't own the Spotter you're accessing. When this happens, this line triggers aKeyError