Menu

#589 AttributeError: 'NoneType' object has no attribute 'split' when using 'Diff Publications'

v1.0 (example)
closed-fixed
None
5
2015-10-29
2015-10-29
Jens
No

The following error can occur when using "Diff Publications":

/var/www/cgi-bin/submitdiff.cgi in ()
109 print ''
110 else:
111 print '
' % (img1.split("|")[0])
112 print ''
113 print ''
img1 = None, img1.split undefined

<type 'exceptions.attributeerror'="">: 'NoneType' object has no attribute 'split' </type>

Steps to recreate:
1. Go to http://www.isfdb.org/cgi-bin/title.cgi?1349157
2. Click "Diff Publications"
3. Check the first two publications (pub ids 404235 and 404236)
4. Submit Query => boom

Discussion

  • Ahasuerus

    Ahasuerus - 2015-10-29
    • summary: AttributeError: 'NoneType' object has no attribute 'split' when using "Diff Publications" --> AttributeError: 'NoneType' object has no attribute 'split' when using 'Diff Publications'
    • assigned_to: Ahasuerus
     
  • Ahasuerus

    Ahasuerus - 2015-10-29

    Fixed in biblio/submitdiff.py 1.8, installed in r2015-217 on 2015-10-29. Closing.

     
  • Ahasuerus

    Ahasuerus - 2015-10-29
    • status: open --> closed-fixed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB