Dec-29-2017, 10:31 AM
StopIteration
is a normal error raised when the __next__()
method is called but there are no more records to read. Therefore I guess that your file is empty.
StopIteration error
|
|
Messages In This Thread |
StopIteration error - by Rakesh - Dec-29-2017, 09:59 AM
RE: StopIteration error - by squenson - Dec-29-2017, 10:31 AM
RE: StopIteration error - by buran - Dec-29-2017, 11:39 AM
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
RuntimeError: generator raised StopIteration | quest | 1 | 5,960 |
Mar-28-2021, 08:11 PM Last Post: quest |
|
StopIteration exception when mock PostgreSQL connection in several tests | igor87z | 1 | 3,051 |
Jun-10-2020, 06:16 PM Last Post: ibreeden |
|
Mock call to subprocess.Popen failing with StopIteration | tharpa | 7 | 6,192 |
Nov-08-2019, 05:00 PM Last Post: Gribouillis |