Skip to content


User tools have buggy group-authz dir loading #44

labisso opened this Issue · 1 comment

2 participants

Nimbus member

A file in the group-authz dir named breaks user tools ability to load the directory.

Traceback (most recent call last):
  File "/opt/nimbus/libexec//", line 122, in <module>
    rc = main()
  File "/opt/nimbus/libexec//", line 112, in main
    report_results(db, u, o)
  File "/opt/nimbus/libexec//", line 81, in report_results
    group = find_member(groupauthz_dir, o.dn)
  File "/opt/nimbus/web/src/python/nimbusweb/setup/", line 57, in find_member
    for group in all_groups(groupauthz_dir):
  File "/opt/nimbus/web/src/python/nimbusweb/setup/", line 31, in all_groups
    group_id = int(name[len(_GROUP_FILE_PREFIX):])
ValueError: invalid literal for int() with base 10: ''
Nimbus member

Fixed. Added a test.

@buzztroll buzztroll closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.