CDR Tickets

Issue Number 4232
Summary Error Message when running PublishPreview
Created 2017-02-15 17:50:38
Issue Type Bug
Submitted By Englisch, Volker (NIH/NCI) [C]
Assigned To Kline, Bob (NIH/NCI) [C]
Status Closed
Resolved 2017-02-15 18:18:57
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.203118
Description

I received a Python error when I tried to run a PublishPreview report on DEV for the summary CDR62796 (Level of evidence for Adult and Pediatric ...)

Comment entered 2017-02-15 17:52:27 by Englisch, Volker (NIH/NCI) [C]
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 D:\Inetpub\wwwroot\cgi-bin\cdr\PublishPreview.py in () 
    401                 x.set('type', 'SummaryFragRef-internal-frag')
    402             # Retrieving CDR-ID or adding server name to URL
=>  403             elif link[0] == '/':
    404                 if cdrId:
    405                     if cdrId == intId and link.find('#') > -1:
link = '' 

<type 'exceptions.IndexError'>: string index out of range 
      args = ('string index out of range',) 
      message = 'string index out of range'  

D:\cdr\Log\tmpudveg5.html contains the description of this error.
Comment entered 2017-02-15 18:18:57 by Kline, Bob (NIH/NCI) [C]

All better. Try it now.

Comment entered 2017-06-12 12:41:25 by Englisch, Volker (NIH/NCI) [C]

This ticket indicates it's part of Einstein. Did it make it to PROD? If so the ticket could probably be closed. now or is there anything left to be done?.

Comment entered 2017-06-12 12:47:56 by Kline, Bob (NIH/NCI) [C]

Yes, the commit linked from this ticket shows the fix.

Elapsed: 0:00:00.001395