| ValueError | Python 3.10.12: /usr/bin/python3 Mon Jun 8 22:22:26 2026 |
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> |
| 126 |
| 127 myConnection = mysql.connector.connect( host=hostname, user=username, passwd=password, db=database ) |
| => 128 content,promo,maincategory,headerimage,mytitle,weburl,blogcat,blogid = doQuery( myConnection ) |
| 129 myConnection.close() |
| 130 |
| 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>