Project

General

Profile

Feature #10014

Updated by Ward Vandewege over 7 years ago

I propose a patch along these lines: 

 <pre> 
 diff --git a/sdk/python/arvados/collection.py b/sdk/python/arvados/collection.py 
 index 56d8b23..0722f28 100644 
 --- a/sdk/python/arvados/collection.py 
 +++ b/sdk/python/arvados/collection.py 
 @@ -802,7 +802,7 @@ class RichCollectionBase(CollectionBase): 
          if isinstance(source, basestring): 
              source_obj = source_collection.find(source) 
              if source_obj is None: 
 -                  raise IOError(errno.ENOENT, "File not found") 
 +                  raise IOError(errno.ENOENT, "File not found", found: ", source) 
              sourcecomponents = source.split("/") 
          else: 
              source_obj = source 
 </pre>

Back