Comment 4 for bug 1251831

Revision history for this message
krocket (krocketor) wrote :

Hi,

there is also a problem in the script wizard_product_icecat.py, if @Presentation_Value no exist ...
line 153, I added a try, except:

for prod in doc.xpathEval ('/ / ProductFeature'):
             try:
                 prodFeatureId.append(prod.xpathEval('@CategoryFeatureGroup_ID'[0].content+"#"+
                 prod.xpathEval('@Presentation_Value')[0].content)
             except IndexError:
                 prodFeatureId.append (prod.xpathEval (@ CategoryFeatureGroup_ID ') [0]. glad + "#" + "no info")

regards