Pixela icon indicating copy to clipboard operation
Pixela copied to clipboard

Pixel details showing data, but colors aren't appearing and Today's value set to 0

Open Tom201809 opened this issue 2 years ago • 4 comments

The colors were working fine, but suddenly, around midnight all the colors are now gone. I've deleted and created new graphs and there is the same issue. On the side panel it says total pixels 1, a value greater than 0 for the pixel, but the graph is empty and the value for Today is 0 Screen Shot 2021-11-17 at 12 54 11 AM .

Tom201809 avatar Nov 16 '21 15:11 Tom201809

30 minutes later and it appears to be working again. Maybe just a delay?

Tom201809 avatar Nov 16 '21 16:11 Tom201809

@Tom201809 Thank you for using Pixela :)

hmm, it is very weird issue.

I checked the request log to Pixela and it seems that the Python program is sending PUT requests many times per second. This may have caused delays on the Pixela side, or may have caused the graph to be updated with 0 when you viewed it.

What Python programs are you building? If you have a public repository, can you give me the URL?

a-know avatar Nov 16 '21 21:11 a-know

Hi. I don't have a public repository for this program. It's just a really basic habit tracker with Python, using 5 graphs, in a Tkinter GUI. It should only be updating each graph once as I push a button. I first noticed the delay with the graph as I started to change the UTC timezone to a timezone in Asia. First I did the profile, then I deleted and remade the graphs one by one with the updated timezone. The reason for the many PUT requests at once was that I wanted to see if multiple button clicks would break anything, but I'm pretty sure I tried that after there was an issue with the graphs. Like I said, it seems to be working now, and I haven't had any issues since. If you feel that you need to investigate this issue further, I can try to find a way to get you access to the code.

Tom201809 avatar Nov 20 '21 10:11 Tom201809

@Tom201809 Thank you for reply!

Yes, so far this seems to be happening only to you. It could have something to do with the time zone change and the fact that you made a lot of requests in a short period of time, but it could also be that your program behaved in a way that you did not intend.

If you experience the same problem again and if you need my help, please feel free to let me know here at any time. :)

a-know avatar Nov 20 '21 13:11 a-know