René's URL Explorer Experiment


Title: Vector unconnected interface handling · Issue #353 · hardbyte/python-can · GitHub

Open Graph Title: Vector unconnected interface handling · Issue #353 · hardbyte/python-can

X Title: Vector unconnected interface handling · Issue #353 · hardbyte/python-can

Description: python-can/can/interfaces/vector/canlib.py Lines 102 to 104 in 6d0f4a6 idx = vxlapi.xlGetChannelIndex(hw_type.value, hw_index.value, hw_channel.value) mask = 1 << idx If the application config is okay but the interface that channel is as...

Open Graph Description: python-can/can/interfaces/vector/canlib.py Lines 102 to 104 in 6d0f4a6 idx = vxlapi.xlGetChannelIndex(hw_type.value, hw_index.value, hw_channel.value) mask = 1 << idx If the application config is o...

X Description: python-can/can/interfaces/vector/canlib.py Lines 102 to 104 in 6d0f4a6 idx = vxlapi.xlGetChannelIndex(hw_type.value, hw_index.value, hw_channel.value) mask = 1 << idx If the application confi...

Opengraph URL: https://github.com/hardbyte/python-can/issues/353

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Vector unconnected interface handling","articleBody":"https://github.com/hardbyte/python-can/blob/6d0f4a66d121e86d2c8c707ce11546822a0ca1d2/can/interfaces/vector/canlib.py#L102-L104\r\n\r\nIf the application config is okay but the interface that channel is associated to is disconnected, xlGetChannelIndex returns a negative number and `mask = 1 \u003c\u003c idx` fails with `ValueError: negative shift count`.\r\n\r\nIn 2.1.0, it died here: https://github.com/hardbyte/python-can/blob/338d21191ef89e9cb515eae80d9d945d12028477/can/interfaces/vector/canlib.py#L83-L85\r\nwith `can.interfaces.vector.exceptions.VectorError: XL_ERR_WRONG_PARAMETER`, presumably as a result of passing the negative self.mask to the Vector API.\r\n\r\nNeither is a particularly graceful way of handling the error. Does their API documentation say what's supposed to happen when the interface isn't there? Is it possible to test that and raise a nicer exception?","author":{"url":"https://github.com/tpwrules","@type":"Person","name":"tpwrules"},"datePublished":"2018-07-09T09:28:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/353/python-can/issues/353"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:3afde3f8-7889-a913-fcc2-85f823cc84ab
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC4F2:3D821D:284C784:3A54462:6A60CE05
html-safe-nonce38a661a946feb00a61637d26ada2d378c2d0b983c2d0e8db10596f8b4c68739f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNEYyOjNEODIxRDoyODRDNzg0OjNBNTQ0NjI6NkE2MENFMDUiLCJ2aXNpdG9yX2lkIjoiODg4NzQzMjA4NzcyNzAzMzg2MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd3646462563032b106f60f60587b7dfb7c5bc39b59db5b0d4375dbceeefc4401
hovercard-subject-tagissue:339372294
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/hardbyte/python-can/353/issue_layout
twitter:imagehttps://opengraph.githubassets.com/6ca181d13c090b4f090fdf725b4c12d0ea2e9687690c4ec29004b0659226178a/hardbyte/python-can/issues/353
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6ca181d13c090b4f090fdf725b4c12d0ea2e9687690c4ec29004b0659226178a/hardbyte/python-can/issues/353
og:image:altpython-can/can/interfaces/vector/canlib.py Lines 102 to 104 in 6d0f4a6 idx = vxlapi.xlGetChannelIndex(hw_type.value, hw_index.value, hw_channel.value) mask = 1 << idx If the application config is o...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametpwrules
hostnamegithub.com
expected-hostnamegithub.com
Nonea9556c67fd2e63f5fecafc192915a3b089ef8170a9384ff6b59d7b4a2f6b73f8
turbo-cache-controlno-preview
go-importgithub.com/hardbyte/python-can git https://github.com/hardbyte/python-can.git
octolytics-dimension-user_id855189
octolytics-dimension-user_loginhardbyte
octolytics-dimension-repository_id69090889
octolytics-dimension-repository_nwohardbyte/python-can
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id69090889
octolytics-dimension-repository_network_root_nwohardbyte/python-can
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef464e59c3a800187a50f3c89c36ee16df9992c1b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/hardbyte/python-can/issues/353#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fhardbyte%2Fpython-can%2Fissues%2F353
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fhardbyte%2Fpython-can%2Fissues%2F353
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=hardbyte%2Fpython-can
Reloadhttps://github.com/hardbyte/python-can/issues/353
Reloadhttps://github.com/hardbyte/python-can/issues/353
Reloadhttps://github.com/hardbyte/python-can/issues/353
hardbyte https://github.com/hardbyte
python-canhttps://github.com/hardbyte/python-can
Notifications https://github.com/login?return_to=%2Fhardbyte%2Fpython-can
Fork 686 https://github.com/login?return_to=%2Fhardbyte%2Fpython-can
Star 1.6k https://github.com/login?return_to=%2Fhardbyte%2Fpython-can
Code https://github.com/hardbyte/python-can
Issues 224 https://github.com/hardbyte/python-can/issues
Pull requests 34 https://github.com/hardbyte/python-can/pulls
Discussions https://github.com/hardbyte/python-can/discussions
Actions https://github.com/hardbyte/python-can/actions
Security and quality 0 https://github.com/hardbyte/python-can/security
Insights https://github.com/hardbyte/python-can/pulse
Code https://github.com/hardbyte/python-can
Issues https://github.com/hardbyte/python-can/issues
Pull requests https://github.com/hardbyte/python-can/pulls
Discussions https://github.com/hardbyte/python-can/discussions
Actions https://github.com/hardbyte/python-can/actions
Security and quality https://github.com/hardbyte/python-can/security
Insights https://github.com/hardbyte/python-can/pulse
Vector unconnected interface handlinghttps://github.com/hardbyte/python-can/issues/353#top
https://github.com/tpwrules
tpwruleshttps://github.com/tpwrules
on Jul 9, 2018https://github.com/hardbyte/python-can/issues/353#issue-339372294
python-can/can/interfaces/vector/canlib.pyhttps://github.com/hardbyte/python-can/blob/6d0f4a66d121e86d2c8c707ce11546822a0ca1d2/can/interfaces/vector/canlib.py#L102-L104
6d0f4a6https://github.com/hardbyte/python-can/commit/6d0f4a66d121e86d2c8c707ce11546822a0ca1d2
python-can/can/interfaces/vector/canlib.pyhttps://github.com/hardbyte/python-can/blob/338d21191ef89e9cb515eae80d9d945d12028477/can/interfaces/vector/canlib.py#L83-L85
338d211https://github.com/hardbyte/python-can/commit/338d21191ef89e9cb515eae80d9d945d12028477
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.