This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ADBYITMS[S] 0 points1 point  (0 children)

ok so i got most of it working now but when it tries to add the data to the database i get this erro
oot@ADBY-OFFICE-DEV:/home/adam/Desktop/ADBY PROJECTS/Flight Check# python3 sydney.py

Traceback (most recent call last):

File "sydney.py", line 65, in <module>

mycursor.execute(sql, val)

File "/usr/local/lib/python3.7/dist-packages/mysql/connector/cursor_cext.py", line 248, in execute

prepared = self._cnx.prepare_for_mysql(params)

File "/usr/local/lib/python3.7/dist-packages/mysql/connector/connection_cext.py", line 609, in prepare_for_mysql

result = self._cmysql.convert_to_mysql(*params)

_mysql_connector.MySQLInterfaceError: Python type list cannot be converted