-
-
Notifications
You must be signed in to change notification settings - Fork 198
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Traceback (most recent call last):
File "sqlalchemy\engine\base.py", line 1900, in _execute_context
File "sqlalchemy\engine\default.py", line 736, in do_execute
sqlite3.InterfaceError: Error binding parameter 5 - probably unsupported type.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "multiprocessing\process.py", line 314, in _bootstrap
File "multiprocessing\process.py", line 108, in run
File "openadapt\utils.py", line 727, in wrapper_logging
result = func(*args, **kwargs)
File "openadapt\record.py", line 387, in write_events
state = write_fn(session, recording, event, perf_q, **(state or {}))
File "openadapt\record.py", line 315, in write_window_event
crud.insert_window_event(db, recording, event.timestamp, event.data)
File "openadapt\db\crud.py", line 154, in insert_window_event
_insert(session, event_data, WindowEvent, window_events)
File "openadapt\db\crud.py", line 80, in _insert
result = session.execute(sa.insert(table), to_insert)
File "sqlalchemy\orm\session.py", line 1714, in execute
File "sqlalchemy\engine\base.py", line 1705, in _execute_20
File "sqlalchemy\sql\elements.py", line 333, in _execute_on_connection
File "sqlalchemy\engine\base.py", line 1572, in _execute_clauseelement
File "sqlalchemy\engine\base.py", line 1943, in _execute_context
File "sqlalchemy\engine\base.py", line 2124, in _handle_dbapi_exception
File "sqlalchemy\util\compat.py", line 208, in raise_
File "sqlalchemy\engine\base.py", line 1900, in _execute_context
File "sqlalchemy\engine\default.py", line 736, in do_execute
sqlalchemy.exc.InterfaceError: (sqlite3.InterfaceError) Error binding parameter 5 - probably unsupported type.
[SQL: INSERT INTO window_event (id, recording_timestamp, recording_id, timestamp, state, title, "left", top, width, height, window_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]
[parameters: (None, 1720455851.1191764, 4, 1720455870.9879966, '{"title": [""], "left": 1188, "top": 1377, "width": 864, "height": 303, "meta": {"class_name": "TaskListThumbnailWnd", "friendly_class_name": "ListBo ... (219 characters truncated) ... rd_focusable": true, "has_keyboard_focus": true, "automation_id": "", "column_count": 0, "item_count": 3, "columns": []}, "data": {}, "window_id": 0}', [''], 1188, 1377, 864, 303, 0)]
(Background on this error at: https://sqlalche.me/e/14/rvf5)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "openadapt\entrypoint.py", line 7, in <module>
multiprocessing.freeze_support()
File "Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_multiprocessing.py", line 50, in _freeze_support
File "multiprocessing\spawn.py", line 116, in spawn_main
File "multiprocessing\spawn.py", line 129, in _main
File "multiprocessing\process.py", line 329, in _bootstrap
AttributeError: 'NoneType' object has no attribute 'write'
To Reproduce
Download OpenAdapt 0.36.2, unzip, run, create a recording.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working