dmwm / dmwm/CRABClient

Client eats important tracebacks

Open
#4,481 4 comments 0 reactions 1 assignee Assigned to @belforte View on GitHub
bug Low Priority question
Dominant language
Python
Stars
18
Forks
38
PR merge metrics
No merged PRs in 30d

Description

```
DEBUG 2015-05-18 23:38:19,053: Executing command: 'submit'
DEBUG 2015-05-18 23:38:19,053: Found CRAB cache file /home/meloam/.crab3
DEBUG 2015-05-18 23:38:19,063: Checking credentials
DEBUG 2015-05-18 23:38:19,064: Found proxy file /tmp/x509up_u112870
DEBUG 2015-05-18 23:38:19,064: Getting proxy life time left
DEBUG 2015-05-18 23:38:19,166: Executing :
command : voms-proxy-info -file /tmp/x509up_u112870 -timeleft
output : 85755

error:
retcode : 0
DEBUG 2015-05-18 23:38:19,268: Executing :
command : voms-proxy-info -file /tmp/x509up_u112870 -actimeleft
output : 85755

error:
retcode : 0
DEBUG 2015-05-18 23:38:19,268: Proxy valid for 23:49:15 hours
INFO 2015-05-18 23:38:19,268: Will use CRAB configuration file crab.py
DEBUG 2015-05-18 23:38:19,268: Loading CRAB configuration file.
ERROR 2015-05-18 23:38:19,271: Syntax error in CRAB configuration file:
'NoneType' object has no attribute 'endswith'
Please refer to https://twiki.cern.ch/twiki/bin/view/CMSPublic/CRAB3CommonErrors#Syntax_error_in_CRAB_configurati
See the ./crab.log file for more details.
The documentation about the CRAB configuration file can be found in https://twiki.cern.ch/twiki/bin/view/CMSPublic/CRAB3ConfigurationFile
ERROR 2015-05-18 23:38:19,271: Caught exception
Traceback (most recent call last):
File "/gpfs22/home/meloam/projects/bsm-edntuple/me2/src/BSM3GAna/EDMNtuple/CRABClient/src/python/CRABClient/CRABCommandLine.py", line 139, in
client()
File "/gpfs22/home/meloam/projects/bsm-edntuple/me2/src/BSM3GAna/EDMNtuple/CRABClient/src/python/CRABClient/CRABCommandLine.py", line 124, in __call__
self.cmd = sub_cmd(self.logger, args[1:])
File "/home/meloam/projects/bsm-edntuple/me2/src/BSM3GAna/EDMNtuple/CRABClient/src/python/CRABClient/Commands/submit.py", line 39, in __init__
SubCommand.__init__(self, logger, cmdargs, disable_interspersed_args = True)
File "/home/meloam/projects/bsm-edntuple/me2/src/BSM3GAna/EDMNtuple/CRABClient/src/python/CRABClient/Commands/SubCommand.py", line 290, in __init__
self.loadConfig(self.options.config, self.args)
File "/home/meloam/projects/bsm-edntuple/me2/src/BSM3GAna/EDMNtuple/CRABClient/src/python/CRABClient/Commands/SubCommand.py", line 83, in loadConfig
raise ConfigurationException(configmsg)
ConfigurationException: Syntax error in CRAB configuration file:
'NoneType' object has no attribute 'endswith'
Please refer to https://twiki.cern.ch/twiki/bin/view/CMSPublic/CRAB3CommonErrors#Syntax_error_in_CRAB_configurati
See the ./crab.log file for more details.
The documentation about the CRAB configuration file can be found in https://twiki.cern.ch/twiki/bin/view/CMSPublic/CRAB3ConfigurationFile
```

Reraising a new exception blows away the context that would be needed to fix the problem. Who was set to NoneType??

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.