Actions
Bug #19594
closedarvados-user-activity tool crash
Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Story points:
-
Release:
Release relationship:
Auto
Description
We got the following report from one of our clusters:
Traceback (most recent call last): File "/usr/bin/arv-user-activity", line 8, in <module> sys.exit(main()) File "/usr/share/python3/dist/python3-arvados-user-activity/lib/python3.7/site-packages/arvados_user_activity/main.py", line 219, in main getCollectionName(arv, e["properties"].get("collection_uuid"), e["properties"].get("portable_data_hash")), File "/usr/share/python3/dist/python3-arvados-user-activity/lib/python3.7/site-packages/arvados_user_activity/main.py", line 101, in getCollectionName if len(uuid) != 27: TypeError: object of type 'NoneType' has no len()
Updated by Lucas Di Pentima about 2 years ago
Updates at 88f14b140 - branch 19594-user-activity-fix
Test run: developer-run-tests: #3310
- Checks for
uuid
to not beNone
before attempting to get its length. - Improves some code formatting for better readability.
Note for the reviewer: The issue was happening on pirca
Updated by Peter Amstutz about 2 years ago
Lucas Di Pentima wrote in #note-1:
Updates at 88f14b140 - branch
19594-user-activity-fix
Test run: developer-run-tests: #3310
- Checks for
uuid
to not beNone
before attempting to get its length.- Improves some code formatting for better readability.
Note for the reviewer: The issue was happening on
pirca
This LGTM, thanks for fixing!
Updated by Lucas Di Pentima about 2 years ago
- Status changed from In Progress to Resolved
Applied in changeset arvados|a33307464566191161d3a7264df70de14d064fd7.
Actions