Un-understandable error messages when running tests

From EdnaWiki
Jump to: navigation, search

Example of cryptic error message

 [Warning]: EDPluginExecProcess.configure: No plugin item defined.
 [Warning]: EDPluginExecProcessScript.configure: No plugin item defined.
 [ERROR]: Configuration parameter missing: execProcessScriptExecutable
 Traceback (most recent call last):
   File "/home/tester/edna/kernel/src/EDAction.py", line 140, in executeKernel
     self.__edSlotSUCCESS.call(self)
   File "/home/tester/edna/kernel/src/EDSlot.py", line 80, in call
     self.executeMethod(pyMethod, _tupleArguments)
   File "/home/tester/edna/kernel/src/EDSlot.py", line 88, in executeMethod
     _pyMethod(_tupleArguments)
   File "/home/tester/edna/bioSaxsv1/plugins/EDPluginBioSaxsNormalize-v1.0/plugin/EDPluginBioSaxsNormalizev1_0.py", line 180, in doSuccessExecWaitFile
     self.__edPluginExecSaxsMac.executeSynchronous()
   File "/home/tester/edna/kernel/src/EDAction.py", line 347, in executeSynchronous
     self.execute(_edObject)
   File "/home/tester/edna/kernel/src/EDPlugin.py", line 232, in execute
     self.configure()
   File "/home/tester/edna/kernel/src/EDPluginExecProcessScript.py", line 317, in configure
     self.__strPathToHostNamePidFile = os.path.join(self.getWorkingDirectory(), os.path.basename(self.__strScriptExecutable) + "_hostNamePid.txt")
   File "/usr/lib/python2.6/posixpath.py", line 111, in basename
     i = p.rfind('/') + 1
 AttributeError: 'NoneType' object has no attribute 'rfind'

Analysis of the error

Everything is written here: [ERROR]: Configuration parameter missing: execProcessScriptExecutable

Check list:

  • is EDNA_SITE configured (environment variable referring to a configuration file) ?
  • Does the configuration file related to this environment variable exist ?
  • Is there a configuration description for your plugin ?
  • is the good variable defined over there ?