ValueError | Python 3.8.10: /usr/bin/python3 Thu Mar 28 19:27:13 2024 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/home/cryan/secure_html/daily/blogpost.py in <module> |
103 |
104 myConnection = mysql.connector.connect( host=hostname, user=username, passwd=password, db=database ) |
=> 105 content,promo,maincategory,headerimage,mytitle,weburl,blogcat,blogid = doQuery( myConnection ) |
106 myConnection.close() |
107 |
content undefined, promo undefined, maincategory undefined, headerimage undefined, mytitle undefined, weburl undefined, blogcat undefined, blogid = '', doQuery = <function doQuery>, myConnection = <mysql.connector.connection_cext.CMySQLConnection object> |
ValueError: not enough values to unpack (expected 8, got 7)
args =
('not enough values to unpack (expected 8, got 7)',)
with_traceback =
<built-in method with_traceback of ValueError object>