René's URL Explorer Experiment


Title: SLCAN only receives a few messages and then it hangs? · Issue #1541 · hardbyte/python-can · GitHub

Open Graph Title: SLCAN only receives a few messages and then it hangs? · Issue #1541 · hardbyte/python-can

X Title: SLCAN only receives a few messages and then it hangs? · Issue #1541 · hardbyte/python-can

Description: Describe the bug Currently I am using a SLCAN adapter to receive and transmit some CAN messages. The problem I encounter is that there are only a handful(mostly only 3) of messages printed to the console. While the SLCAN adapter works fi...

Open Graph Description: Describe the bug Currently I am using a SLCAN adapter to receive and transmit some CAN messages. The problem I encounter is that there are only a handful(mostly only 3) of messages printed to the c...

X Description: Describe the bug Currently I am using a SLCAN adapter to receive and transmit some CAN messages. The problem I encounter is that there are only a handful(mostly only 3) of messages printed to the c...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"SLCAN only receives a few messages and then it hangs?","articleBody":"### Describe the bug\r\n\u003c!-- A clear and concise description of what the bug is. --\u003e\r\nCurrently I am using a SLCAN adapter to receive and transmit some CAN messages. \r\nThe problem I encounter is that there are only a handful(mostly only 3) of messages printed to the console. While the SLCAN adapter works fine when using it in a serial terminal. \r\n\r\n\r\n\r\nConsole output of receive_all.py example in console:\r\n```Python\r\nTimestamp: 1678957835.071922    ID: 0bb00c02    X Rx                DL:  4    2f 0a 00 00\r\nTimestamp: 1678957835.072918    ID: 0bb01c02    X Rx                DL:  4    32 0a 00 00\r\nTimestamp: 1678957835.073915    ID: 0bb01c02    X Rx                DL:  4    c2 0c 00 00\r\n```\r\nAnd that's it. It will hang..\r\n\r\n### To Reproduce\r\n\u003c!-- Steps to reproduce the behavior. Please add longer code examples below. --\u003e\r\nI used the receive_all.py example with the interface initialized like this:\r\n```Python\r\nwith can.Bus(interface=\"slcan\", channel=\"COM15@115200\",  bitrate=500000, \r\n                 ) as bus:\r\n```\r\n\r\n### Expected behavior\r\n\u003c!-- A clear and concise description of what you expected to happen. --\u003e\r\nI expected a result similar to manual use in a serial terminal\r\n\r\n\r\nManual serial terminal output snippet\r\n```\r\nV\r\nV0101\r\nS6\r\n\r\nO\r\n\r\nT1D20F2F2102\r\nT090781008FFFF0F00FFFF0F00\r\nT0BB01C02403040000\r\nT0140800088C72F70B07118010\r\nT00A00C008AC008C72F7070200\r\nT00A01C008AC008C72F7070200\r\nT00200E2280080000000009F44\r\nT00201E22800C3000000003032\r\nT020382221AC\r\nT020782221AC\r\nT0C201F00680119F48CC4F\r\nT00201F0387BCC5B4387F159DA\r\nT0C201F006810804883B4E\r\nT0C201F006820B8A74E34E\r\nT04201F0068DA4C113604F\r\nT04201F0068BA44C03604F\r\nT04201F00697A46DBB614E\r\nT04201F0069DA42A43B04F\r\nT04201F0069EA4637AC04F\r\nT00201F0287BCD5B43780F56DA\r\nT00201F0587BCC5B43780F56DA\r\nT0CF40000403020000\r\nT08E10000403020000\r\nT00200000403020000\r\nT007E0000403020000\r\nT0C200F006800EE0DFDA4F\r\nT0C200F006810843643A4E\r\nT0C200F006820B8837DB4E\r\nT04200F0068877E3C1B04E\r\nT04200F0068977322CB04E\r\nT04200F0068A77E3C1B04E\r\nT04200F0069474AD1DD64D\r\nT04200F006955F94F91DB0\r\nT04200F006965C50A1084D\r\nT04200F0069777E3C1B04E\r\nT00200F01884BC4443780F56DA\r\nT0000000080503FFFE0FFFFE0F\r\nT0000000080502FFFF0F000000\r\nT1D20F2F2102\r\nT090781008FFFF0F00FFFF0F00\r\nT0907810187BCD5B4387F059DA\r\nT08A01D001AC\r\nT08A01D01128\r\nT1A3C82F220200\r\n\r\n+ Thousands of messages after this\r\n\r\n```\r\n\r\n### Additional context\r\n\r\nOS and version: Windows 10 22H2\r\nPython version: 3.11.2\r\npython-can version: 4.1.0\r\npython-can interface/s (if applicable): slcan (pyserial 3.5)\r\n\r\n\u003c!-- Add any other context about the problem here. --\u003e\r\n\r\n\u003cdetails\u003e\u003csummary\u003eTraceback and logs\u003c/summary\u003e\r\n\u003c!-- Has to be followed by an empty line! --\u003e\r\nNo Traceback available.\r\n\u003c!-- More details such as a minimal script to demonstrate the bug, relevant logs and any tracebacks go here. --\u003e\r\n\r\n\r\n\u003c!-- Code examples can be included: --\u003e\r\nComplete receive_all.py example code:\r\n\r\n```Python\r\n\"\"\"\r\nShows how to receive messages via polling.\r\n\"\"\"\r\n\r\nimport can\r\nfrom can.bus import BusState\r\n\r\n\r\ndef receive_all():\r\n    \"\"\"Receives all messages and prints them to the console until Ctrl+C is pressed.\"\"\"\r\n\r\n    # this uses the default configuration (for example from environment variables, or a\r\n    # config file) see https://python-can.readthedocs.io/en/stable/configuration.html\r\n    with can.Bus(interface=\"slcan\", channel=\"COM15@115200\",  bitrate=500000, \r\n                 ) as bus:\r\n        # set to read-only, only supported on some interfaces\r\n        try:\r\n            bus.state = BusState.PASSIVE\r\n        except NotImplementedError:\r\n            pass\r\n\r\n        try:\r\n            while True:\r\n                msg = bus.recv(1)\r\n                if msg is not None:\r\n                    print(msg)\r\n\r\n        except KeyboardInterrupt:\r\n            pass  # exit normally\r\n\r\n\r\nif __name__ == \"__main__\":\r\n    receive_all()\r\n\r\n```\r\n\u003c/details\u003e\r\n","author":{"url":"https://github.com/d3jong","@type":"Person","name":"d3jong"},"datePublished":"2023-03-16T09:32:09.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1541/python-can/issues/1541"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:00bab828-e619-6363-4d84-b8ebeddfdc7e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id95A6:33615A:29B2C1A:37D9EF7:6A5D9C68
html-safe-nonce1536b8193482cdc45f3f9c8b9bf2e3908ed5f0d0d0ef49b87914dc6cfc1e33e1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NUE2OjMzNjE1QToyOUIyQzFBOjM3RDlFRjc6NkE1RDlDNjgiLCJ2aXNpdG9yX2lkIjoiMzI3OTc5Nzk5NTc5NDQzOTI3MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc8c607e46c5e8ff089528d3db711394ae94f5d840297926267e20c87d8f3d1ca
hovercard-subject-tagissue:1627053221
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/1541/issue_layout
twitter:imagehttps://opengraph.githubassets.com/624d5d80fc89056e025f7f5a6518f79b05b57ce5d14563d5d9f6a55ef385d9e2/hardbyte/python-can/issues/1541
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/624d5d80fc89056e025f7f5a6518f79b05b57ce5d14563d5d9f6a55ef385d9e2/hardbyte/python-can/issues/1541
og:image:altDescribe the bug Currently I am using a SLCAN adapter to receive and transmit some CAN messages. The problem I encounter is that there are only a handful(mostly only 3) of messages printed to the c...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamed3jong
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
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
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/hardbyte/python-can/issues/1541#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fhardbyte%2Fpython-can%2Fissues%2F1541
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
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%2F1541
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/1541
Reloadhttps://github.com/hardbyte/python-can/issues/1541
Reloadhttps://github.com/hardbyte/python-can/issues/1541
hardbyte https://github.com/hardbyte
python-canhttps://github.com/hardbyte/python-can
Notifications https://github.com/login?return_to=%2Fhardbyte%2Fpython-can
Fork 687 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 35 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
SLCAN only receives a few messages and then it hangs?https://github.com/hardbyte/python-can/issues/1541#top
bughttps://github.com/hardbyte/python-can/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/d3jong
d3jonghttps://github.com/d3jong
on Mar 16, 2023https://github.com/hardbyte/python-can/issues/1541#issue-1627053221
bughttps://github.com/hardbyte/python-can/issues?q=state%3Aopen%20label%3A%22bug%22
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.