suggestion for the clumsy
I would suggest you trap this error and give a gracious
message
`[Cfljam@pgenome 40.LFS_otherBACS]$ mkdir stupid [Cfljam@pgenome
40.LFS_otherBACS]$ cd stupid/ [Cfljam@pgenome stupid]$ moa new
stupid -t 'jeez Im thick' Warning: Encountered a run error?
Traceback (most recent call last):
File "/opt/moa10/bin/moa", line 318, in
run_1()
File "/opt/moa10/bin/moa", line 292, in run_1
run_2()
File "/opt/moa10/bin/moa", line 246, in run_2
run_3(wd)
File "/opt/moa10/bin/moa", line 191, in run_3
pluginHandler.runCallback(job, command)
File
"/opt/moa10/lib/python/moa/plugin/init.py", line
85, in runCallback
commandInfo['call'](job)
File "/opt/moa10/lib/python/moa/plugin/newjob.py", line 89, in
newJob
provider=provider)
File "/opt/moa10/lib/python/moa/job.py", line 52, in newJob
job.setTemplate(template, provider=provider)
File "/opt/moa10/lib/python/moa/job.py", line 322, in
setTemplate
moa.template.installTemplate(self.wd, name, provider = provider)
File
"/opt/moa10/lib/python/moa/template/init.py", line
58, in installTemplate
PROVIDERS.installTemplate(wd, tName, provider)
File
"/opt/moa10/lib/python/moa/template/provider/init.py",
line 96, in installTemplate
p.installTemplate(wd, tName)
AttributeError: 'NoneType' object has no attribute
'installTemplate'
[Cfljam@pgenome stupid]$ `