This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author andrei.avk
Recipients andrei.avk, becky07, paul.moore, shreyanavigyan, steve.dower, steven.daprano, tim.golden, zach.ware
Date 2021-05-09.16:56:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1620579403.62.0.832553614682.issue44076@roundup.psfhosted.org>
In-reply-to
Content
Hi Mohamed, you can try changing the following line:

    itemXid = assetinfo_lst[xrec][1]

to:

print('xrec',xrec)
itemXid = assetinfo_lst[xrec]
itemXid = itemXid[1]

This will show you if the index error is caused by xrec or by [1] lookup. If caused by xrec lookup, you will see what xrec value is at this point.
History
Date User Action Args
2021-05-09 16:56:43andrei.avksetrecipients: + andrei.avk, paul.moore, tim.golden, steven.daprano, zach.ware, steve.dower, shreyanavigyan, becky07
2021-05-09 16:56:43andrei.avksetmessageid: <1620579403.62.0.832553614682.issue44076@roundup.psfhosted.org>
2021-05-09 16:56:43andrei.avklinkissue44076 messages
2021-05-09 16:56:43andrei.avkcreate