Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
StopIteration error
#2
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.
Reply


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

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020