##// END OF EJS Templates
El programa se terminaba cuando se produce un error de conexion al servidor de graficos en la web, ahora el progrma imprime el error de conexion pero continua en ejecucion.
Daniel Valdez -
r433:b3892de8fc3a
parent child
Show More
@@ -211,7 +211,7 class CrossSpectraPlot(Figure):
211 self.sendByFTP(ftp_filename, server, folder, username, password)
211 self.sendByFTP(ftp_filename, server, folder, username, password)
212 except:
212 except:
213 self.counter_imagwr = 0
213 self.counter_imagwr = 0
214 raise ValueError, 'Error FTP'
214 print ValueError, 'Error FTP'
215
215
216 self.counter_imagwr = 0
216 self.counter_imagwr = 0
217
217
@@ -403,7 +403,7 class RTIPlot(Figure):
403 self.sendByFTP(ftp_filename, server, folder, username, password)
403 self.sendByFTP(ftp_filename, server, folder, username, password)
404 except:
404 except:
405 self.counter_imagwr = 0
405 self.counter_imagwr = 0
406 raise ValueError, 'Error FTP'
406 print ValueError, 'Error FTP'
407
407
408 self.counter_imagwr = 0
408 self.counter_imagwr = 0
409
409
@@ -600,7 +600,7 class SpectraPlot(Figure):
600 self.sendByFTP(ftp_filename, server, folder, username, password)
600 self.sendByFTP(ftp_filename, server, folder, username, password)
601 except:
601 except:
602 self.counter_imagwr = 0
602 self.counter_imagwr = 0
603 raise ValueError, 'Error FTP'
603 print ValueError, 'Error FTP'
604
604
605 self.counter_imagwr = 0
605 self.counter_imagwr = 0
606
606
@@ -1017,7 +1017,7 class CoherenceMap(Figure):
1017 self.sendByFTP(ftp_filename, server, folder, username, password)
1017 self.sendByFTP(ftp_filename, server, folder, username, password)
1018 except:
1018 except:
1019 self.counter_imagwr = 0
1019 self.counter_imagwr = 0
1020 raise ValueError, 'Error FTP'
1020 print ValueError, 'Error FTP'
1021
1021
1022 self.counter_imagwr = 0
1022 self.counter_imagwr = 0
1023
1023
@@ -1190,7 +1190,7 class Noise(Figure):
1190 self.sendByFTP(ftp_filename, server, folder, username, password)
1190 self.sendByFTP(ftp_filename, server, folder, username, password)
1191 except:
1191 except:
1192 self.counter_imagwr = 0
1192 self.counter_imagwr = 0
1193 raise ValueError, 'Error FTP'
1193 print ValueError, 'Error FTP'
1194
1194
1195 self.counter_imagwr = 0
1195 self.counter_imagwr = 0
1196
1196
General Comments 0
You need to be logged in to leave comments. Login now