You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After uploading a generated PLC and shutting down, every once in a while the database will be in an unexpected state.
Traceback (most recent call last):
File "webserver.py", line 1868, in
openplc_runtime.project_name = str(row[1])
TypeError: 'NoneType' object has no attribute 'getitem'
Where the workaround is (webserver.py)
row = cur.fetchone()
if row is not None:
openplc_runtime.project_name = str(row[1])
openplc_runtime.project_description = str(row[2])
openplc_runtime.project_file = str(row[3])
The text was updated successfully, but these errors were encountered:
After uploading a generated PLC and shutting down, every once in a while the database will be in an unexpected state.
Traceback (most recent call last):
File "webserver.py", line 1868, in
openplc_runtime.project_name = str(row[1])
TypeError: 'NoneType' object has no attribute 'getitem'
Where the workaround is (webserver.py)
row = cur.fetchone()
if row is not None:
openplc_runtime.project_name = str(row[1])
openplc_runtime.project_description = str(row[2])
openplc_runtime.project_file = str(row[3])
The text was updated successfully, but these errors were encountered: