Advertisement
Guest User

Untitled

a guest
Aug 7th, 2015
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.30 KB | None | 0 0
  1. ERROR: 14
  2. <type 'exceptions.Exception'> Not implemented START OF TRACEBACK ------------------------------------------------------------------------ File: sa/profiles/NAG/SNR/get_config.py (Line: 23) Function: execute 16 implements = [IGetConfig] 17 18 def execute(self, TFTP_root='', TFTP_IP='', file_name=''): 19 # Try snmp first 20 # 21 # 22 # See bug NOC-291: http://bt.nocproject.org/browse/NOC-291 23 ==> raise Exception("Not implemented") 24 # 25 # 26 if self.snmp and self.access_profile.snmp_rw and TFTP_IP and file_name: 27 try: 28 # The ConfigCopyProtocol is set to TFTP 29 self.snmp.set('1.3.6.1.4.1.9.9.96.1.1.1.1.2.111', 1) Variables: TFTP_root = '' file_name = '' self = <Script(Thread-129693, started daemon 140048926230272)> TFTP_IP = '' ------------------------------------------------------------------------ File: sa/script/script.py (Line: 463) Function: guarded_run 456 return result 457 except KeyError: 458 self.logger.debug("Not in call cache: %r, %r", 459 self.name, self.kwargs) 460 pass 461 # Calling script body 462 self._thread_id = thread.get_ident() 463 ==> result = self.execute(**self.kwargs) 464 # Enforce interface result checking 465 for i in self.implements: 466 result = i.script_clean_result(self.profile, result) 467 # Cache result when required 468 if self.cache and self.parent is not None: 469 self.logger.debug( Variables: i = <noc.sa.interfaces.igetconfig.IGetConfig object at 0x7f5fbe6560d0> self = <Script(Thread-129693, started daemon 140048926230272)> t0 = 1438933318.777437 ------------------------------------------------------------------------ File: sa/script/script.py (Line: 490) Function: run 483 484 def run(self): 485 """Script thread worker method""" 486 self.logger.debug("Running") 487 result = None 488 try: 489 with self.cancelable(): 490 ==> result = self.guarded_run() 491 except self.TimeOutError: 492 self.logger.error("Timed out") 493 self.e_timeout = True 494 except CancelledError: 495 self.logger.error("Cancelled") 496 self.e_cancel = True Variables: self = <Script(Thread-129693, started daemon 140048926230272)> r = ["<type 'exceptions.Exception'>", 'Not implemented'] result = None v = Exception('Not implemented',) tb = <traceback object at 0x7f5fbd6e4830> t = <type 'exceptions.Exception'> ------------------------------------------------------------------------ END OF TRACEBACK
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement