100 |
|
msg +='\t%s'%str(ex) |
101 |
|
common.logger.debug(1, msg) |
102 |
|
except OperationException, ex: |
103 |
< |
common.logger.debug(1, str(ex)) |
104 |
< |
msg = "ERROR : Unable to create project destination on the Storage Element \n" |
103 |
> |
common.logger.debug(1, str(ex.detail)) |
104 |
> |
msg = "ERROR: Unable to create project destination on the Storage Element %s\n"%str(ex) |
105 |
> |
msg +="Project "+ self.taskuuid +" not Submitted \n" |
106 |
> |
raise CrabException(msg) |
107 |
> |
except AuthorizationException, ex: |
108 |
> |
common.logger.debug(1, str(ex.detail)) |
109 |
> |
msg = "ERROR: Unable to create project destination on the Storage Element: %s\n"%str(ex) |
110 |
|
msg +="Project "+ self.taskuuid +" not Submitted \n" |
111 |
|
raise CrabException(msg) |
112 |
|
|
119 |
|
common.logger.debug(1, "Sending "+ os.path.basename(filetocopy) +" to "+ self.storage_name) |
120 |
|
try: |
121 |
|
sbi.copy( source, dest) |
122 |
+ |
except AuthorizationException, ex: |
123 |
+ |
common.logger.debug(1, str(ex.detail)) |
124 |
+ |
msg = "ERROR: Unable to create project destination on the Storage Element: %s\n"%str(ex) |
125 |
+ |
msg +="Project "+ self.taskuuid +" not Submitted \n" |
126 |
+ |
raise CrabException(msg) |
127 |
|
except Exception, ex: |
128 |
|
common.logger.debug(1, str(ex)) |
129 |
< |
msg = "ERROR : Unable to ship the project to the server \n" |
129 |
> |
msg = "ERROR : Unable to ship the project to the server %s\n"%str(ex) |
130 |
|
msg +="Project "+ self.taskuuid +" not Submitted \n" |
131 |
|
raise CrabException(msg) |
132 |
|
|
167 |
|
CredAPI.ManualRenewCredential() |
168 |
|
except Exception, ex: |
169 |
|
raise CrabException(str(ex)) |
170 |
+ |
|
171 |
|
try: |
172 |
|
dict = CredAPI.registerCredential('submit') |
173 |
|
except Exception, err: |