-
Notifications
You must be signed in to change notification settings - Fork 19
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
geographic gatherer stopped after IndexError exception #100
Comments
What's the incoming message triggering this? And the configuration. I have a feeling I've seen something like this before. |
config
|
The last message printed before the error:
It's a bit tricky to follow the log. I'm not sure if this is a mix of two gatherer configs. But it looks like it gets a file, add granule. This completes the gathering, but at the same time it says the last segment is not added. and then sends the message. And then the error comes. |
If the log messages are hard to follow, try to follow the code 😅 In short, I have, at least yet, no good ideas why |
I think the above incoming message isn't what triggered the crash. The completed collection were published correctly (the area and file naming match). I'd think the crashing one is the previous incoming message, from which the |
OK, so here is the log with the message just before that. So it looks like this is not included and then we might have a race condition still handling of one segment when the next one comes in and is added, triggers complete and sends the message. All this when the previous message is still under handeling. Then the message is cleaned and when it tries to do some handeling then it is already removed? Just a guess
|
Could very well be. Were there any on-going collections for the other configured sections? The |
Hm, looks very big. I don't remember why this is so huge. Centerd around the north pole as far as can understanmd from the config
|
That is indeed a huge area: from pyproj import Proj
prj = Proj({"proj": "stere", "lat_0": 90, "lon_0": 0, "lat_ts": 60, "ellps": "WGS84"})
print(prj(-7552173.63, -7552173.63, inverse=True)) shows (-45.0, 6.044472281577602) So the area goes 6° north of Equator covering most of the northern hemisphere. The description is a bit optimistic for the Norwegian territory 😅 |
Related? |
#79 no, thats just the glob of the TLE environment variable that is empty. The other I have no idea. |
Both the TLE environment variable being empty and #329 lead to the geographic gatherer stopping, in case of #329 due to a strange area. |
Ah, no, never mind. That was trollflow2, not the gatherer, which silently stops in case of 329. |
geographic gatherer stopped working, but did not exit with a value supervisor recognized to trigger a restart. This cause supervisord not to restart the gatherer. Supervisor reported:
The log from geographic gatherer
I guess the metadata does not have an element, but I don't understand why
pytroll-collectors/pytroll_collectors/triggers/_base.py
Lines 89 to 92 in d85bcf9
The text was updated successfully, but these errors were encountered: