Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'_csv.reader' object has no attribute 'next' #105

Closed
lbussy opened this issue Jan 21, 2020 · 0 comments
Closed

'_csv.reader' object has no attribute 'next' #105

lbussy opened this issue Jan 21, 2020 · 0 comments
Assignees
Labels
bug Something isn't working
Projects

Comments

@lbussy
Copy link
Member

lbussy commented Jan 21, 2020

Per this post, daemon will not start.

2020-01-20 22:06:07  Starting BrewPi.
2020-01-20 22:06:18  '_csv.reader' object has no attribute 'next'

Reportedly, this is the error-causing code:

temperatureReader = csv.reader(csvfile, dialect)
temperatureReader.next() # Discard the first row, which is the table header

Fix should be:

temperatureReader = csv.reader(csvfile, dialect)
next(temperatureReader)
@lbussy lbussy added the bug Something isn't working label Jan 21, 2020
@lbussy lbussy added this to the Researching milestone Jan 21, 2020
@lbussy lbussy self-assigned this Jan 21, 2020
lbussy added a commit that referenced this issue Jan 22, 2020
@lbussy lbussy added this to To do in Bugs via automation Jan 22, 2020
@lbussy lbussy modified the milestones: Researching, Started, Testing Jan 22, 2020
lbussy added a commit that referenced this issue Jan 22, 2020
Address CSV Reader Error in #105
lbussy added a commit that referenced this issue Jan 22, 2020
@lbussy lbussy closed this as completed Jan 22, 2020
Bugs automation moved this from To do to Done Jan 22, 2020
@lbussy lbussy removed this from the Testing milestone Jan 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Bugs
  
Done
Development

No branches or pull requests

1 participant