RStDGangaGuideGangafourzerzerbetafiveHWChooseSiteScreenDump

In [68]: j7=j4.copy()
 
In [69]: print j7
Job {
 status = 'new' ,
 name = '' ,
 inputdir = '/afs/cern.ch/user/s/stdenis/gangadir/workspace/Local/106/input/' , outputdir = '/afs/cern.ch/user/s/stdenis/gangadir/workspace/Local/106/output/' ,
 outputsandbox = [] ,
 id = 106 ,
 inputdata = None ,
 inputsandbox = [ ] ,
 application = Executable {
    exe = '/bin/echo' ,
    env = {} ,
    args = ['Hello World']
    } ,
 backend = LCG {
    status = None ,
    actualCE = None ,
    CE = None ,
    reason = None ,
    id = None ,
    exitcode = None ,
    requirements = Requirements {
       ipconnectivity = None ,
       cputime = None ,
       other = [] ,
       memory = None ,
       software = [] ,
       walltime = None
       }
    }
 }
 
 
 
In [70]: j7.backend.requirements = 'other.GlueCEUniqueID == "grid-ce.desy.de:2119/jobmanager-lcgpbs-short"'
Ganga.Utility.Plugin               : ERROR    cannot find 'other.GlueCEUniqueID == "grid-ce.desy.de:2119/jobmanager-lcgpbs-short"' in a category 'requirements'
---------------------------------------------------------------------------
exceptions.ValueError                                Traceback (most recent call last)
 
/afs/cern.ch/user/s/stdenis/<console>
 
/afs/cern.ch/sw/ganga/install/slc3_gcc323/4.0.0-beta5/python/Ganga/GPIDev/Base/Proxy.py in _setattr(self, x, v)
    256             raise AttributeError("Schema of '%s' has no property '%s'" % (self._impl._name,x))
    257
--> 258         object.__setattr__(self,x,v)
    259     helptext(_setattr,"""Set a property of %(classname)s with consistency and safety checks.
    260 Setting a [protected] or a unexisting property raises AttributeError.""")
 
/afs/cern.ch/sw/ganga/install/slc3_gcc323/4.0.0-beta5/python/Ganga/GPIDev/Base/Proxy.py in __set__(self, obj, val)
    129             val = map(stripper,val)
    130         else:
--> 131             val = stripper(val)
    132
    133         # apply attribute filter to component items
 
/afs/cern.ch/sw/ganga/install/slc3_gcc323/4.0.0-beta5/python/Ganga/GPIDev/Base/Proxy.py in <lambda>(v)
    122             item = obj._impl._schema.getItem(self._name)
    123             filter = allComponentFilters[item['category']]
--> 124             stripper = lambda v: stripComponentObject(v,filter,item)
    125         else:
    126             stripper = stripAttribute
 
/afs/cern.ch/sw/ganga/install/slc3_gcc323/4.0.0-beta5/python/Ganga/GPIDev/Base/Proxy.py in stripComponentObject(v, filter, item)
     30         return v._impl
     31
---> 32     vv = filter(v,item)
     33     if vv is None:
     34         return getImpl(v)
 
/afs/cern.ch/sw/ganga/install/slc3_gcc323/4.0.0-beta5/python/Ganga/GPIDev/Base/Objects.py in string_type_shortcut_filter(val, item)
    346             return obj
    347         except PluginManagerError,x:
--> 348             raise ValueError(x)
    349     return None
    350
 
ValueError: cannot find 'other.GlueCEUniqueID == "grid-ce.desy.de:2119/jobmanager-lcgpbs-short"' in a category 'requirements'
 


Major updates:
-- RichardStDenis - 19 Oct 2005

%RESPONSIBLE%
%REVIEW%

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2005-10-20 - RichardStDenis
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback