Menu

#116 Pub display error if the URL field set to "url"

closed-fixed
5
2009-10-04
2009-09-17
Ahasuerus
No

If the cover URL field is set to "url", the Publication Display screen errors out with a Python error:

<type 'exceptions.IndexError'> Python 2.5: /usr/bin/python
Wed Sep 16 22:14:22 2009

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/var/www/cgi-bin/pl.cgi in ()
373 url = publication[PUB_IMAGE]
374 spliturl_at_dots = url.split('.')
375 second_url_part = spliturl_at_dots[1]
376 third_url_part = spliturl_at_dots[2]
377 print '<table>'
second_url_part undefined, spliturl_at_dots = ['url']

<type 'exceptions.IndexError'>: list index out of range

Discussion

  • Ahasuerus

    Ahasuerus - 2009-10-04

    Fixed in biblio/pl.py 1.23. Implemented in r2009-41.

     
  • Ahasuerus

    Ahasuerus - 2009-10-04
    • assigned_to: nobody --> ahasuerus_isfdb
    • status: open --> closed-fixed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB