Project

General

Profile

Bug #4230

Samweb returns None object rather than 'unknown volume' for enstore tape label if file does not have an actual tape label.

Added by Michael Diesburg over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
06/27/2013
Due date:
% Done:

0%

Estimated time:
Duration:

Description

Example traceback from FTS log:

2013-06-27 13:30:16-0500 [HTTP11ClientProtocol (TLSMemoryBIOProtocol),client] Found 1 existing locations for file fd_r0000004_s87_S13-04-09_nominal_genie_3000_fhc_20121129_181947.sim.reco.root
2013-06-27 13:30:16-0500 [HTTP11ClientProtocol (TLSMemoryBIOProtocol),client] Unhandled Error
Traceback (most recent call last):
File "/grid/fermiapp/products/nova/prd/twisted/v12_2/Linux64bit-2/lib/python/twisted/internet/defer.py", line 464, in _startRunCallbacks
self._runCallbacks()
File "/grid/fermiapp/products/nova/prd/twisted/v12_2/Linux64bit-2/lib/python/twisted/internet/defer.py", line 551, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/grid/fermiapp/products/nova/prd/twisted/v12_2/Linux64bit-2/lib/python/twisted/internet/defer.py", line 368, in callback
self._startRunCallbacks(result)
File "/grid/fermiapp/products/nova/prd/twisted/v12_2/Linux64bit-2/lib/python/twisted/internet/defer.py", line 464, in _startRunCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/grid/fermiapp/products/nova/prd/twisted/v12_2/Linux64bit-2/lib/python/twisted/internet/defer.py", line 551, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/grid/fermiapp/products/nova/prd/FileTransferService/v3_4/NULL/python/fts/filecheck.py", line 52, in _handleLocations
if not 'unknown' in loc['label']:
exceptions.TypeError: argument of type 'NoneType' is not iterable

History

#1 Updated by Robert Illingworth over 6 years ago

  • Target version set to v3_5

#2 Updated by Robert Illingworth over 6 years ago

  • Status changed from New to Closed

Fixed in 1bd7dc01



Also available in: Atom PDF