2018-04-27 21:13:21,192 - octoprint.plugins.filamentmanager - ERROR - Failed to update selected spool for tool0: (psycopg2.ProgrammingError) syntax error at or near "ON" LINE 1: ...ES (0, 'b84b67de-4a18-11e8-b9bf-b827eb1e54ba', 1) ON CONFLIC... ^ [SQL: 'INSERT INTO selections (tool, client_id, spool_id) VALUES (%(tool)s, %(client_id)s, %(spool_id)s) ON CONFLICT ON CONSTRAINT selections_pkey DO UPDATE SET spool_id = %(param_1)s'] [parameters: {'tool': 0, 'param_1': 1, 'client_id': 'b84b67de-4a18-11e8-b9bf-b827eb1e54ba', 'spool_id': 1}] 2018-04-27 21:13:21,200 - tornado.access - ERROR - 500 PATCH /plugin/filamentmanager/selections/0 (127.0.0.1) 30.36ms