Skip to content
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

collect-mirror-stats errors when mirror is removed #1024

Open
ja5087 opened this issue Sep 1, 2020 · 0 comments
Open

collect-mirror-stats errors when mirror is removed #1024

ja5087 opened this issue Sep 1, 2020 · 0 comments

Comments

@ja5087
Copy link
Member

ja5087 commented Sep 1, 2020

We are getting rootspam like:

Traceback (most recent call last):
  File "/usr/local/sbin/collect-mirrors-stats", line 195, in <module>
    sys.exit(main(args))
  File "/usr/local/sbin/collect-mirrors-stats", line 162, in main
    projects[log_filename.stem]['up'] += rx
KeyError: 'devuan'

I'm guessing (emphasis on guessing) this is due to me moving devuan -> devuan-cd and the old logs still containing devuan. Ideally this should not block stats collections.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant