Bug #24549
samweb_lite layer should not try looking up project name "None"
Start date:
06/19/2020
Due date:
% Done:
0%
Estimated time:
First Occurred:
Scope:
Internal
Experiment:
-
Stakeholders:
Description
Currently in error log we have lots of:
1 2020-06-19 09:20:02,353 <10791.140018983065344> samweb_lite.log: Error: got no result for url http://samweb.fnal.gov:8480/sam/uboone/api/projects/name/None/summary?format=json&process_limit=0
which means we're trying to look up a null project name, or possibly one named "None"...
History
#1 Updated by Marc Mengel 27 days ago
- Target version set to v4_3_0
#2 Updated by Marc Mengel 27 days ago
- Status changed from New to Work in progress
So it looks like this was happening in the fetch_info_list() method; where some of the submissions have a project of None... Having this instead look up a url of None if the s.project is None, and have the safe_get routine just return None if the url is None...