CDR Tickets

Issue Number 4725
Summary Nofify_VOL.py fails with Error
Created 2019-11-20 17:07:53
Issue Type Improvement
Submitted By Englisch, Volker (NIH/NCI) [C]
Assigned To Kline, Bob (NIH/NCI) [C]
Status Closed
Resolved 2019-11-22 09:31:18
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.252633
Description

The job Notify_VOL.py which is part of the weekly publishing job fails with the following error message:

Traceback (most recent call last):
{{ File "D:\cdr\Publishing\Notify_VOL.py", line 446, in <module>}}
{{ newReport = createRows(newMediaChanges)}}
{{ File "D:\cdr\Publishing\Notify_VOL.py", line 295, in createRows}}
{{ row[3] and row[3][:16] or '',}}
TypeError: 'datetime.datetime' object is not subscriptable

Comment entered 2019-11-21 13:38:19 by Kline, Bob (NIH/NCI) [C]

Give it another try. I think I've corrected the problem (on dev2 and qa2).

Comment entered 2019-11-21 15:44:39 by Englisch, Volker (NIH/NCI) [C]

The job ran successfully on QA2.

Elapsed: 0:00:00.001590