CDR Tickets

Issue Number 4291
Summary Catching CG2Public.py Error
Created 2017-07-24 16:29:05
Issue Type Bug
Submitted By Englisch, Volker (NIH/NCI) [C]
Assigned To Englisch, Volker (NIH/NCI) [C]
Status Closed
Resolved 2018-03-22 12:54:34
Resolution Won't Fix
Path /home/bkline/backups/jira/ocecdr/issue.211917
Description

Last weekend the publishing job reported 2000+ terminology files added. It turns out the publishing job the week before ran into an error when processing/copying the Terminology files as part of the script CG2Public.py. A network error caused the processing of the terminology files to stop but the program itself did not cause publishing to stop. This resulted in the 2000+ Term files to be missing and then being added again with last weeks job.

The good news is that this problem has never occurred before in the 4 years it's running but the program should be updated to ensure all documents will be available on the FTP server.

Comment entered 2017-07-24 16:31:16 by Englisch, Volker (NIH/NCI) [C]

Snipped from the log file:

!263984: Fri Jul 14 22:04:13 2017: Processing D:/cdr/Output/Job14722/Terminology...
!263984: Fri Jul 14 22:04:13 2017:    Copy to D:/cdr/Output/LicenseeDocs/Job14722/Terminology...
!263984: Fri Jul 14 23:26:16 2017: *** Error: <Errors>
  <Err>Failure executing database query: SQL ERROR CODE: SQL_ERROR; SQL STATE: 01000; 
SQL NATIVE ERROR: 65534; SQL ERROR MESSAGE: [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionRead (recv()).; SQL STATE: 08S01; 
SQL NATIVE ERROR: 11; SQL ERROR MESSAGE: [Microsoft][ODBC SQL Server Driver][DBNETLIB]General network error. 
Check your network documentation.</Err>
 </Errors>
!263984: Fri Jul 14 23:26:16 2017: Writing aux files and DTD
!263984: Fri Jul 14 23:26:16 2017: CG2Public.py - Finished
Comment entered 2018-03-22 12:53:26 by Englisch, Volker (NIH/NCI) [C]

This ticket can be closed because it's OBE (overcome by events). These events were Bob's rewrite of the publishing software. The program does now stop processing and submit an email message in case it finishes with warnings or errors.

Comment entered 2018-03-22 12:54:34 by Englisch, Volker (NIH/NCI) [C]

Marking issue as Won't Fix because it's fixed already.

Elapsed: 0:00:00.001377