Skip to content

Conversation

@acolomb
Copy link
Contributor

Add the missing parent class initialization to fix#465.

Tested under a 32-bit Python3 environment in Windows 7.

The usb2can interface backend currently does not work because the _filters member is not initialized in the constructor of can.interfaces.usb2can.Usb2canBus. Call the parent class constructor to pull in the missing object attributes.
The usb2can interface currently only supports 32-bit Python on Windows, because there is no 64-bit CANAL library available yet. Mention this in the documentation section.
@codecov
Copy link

codecovbot commented Feb 11, 2019

Codecov Report

Merging #501 into develop will decrease coverage by 0.06%.
The diff coverage is 0%.

@@ Coverage Diff @@## develop #501 +/- ## =========================================== - Coverage 63.87% 63.81% -0.07%  =========================================== Files 63 63 Lines 5625 5626 +1 =========================================== - Hits 3593 3590 -3 - Misses 2032 2036 +4

1 similar comment
@codecov
Copy link

codecovbot commented Feb 11, 2019

Codecov Report

Merging #501 into develop will decrease coverage by 0.06%.
The diff coverage is 0%.

@@ Coverage Diff @@## develop #501 +/- ## =========================================== - Coverage 63.87% 63.81% -0.07%  =========================================== Files 63 63 Lines 5625 5626 +1 =========================================== - Hits 3593 3590 -3 - Misses 2032 2036 +4

@hardbytehardbyte merged commit de94772 into hardbyte:developFeb 13, 2019
@acolombacolomb deleted the usb2can-constructor-fix branch February 13, 2019 09:05
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

USB2CAN interface: Incomplete initialization

3 participants

@acolomb@felixdivo@hardbyte