{"action":"created","issue":{"url":"https://api.github.com/repos/hardbyte/python-can/issues/465","repository_url":"https://api.github.com/repos/hardbyte/python-can","labels_url":"https://api.github.com/repos/hardbyte/python-can/issues/465/labels{/name}","comments_url":"https://api.github.com/repos/hardbyte/python-can/issues/465/comments","events_url":"https://api.github.com/repos/hardbyte/python-can/issues/465/events","html_url":"https://github.com/hardbyte/python-can/issues/465","id":374426977,"node_id":"MDU6SXNzdWUzNzQ0MjY5Nzc=","number":465,"title":"USB2CAN interface: Incomplete initialization","user":{"login":"acolomb","id":6996887,"node_id":"MDQ6VXNlcjY5OTY4ODc=","avatar_url":"https://avatars0.githubusercontent.com/u/6996887?v=4","gravatar_id":"","url":"https://api.github.com/users/acolomb","html_url":"https://github.com/acolomb","followers_url":"https://api.github.com/users/acolomb/followers","following_url":"https://api.github.com/users/acolomb/following{/other_user}","gists_url":"https://api.github.com/users/acolomb/gists{/gist_id}","starred_url":"https://api.github.com/users/acolomb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acolomb/subscriptions","organizations_url":"https://api.github.com/users/acolomb/orgs","repos_url":"https://api.github.com/users/acolomb/repos","events_url":"https://api.github.com/users/acolomb/events{/privacy}","received_events_url":"https://api.github.com/users/acolomb/received_events","type":"User","site_admin":false},"labels":[{"id":487982683,"node_id":"MDU6TGFiZWw0ODc5ODI2ODM=","url":"https://api.github.com/repos/hardbyte/python-can/labels/backend:usb2can","name":"backend:usb2can","color":"bfd4f2","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2018-10-26T15:09:21Z","updated_at":"2019-03-10T13:33:04Z","closed_at":"2019-03-10T13:33:04Z","author_association":"CONTRIBUTOR","body":"I just tried to use the USB2CAN interface under Windows (the same device works fine with SocketCAN on Linux).  It took some fiddling with the `usb2can.dll` available from 8devices, which is apparently 32-bit only and therefore only works in a 32-bit Python. I've mailed them about that issue.\r\n\r\nHowever, after getting that it to work under 32-bit Python, the bus usage in my application fails.  I traced it down to the `can.interfaces.usb2can.Usb2canBus` constructor not having a `_filters` member.  That should be set in the base class constructor, `can.BusABC.__init__()`.  In contrast to the other interfaces modules, the call to the parent class constructor is missing.\r\n\r\nI adapted the code from the `pcan` interface, but I'm not sure whether the call should happen at the beginning or at the end of the `Usb2canBus` constructor.  Let me know if you'd like a PR with the hacked version I am currently running."},"comment":{"url":"https://api.github.com/repos/hardbyte/python-can/issues/comments/471306521","html_url":"https://github.com/hardbyte/python-can/issues/465#issuecomment-471306521","issue_url":"https://api.github.com/repos/hardbyte/python-can/issues/465","id":471306521,"node_id":"MDEyOklzc3VlQ29tbWVudDQ3MTMwNjUyMQ==","user":{"login":"acolomb","id":6996887,"node_id":"MDQ6VXNlcjY5OTY4ODc=","avatar_url":"https://avatars0.githubusercontent.com/u/6996887?v=4","gravatar_id":"","url":"https://api.github.com/users/acolomb","html_url":"https://github.com/acolomb","followers_url":"https://api.github.com/users/acolomb/followers","following_url":"https://api.github.com/users/acolomb/following{/other_user}","gists_url":"https://api.github.com/users/acolomb/gists{/gist_id}","starred_url":"https://api.github.com/users/acolomb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acolomb/subscriptions","organizations_url":"https://api.github.com/users/acolomb/orgs","repos_url":"https://api.github.com/users/acolomb/repos","events_url":"https://api.github.com/users/acolomb/events{/privacy}","received_events_url":"https://api.github.com/users/acolomb/received_events","type":"User","site_admin":false},"created_at":"2019-03-10T13:33:04Z","updated_at":"2019-03-10T13:33:04Z","author_association":"CONTRIBUTOR","body":"After testing the stuff in #511, this seems to work as expected.  Where to get the \"official\" matching CANAL DLLs from is still a source of confusion, but not an issue with this project and not related to the problem described here. Hence closing this issue now."}}
{"actor":{"display_login":"acolomb"}}