René's URL Explorer Experiment


Title: Multiprocessing 2 sensors · Issue #72 · romilly/quick2wire-python-api · GitHub

Open Graph Title: Multiprocessing 2 sensors · Issue #72 · romilly/quick2wire-python-api

X Title: Multiprocessing 2 sensors · Issue #72 · romilly/quick2wire-python-api

Description: I use two identical sensors with bus 1 and bus 6, all detected by i2cdetect and can run perfectly individually. However, when I try to run them at the same time by multiprocessing, I get the below question. And such error can occur on bo...

Open Graph Description: I use two identical sensors with bus 1 and bus 6, all detected by i2cdetect and can run perfectly individually. However, when I try to run them at the same time by multiprocessing, I get the below ...

X Description: I use two identical sensors with bus 1 and bus 6, all detected by i2cdetect and can run perfectly individually. However, when I try to run them at the same time by multiprocessing, I get the below ...

Opengraph URL: https://github.com/romilly/quick2wire-python-api/issues/72

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Multiprocessing 2 sensors","articleBody":"I use two identical sensors with bus 1 and bus 6, all detected by i2cdetect and can run perfectly individually.\r\nHowever, when I try to run them at the same time by multiprocessing, I get the below question. And such error can occur on both sensor.\r\n\r\nI have no idea it is the problem of multiprocessing or quick2wire i2c. PLEASE help me if possible.\r\n\r\nFile \"/usr/local/lib/python3.6/multiprocessing/process.py\", line 258, in _bootstrap\r\n    self.run()\r\n  File \"/usr/local/lib/python3.6/multiprocessing/process.py\", line 93, in run\r\n    self._target(*self._args, **self._kwargs)\r\n  File \"GY-85_Raspberry-Pi/datarecord.py\", line 48, in acc_save\r\n    if adxl345.getInterruptStatus():\r\n  File \"/home/pi/audioproject/GY-85_Raspberry-Pi/i2clibraries/i2c_adxl345.py\", line 115, in getInterruptStatus\r\n    self.InterruptSource)\r\n  File \"/home/pi/audioproject/GY-85_Raspberry-Pi/i2clibraries/i2c_adxl345.py\", line 283, in getOptions\r\n    options_bin = self.bus.read_byte(register)\r\n  File \"/home/pi/audioproject/GY-85_Raspberry-Pi/i2clibraries/i2c.py\", line 19, in read_byte\r\n    reading(self.addr, 1))[0][0]\r\n  File \"/home/pi/audioproject/quick2wire-python-api/quick2wire/i2c.py\", line 78, in transaction\r\n    ioctl(self.fd, I2C_RDWR, ioctl_arg)\r\nTimeoutError: [Errno 110] Connection timed out\r\n","author":{"url":"https://github.com/lixinghe1999","@type":"Person","name":"lixinghe1999"},"datePublished":"2021-09-28T12:53:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/72/quick2wire-python-api/issues/72"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:2759821a-cb1b-31b5-80da-c5939ad05472
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE5A0:3C288:167883E:1E7C496:69733D6C
html-safe-nonce1e96b4d2f61eaa9da7c0565e21e77ede57febf359952d4700c34450956552190
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNUEwOjNDMjg4OjE2Nzg4M0U6MUU3QzQ5Njo2OTczM0Q2QyIsInZpc2l0b3JfaWQiOiI1NDY5MTM5NTc0NzA3MTQxOTk2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacd6e05ef00a753886689c8a0b9f70fd5d7962aad235b1c3b4f84bc5165292bed1
hovercard-subject-tagissue:1009714129
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/romilly/quick2wire-python-api/72/issue_layout
twitter:imagehttps://opengraph.githubassets.com/8eaa97229b85d8cf05d695422c9e26696b2dd60f01d091dcd8d7e9b2506fbed2/romilly/quick2wire-python-api/issues/72
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8eaa97229b85d8cf05d695422c9e26696b2dd60f01d091dcd8d7e9b2506fbed2/romilly/quick2wire-python-api/issues/72
og:image:altI use two identical sensors with bus 1 and bus 6, all detected by i2cdetect and can run perfectly individually. However, when I try to run them at the same time by multiprocessing, I get the below ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelixinghe1999
hostnamegithub.com
expected-hostnamegithub.com
None44ab3188c1dcfe3be0f9c3feca2e04e14fb79f120939ce2395e4f15ab96ec1d4
turbo-cache-controlno-preview
go-importgithub.com/romilly/quick2wire-python-api git https://github.com/romilly/quick2wire-python-api.git
octolytics-dimension-user_id149310
octolytics-dimension-user_loginromilly
octolytics-dimension-repository_id4207383
octolytics-dimension-repository_nworomilly/quick2wire-python-api
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id4207383
octolytics-dimension-repository_network_root_nworomilly/quick2wire-python-api
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
release75e56b01124e79ebbaa7864231f25e58fc1b5f25
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/romilly/quick2wire-python-api/issues/72#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fromilly%2Fquick2wire-python-api%2Fissues%2F72
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fromilly%2Fquick2wire-python-api%2Fissues%2F72
Sign up https://patch-diff.githubusercontent.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=romilly%2Fquick2wire-python-api
Reloadhttps://patch-diff.githubusercontent.com/romilly/quick2wire-python-api/issues/72
Reloadhttps://patch-diff.githubusercontent.com/romilly/quick2wire-python-api/issues/72
Reloadhttps://patch-diff.githubusercontent.com/romilly/quick2wire-python-api/issues/72
romilly https://patch-diff.githubusercontent.com/romilly
quick2wire-python-apihttps://patch-diff.githubusercontent.com/romilly/quick2wire-python-api
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fromilly%2Fquick2wire-python-api
Fork 101 https://patch-diff.githubusercontent.com/login?return_to=%2Fromilly%2Fquick2wire-python-api
Star 291 https://patch-diff.githubusercontent.com/login?return_to=%2Fromilly%2Fquick2wire-python-api
Code https://patch-diff.githubusercontent.com/romilly/quick2wire-python-api
Issues 25 https://patch-diff.githubusercontent.com/romilly/quick2wire-python-api/issues
Pull requests 9 https://patch-diff.githubusercontent.com/romilly/quick2wire-python-api/pulls
Actions https://patch-diff.githubusercontent.com/romilly/quick2wire-python-api/actions
Projects 0 https://patch-diff.githubusercontent.com/romilly/quick2wire-python-api/projects
Wiki https://patch-diff.githubusercontent.com/romilly/quick2wire-python-api/wiki
Security 0 https://patch-diff.githubusercontent.com/romilly/quick2wire-python-api/security
Insights https://patch-diff.githubusercontent.com/romilly/quick2wire-python-api/pulse
Code https://patch-diff.githubusercontent.com/romilly/quick2wire-python-api
Issues https://patch-diff.githubusercontent.com/romilly/quick2wire-python-api/issues
Pull requests https://patch-diff.githubusercontent.com/romilly/quick2wire-python-api/pulls
Actions https://patch-diff.githubusercontent.com/romilly/quick2wire-python-api/actions
Projects https://patch-diff.githubusercontent.com/romilly/quick2wire-python-api/projects
Wiki https://patch-diff.githubusercontent.com/romilly/quick2wire-python-api/wiki
Security https://patch-diff.githubusercontent.com/romilly/quick2wire-python-api/security
Insights https://patch-diff.githubusercontent.com/romilly/quick2wire-python-api/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/romilly/quick2wire-python-api/issues/72
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/romilly/quick2wire-python-api/issues/72
Multiprocessing 2 sensorshttps://patch-diff.githubusercontent.com/romilly/quick2wire-python-api/issues/72#top
https://github.com/lixinghe1999
https://github.com/lixinghe1999
lixinghe1999https://github.com/lixinghe1999
on Sep 28, 2021https://github.com/romilly/quick2wire-python-api/issues/72#issue-1009714129
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.