-
Notifications
You must be signed in to change notification settings - Fork 173
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
list index out of range in summarize_pass #12
Comments
It happens for me too but in a different function: loading
x: 76801, y: 10, z: (-46.080000, -19.740000)
drawing
Traceback (most recent call last):
File "/usr/bin/heatmap.py", line 618, in <module>
img = push_pixels(args)
File "/usr/bin/heatmap.py", line 420, in push_pixels
pix[x,y+tape_height] = rgb(zs[x])
File "/usr/bin/heatmap.py", line 360, in rgb_inner
return palette[tone_scaled]
IndexError: list index out of range The file will be here for a few more days: https://ufile.io/e18c4 |
Did you ever solve the issue @bodganr ... I'm having the exact same issue. If I can solve it I'll do a PR. For anyone else facing the same issue this might help: https://www.reddit.com/r/RTLSDR/comments/220ph0/heatmappy_problems/ |
As a workaround for @bogdanr case I've changed rgb_inner function to look like:
|
This happens to all my csv files.
I loaded one of them up in http://heat.wq.lc and they seem to work fine.
This is being run on a Raspberry Pi 1...
rtl_power output files can be found here: https://files.fm/u/ynpq9pnj
The text was updated successfully, but these errors were encountered: