Particularly, the ID_VENDOR_ENC value is what's making c3 choke. If this is changed to USB\\x202.0 (note the double backslash from USB\x202.0), the submission goes through.
This is just an observation though, the actual fix will involve ensuring data is correctly-formatted when passing it to Postgres, which is the one saying this:
DataError: invalid input syntax for type bytea
this would be much easier to figure out if I could see the entire query as sent to the DBMS. Still, I'll go and read up on postgres bytea syntax, see what I can learn.
This device's information in the submission.xml file seems to be confusing c3:
P: /devices/ pci0000: 00/0000: 00:1a.7/ usb1/1- 1 /dev/bus/ usb/001/ 002 /devices/ pci0000: 00/0000: 00:1a.7/ usb1/1- 1 USB_Flash_ Drive ENC=USB\ x20Flash\ x20Drive USB_2.0_ USB_Flash_ Drive_000000005 538679C SHORT=000000005 538679C INTERFACES= :080650: ENC=USB\ x202.0 48d/1167/ 100 D=203699593
N: bus/usb/001/002
E: BUSNUM=001
E: DEVNAME=
E: DEVNUM=002
E: DEVPATH=
E: DEVTYPE=usb_device
E: DRIVER=usb
E: ID_BUS=usb
E: ID_MODEL=
E: ID_MODEL_
E: ID_MODEL_ID=1167
E: ID_REVISION=0100
E: ID_SERIAL=
E: ID_SERIAL_
E: ID_USB_
E: ID_VENDOR=USB_2.0
E: ID_VENDOR_
E: ID_VENDOR_ID=048d
E: MAJOR=189
E: MINOR=1
E: PRODUCT=
E: SUBSYSTEM=usb
E: TYPE=0/0/0
E: UDEV_LOG=3
E: USEC_INITIALIZE
Particularly, the ID_VENDOR_ENC value is what's making c3 choke. If this is changed to USB\\x202.0 (note the double backslash from USB\x202.0), the submission goes through.
This is just an observation though, the actual fix will involve ensuring data is correctly-formatted when passing it to Postgres, which is the one saying this:
DataError: invalid input syntax for type bytea
this would be much easier to figure out if I could see the entire query as sent to the DBMS. Still, I'll go and read up on postgres bytea syntax, see what I can learn.