inspectorG4dget / AnonymousFeedback

1 stars 0 forks source link

pg8000.ProgrammingError raised under special circumstances when selecting "Add section" #37

Closed scriptbae closed 7 years ago

scriptbae commented 7 years ago

Note: this appears unrelated to #36.

If a course code is entered under Add course and Add section is selected from the dropdown, a pg8000.ProgrammingError is raised. The source of this issue is dbhandler.py:40, inside getCourses():

t.execute("""SELECT * FROM course""")
cannotparse commented 7 years ago

Could not recreate issue. Same deal as before, once pg8000 get an error, you need to finish the transaction block. Will need to later implement error handling. For now, lets avoid all errors than fix this.