Author Maks Bleo
Recipients Maks Bleo
Date 2020-04-17.10:17:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1587118643.2.0.902687286984.issue40310@roundup.psfhosted.org>
In-reply-to
Content
Windows 10
Version 1909 (OS Build18363.778)
Python 3.7.7 x64

cars_av_by_spider_scr.py - py file for scrapy.
bash command to use
scrapy runspider cars_av_by_spider_scr.py -o cars_av_by_spider_scr.json > cars_av_by_spider_scr.txt 2>&1

Bad behavior in line 52. (In comment fixed version)

When while loop iterate on second step instead of using
model[0], model[1] it start use model[1][0] and model[1][1].
On third step it  crash, out of range.

But if assign value before while loop and use it in while loop everything work fine. 


It's my first bug report.
History
Date User Action Args
2020-04-17 10:17:23Maks Bleosetrecipients: + Maks Bleo
2020-04-17 10:17:23Maks Bleosetmessageid: <1587118643.2.0.902687286984.issue40310@roundup.psfhosted.org>
2020-04-17 10:17:23Maks Bleolinkissue40310 messages
2020-04-17 10:17:23Maks Bleocreate