Thanks for the script. I've modified it a little as seen below (export PYTHONPATH)
zyga@silverblade:~/checkbox$ ( export PYTHONPATH=checkbox-support; providers/plainbox-provider-resource-generic/bin/udev_resource | providers/plainbox-provider-checkbox/bin/filter_templates -w "category=CDROM" )
Traceback (most recent call last):
File "providers/plainbox-provider-resource-generic/bin/udev_resource", line 63, in <module>
main()
File "providers/plainbox-provider-resource-generic/bin/udev_resource", line 59, in main
udev.run(result)
File "/home/zyga/checkbox/checkbox-support/checkbox_support/parsers/udevadm.py", line 732, in run
elif device.category == 'BLUETOOTH':
File "/home/zyga/checkbox/checkbox-support/checkbox_support/parsers/udevadm.py", line 156, in category
self.driver.startswith('rt') and
AttributeError: 'NoneType' object has no attribute 'startswith'
So two separate entries, because of two vendor fields (somehow, not sure how this part of checkbox works). The device is exactly the same though. Might this be caused by it being a BD + DVD device?
Thanks for the script. I've modified it a little as seen below (export PYTHONPATH)
zyga@silverblad e:~/checkbox$ ( export PYTHONPATH= checkbox- support; providers/ plainbox- provider- resource- generic/ bin/udev_ resource | providers/ plainbox- provider- checkbox/ bin/filter_ templates -w "category=CDROM" ) plainbox- provider- resource- generic/ bin/udev_ resource" , line 63, in <module> plainbox- provider- resource- generic/ bin/udev_ resource" , line 59, in main run(result) zyga/checkbox/ checkbox- support/ checkbox_ support/ parsers/ udevadm. py", line 732, in run zyga/checkbox/ checkbox- support/ checkbox_ support/ parsers/ udevadm. py", line 156, in category driver. startswith( 'rt') and
Traceback (most recent call last):
File "providers/
main()
File "providers/
udev.
File "/home/
elif device.category == 'BLUETOOTH':
File "/home/
self.
AttributeError: 'NoneType' object has no attribute 'startswith'
After updating to latest trunk:
bus: scsi pci0000: 00/0000: 00:14.0/ usb3/3- 2/3-2:1. 0/host6/ target6: 0:0/6:0: 0:0
vendor: MediaTek Inc
category: CDROM
product: MT1956
driver: sr
path: /devices/
bus: scsi pci0000: 00/0000: 00:14.0/ usb3/3- 2/3-2:1. 0/host6/ target6: 0:0/6:0: 0:0
vendor: TSSTcorp
category: CDROM
product: BDDVDW SE-506BB
driver: sr
path: /devices/
So two separate entries, because of two vendor fields (somehow, not sure how this part of checkbox works). The device is exactly the same though. Might this be caused by it being a BD + DVD device?