CDR Tickets

Issue Number 5315
Summary Uploaded audio file missing from Audio Download page
Created 2023-12-27 17:23:27
Issue Type Inquiry
Submitted By Osei-Poku, William (NIH/NCI) [C]
Assigned To Kline, Bob (NIH/NCI) [C]
Status Closed
Resolved 2023-12-27 18:29:43
Resolution Won't Fix
Path /home/bkline/backups/jira/ocecdr/issue.373183
Description

I have been able to successfully upload the week_2023_49.zip file to the Term_Audio directory on the sFTP server. However, when I go to the Audio Download page in the CDR and run it in test mode, several files are displayed with the exception of the week_2023_49.zip file. 

To reproduce on PROD:

  1. Check to see if Week_2023_49.zip file is present in the Term_Audio directory on the SFTP server or upload a new file

  2. Go to the CIAT/OCC Staff menu

  3. Click on the Audio Download report

  4. Select Run in test mode 

  5. Look for the Week_2023_49.zip file

Comment entered 2023-12-27 18:29:43 by Kline, Bob (NIH/NCI) [C]

The Processing Results report explained what happened. The script performs two passes, one to verify that the sets are correctly constructed for processing, and the second for performing the retrieval. The second pass is not performed if the first pass fails, as it did in this case.

Retrieval aborted by failed MP3 path checks

means exactly what it says. The first pass found a dozen separate problems, and each one is reported in the output you captured in your screenshot. Fix those problems and everything should work correctly.

Comment entered 2023-12-27 18:44:56 by Osei-Poku, William (NIH/NCI) [C]

Thanks Bob! The reported problems were in the Week_2021 file which was used for troubleshooting the sftp problems for Amy K. It shouldn't be in the directory. I removed it and it seems to be working now. Thanks!

Comment entered 2023-12-28 06:27:40 by Kline, Bob (NIH/NCI) [C]

I haven't gone back to the original tickets to confirm Alan's reasoning for having the software behave this way, but I would guess what you'll find if you do go back and read those tickets is that he wanted to prevent corrupted audio sets from being moved from the s/FTP server (to which you have access and where you can remove or fix the problems with incorrectly assembled sets) to the CDR file system (to which you—and the developers for that matter—don't have direct access, meaning we would need the assistance of CBIIT to get problem sets removed). Make sense? It's a common, sound principle behind many decisions in software development: if the program encounters unexpected problems, have it stop, report the problems, and back away to avoid the risk of making the problems worse. That's what Alan has done here. I would have done the same thing.

Attachments
File Name Posted User
Audio Download Page.PNG 2023-12-27 17:22:44 Osei-Poku, William (NIH/NCI) [C]

Elapsed: 0:00:00.001659