problem with scan result dictionary causes CORBA.UNKNOWN in Scan container
Add more try
, except
blocks to return a meaningful error message to nash
so we can learn the root cause instead of CORBA.UNKNOWN
2024-06-27 05:20:03 [INFO] nash.Scan.run_queue(): Run all scans in the queue. 1 scans.
2024-06-27 05:20:03 [DEBUG] nash.Scan.run_queue(): run queue [size: 1]
2024-06-27 05:20:03 [WARNING] nash.Scan.run_queue(): Block until all scans are finished
2024-06-27 05:20:03 [WARNING] nash.Scan.run_queue(): CTRL+C to stop current scan, stop the queue, receive results
2024-06-27 05:20:03 [DEBUG] nash.Scan.run_queue(): use function clear_queue() to delete remaining items after stopped
2024-06-27 05:20:03 [DEBUG] nash.Scan.run_queue(): see details of Scan queue execution in ACS CommandCenter log tab "ScanC" and DataMonitor GUI
2024-06-27 05:22:44 [ERROR] nash.Scan.run_queue(): UNKNOWN: CORBA.UNKNOWN(omniORB.UNKNOWN_PythonException, CORBA.COMPLETED_MAYBE)
2024-06-27 05:22:44 [WARNING] nash.Scan.run_queue(): Stop the queue and exit
2024-06-27 05:22:44 [INFO] nash.Session.log(): all results: {}
2024-06-27 05:22:44 [INFO] nash.Session.log(): Scaning in loop: 2/31
2024-06-27 05:22:44 [INFO] nash.Session.log(): Scaning at: MMK-381
2024-06-27 05:22:44 [INFO] nash.Session.log(): Right Ascension: 21h49m34.92s
2024-06-27 05:22:44 [INFO] nash.Session.log(): Declination: 14d36m32.3s
results_scan = self.current_scan.run(self.current_scan_stopped)
# Add the results of this current scan to the dictionary for the the entire queue
scan_number = self.cdb.get(cdbConstants.SCANNUM)
self.results_queue[scan_number] = results_scan
self.scan_id_lastrun = int(scan_number)
Edited by Spiro Sarris