René's URL Explorer Experiment


Title: RuntimeError: can't start new thread · Issue #17 · STMicroelectronics/BlueSTSDK_Python · GitHub

Open Graph Title: RuntimeError: can't start new thread · Issue #17 · STMicroelectronics/BlueSTSDK_Python

X Title: RuntimeError: can't start new thread · Issue #17 · STMicroelectronics/BlueSTSDK_Python

Description: Traceback (most recent call last): File "/home/pi/BlueSTSDK_Python/blue_st_examples/pm3.py", line 329, in main(sys.argv[1:]) File "/home/pi/BlueSTSDK_Python/blue_st_examples/pm3.py", line 273, in main device.disable_notifications(feature...

Open Graph Description: Traceback (most recent call last): File "/home/pi/BlueSTSDK_Python/blue_st_examples/pm3.py", line 329, in main(sys.argv[1:]) File "/home/pi/BlueSTSDK_Python/blue_st_examples/pm3.py", line 273, in m...

X Description: Traceback (most recent call last): File "/home/pi/BlueSTSDK_Python/blue_st_examples/pm3.py", line 329, in main(sys.argv[1:]) File "/home/pi/BlueSTSDK_Python/blue_st_examples/pm3.py&q...

Opengraph URL: https://github.com/STMicroelectronics/BlueSTSDK_Python/issues/17

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"RuntimeError: can't start new thread","articleBody":"> Traceback (most recent call last):\r\n  File \"/home/pi/BlueSTSDK_Python/blue_st_examples/pm3.py\", line 329, in \u003cmodule>\r\n    main(sys.argv[1:])\r\n  File \"/home/pi/BlueSTSDK_Python/blue_st_examples/pm3.py\", line 273, in main\r\n    device.disable_notifications(feature)\r\n  File \"/usr/local/lib/python3.7/dist-packages/blue_st_sdk/node.py\", line 986, in disable_notifications\r\n    self.set_notification_status(characteristic, False)\r\n  File \"/usr/local/lib/python3.7/dist-packages/blue_st_sdk/node.py\", line 942, in set_notification_status\r\n    self._NOTIFICATION_ON if status else self._NOTIFICATION_OFF, True)\r\n  File \"/usr/local/lib/python3.7/dist-packages/bluepy/btle.py\", line 543, in writeCharacteristic\r\n    return self._getResp('wr')\r\n  File \"/usr/local/lib/python3.7/dist-packages/bluepy/btle.py\", line 416, in _getResp\r\n    self.delegate.handleNotification(hnd, data)\r\n  File \"/usr/local/lib/python3.7/dist-packages/blue_st_sdk/node.py\", line 1119, in handleNotification\r\n    self._node._update_features(char_handle, data, True)\r\n  File \"/usr/local/lib/python3.7/dist-packages/blue_st_sdk/node.py\", line 359, in _update_features\r\n    offset += feature.update(timestamp, data, offset, notify_update)\r\n  File \"/usr/local/lib/python3.7/dist-packages/blue_st_sdk/feature.py\", line 330, in update\r\n    self._notify_update(sample)\r\n  File \"/usr/local/lib/python3.7/dist-packages/blue_st_sdk/feature.py\", line 274, in _notify_update\r\n    self._thread_pool.submit(listener.on_update(self, sample))\r\n  File \"/usr/lib/python3.7/concurrent/futures/thread.py\", line 160, in submit\r\n    self._adjust_thread_count()\r\n  File \"/usr/lib/python3.7/concurrent/futures/thread.py\", line 181, in _adjust_thread_count\r\n    t.start()\r\n  File \"/usr/lib/python3.7/threading.py\", line 847, in start\r\n    _start_new_thread(self._bootstrap, ())\r\nRuntimeError: can't start new thread\r\nDevice PM1V201 disconnected unexpectedly.\r\n\r\n> Exiting...\r\n\r\n> Exception ignored in: \u003cfunction Peripheral.__del__ at 0xb6606780>\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python3.7/dist-packages/bluepy/btle.py\", line 630, in __del__\r\n  File \"/usr/local/lib/python3.7/dist-packages/blue_st_sdk/node.py\", line 559, in disconnect\r\n  File \"/usr/local/lib/python3.7/dist-packages/blue_st_sdk/node.py\", line 450, in _unexpected_disconnect\r\n  File \"/usr/local/lib/python3.7/dist-packages/blue_st_sdk/node.py\", line 398, in _update_node_status\r\n  File \"/home/pi/BlueSTSDK_Python/blue_st_examples/pm3.py\", line 93, in on_disconnect\r\n\r\nI was doing some testing where i keep connecting and then disconnecting the program to only one sensor, and somehow i encountered this.  \r\n  \r\nMy Program is mostly the same as [example_ble_1.py](https://github.com/STMicroelectronics/BlueSTSDK_Python/blob/master/blue_st_examples/example_ble_1.py) with some less modification with removing the choice part and replacing it with loop of selecting all of them.  \r\n  \r\nI also change the number of notifications to 1, so that the program will only connect to each feature once ( with the exception of the temperature having two temperature)\r\n\r\nIf my count is right, i have done more or less 70 automated connection and then disconnection.","author":{"url":"https://github.com/ArthurKun21","@type":"Person","name":"ArthurKun21"},"datePublished":"2019-10-16T06:14:50Z","url":"https://github.com/STMicroelectronics/BlueSTSDK_Python/issues/17"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:56af3c99-98a9-c090-a0df-f88908c2f0e7
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB534:288D73:1860045:20B2043:6B05414B
html-safe-nonce8384f39c335681e45e62c787a92c618c47a380cc51af37f61218c356da3126ec
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTM0OjI4OEQ3MzoxODYwMDQ1OjIwQjIwNDM6NkIwNTQxNEIiLCJ2aXNpdG9yX2lkIjoiMzA1NDYxMDc3MzEyMjA0MDEzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc4f3701d02f66c43b7f81d3bd15cd24334f2ebf97346e708936af620cd4c0105
hovercard-subject-tagissue:507638104
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/STMicroelectronics/BlueSTSDK_Python/17/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d9c52d9013f585b52aa160d804d1a9bd68645b321bb46de6d8b54c231d7bf966/STMicroelectronics/BlueSTSDK_Python/issues/17
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d9c52d9013f585b52aa160d804d1a9bd68645b321bb46de6d8b54c231d7bf966/STMicroelectronics/BlueSTSDK_Python/issues/17
og:image:altTraceback (most recent call last): File "/home/pi/BlueSTSDK_Python/blue_st_examples/pm3.py", line 329, in main(sys.argv[1:]) File "/home/pi/BlueSTSDK_Python/blue_st_examples/pm3.py", line 273, in m...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameArthurKun21
hostnamegithub.com
expected-hostnamegithub.com
None854d880890b5e847b3fce9d1b31f032107baeddeebad2aa379c48aa4f1451f6b
turbo-cache-controlno-preview
go-importgithub.com/STMicroelectronics/BlueSTSDK_Python git https://github.com/STMicroelectronics/BlueSTSDK_Python.git
octolytics-dimension-user_id10744877
octolytics-dimension-user_loginSTMicroelectronics
octolytics-dimension-repository_id125541395
octolytics-dimension-repository_nwoSTMicroelectronics/BlueSTSDK_Python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id125541395
octolytics-dimension-repository_network_root_nwoSTMicroelectronics/BlueSTSDK_Python
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
release220e980097d94ce616d5d11fbd5316d208e3fc93
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/STMicroelectronics/BlueSTSDK_Python/issues/17#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FSTMicroelectronics%2FBlueSTSDK_Python%2Fissues%2F17
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FSTMicroelectronics%2FBlueSTSDK_Python%2Fissues%2F17
Sign uphttps://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=STMicroelectronics%2FBlueSTSDK_Python
Reloadhttps://github.com/STMicroelectronics/BlueSTSDK_Python/issues/17
Reloadhttps://github.com/STMicroelectronics/BlueSTSDK_Python/issues/17
Reloadhttps://github.com/STMicroelectronics/BlueSTSDK_Python/issues/17
STMicroelectronicshttps://github.com/STMicroelectronics
BlueSTSDK_Pythonhttps://github.com/STMicroelectronics/BlueSTSDK_Python
Codehttps://github.com/STMicroelectronics/BlueSTSDK_Python
Issues20 (20)https://github.com/STMicroelectronics/BlueSTSDK_Python/issues
Pull requests1 (1)https://github.com/STMicroelectronics/BlueSTSDK_Python/pulls
Actionshttps://github.com/STMicroelectronics/BlueSTSDK_Python/actions
Projectshttps://github.com/STMicroelectronics/BlueSTSDK_Python/projects
Security and qualityhttps://github.com/STMicroelectronics/BlueSTSDK_Python/security
Insightshttps://github.com/STMicroelectronics/BlueSTSDK_Python/insights
https://github.com/STMicroelectronics/BlueSTSDK_Python
New issuehttps://github.com/login?return_to=https://github.com/STMicroelectronics/BlueSTSDK_Python/issues/17
New issuehttps://github.com/login?return_to=https://github.com/STMicroelectronics/BlueSTSDK_Python/issues/17
RuntimeError: can't start new threadhttps://github.com/STMicroelectronics/BlueSTSDK_Python/issues/17#top
https://github.com/ArthurKun21
ArthurKun21https://github.com/ArthurKun21
on Oct 16, 2019https://github.com/STMicroelectronics/BlueSTSDK_Python/issues/17#issue-507638104
example_ble_1.pyhttps://github.com/STMicroelectronics/BlueSTSDK_Python/blob/master/blue_st_examples/example_ble_1.py
https://github.com/ArthurKun21
ArthurKun21https://github.com/ArthurKun21
on Oct 16, 2019https://github.com/STMicroelectronics/BlueSTSDK_Python/issues/17#issuecomment-542539470
https://github.com/ArthurKun21
ArthurKun21https://github.com/ArthurKun21
on Oct 16, 2019https://github.com/STMicroelectronics/BlueSTSDK_Python/issues/17#issuecomment-542541926
https://github.com/davidroid
davidroidhttps://github.com/davidroid
on Oct 16, 2019https://github.com/STMicroelectronics/BlueSTSDK_Python/issues/17#issuecomment-542646589
…https://github.com/STMicroelectronics/BlueSTSDK_Python/issues/17
https://github.com/STMicroelectronics/BlueSTSDK_Python/blob/master/blue_st_examples/example_ble_1.pyhttps://github.com/STMicroelectronics/BlueSTSDK_Python/blob/master/blue_st_examples/example_ble_1.py
#17https://github.com/STMicroelectronics/BlueSTSDK_Python/issues/17
https://github.com/notifications/unsubscribe-auth/AAZTU2JBKMDZNPF65ASNV3LQO2WNVANCNFSM4JBGWIFQhttps://github.com/notifications/unsubscribe-auth/AAZTU2JBKMDZNPF65ASNV3LQO2WNVANCNFSM4JBGWIFQ
https://github.com/ArthurKun21
ArthurKun21https://github.com/ArthurKun21
on Oct 16, 2019https://github.com/STMicroelectronics/BlueSTSDK_Python/issues/17#issuecomment-542670265
https://github.com/ArthurKun21
ArthurKun21https://github.com/ArthurKun21
on Oct 18, 2019https://github.com/STMicroelectronics/BlueSTSDK_Python/issues/17#issuecomment-543543313
@davidroidhttps://github.com/davidroid
@mriduphttps://github.com/mridup
https://github.com/ArthurKun21
ArthurKun21https://github.com/ArthurKun21
on Oct 23, 2019https://github.com/STMicroelectronics/BlueSTSDK_Python/issues/17#issuecomment-545245845
@davidroidhttps://github.com/davidroid
Sign up for freehttps://github.com/signup?return_to=https://github.com/STMicroelectronics/BlueSTSDK_Python/issues/17
Sign in to commenthttps://github.com/login?return_to=https://github.com/STMicroelectronics/BlueSTSDK_Python/issues/17
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.