Title: error while excuting example_ble_1 · Issue #33 · STMicroelectronics/BlueSTSDK_Python · GitHub
Open Graph Title: error while excuting example_ble_1 · Issue #33 · STMicroelectronics/BlueSTSDK_Python
X Title: error while excuting example_ble_1 · Issue #33 · STMicroelectronics/BlueSTSDK_Python
Description: hi , i'm trying to execute the example_ble_1.py in raspberry pi3 B+ and i get this errors : ps: my python version is 3.9.0 is there any solution ? `################## BlueST Example ################## Scanning Bluetooth devices... Discov...
Open Graph Description: hi , i'm trying to execute the example_ble_1.py in raspberry pi3 B+ and i get this errors : ps: my python version is 3.9.0 is there any solution ? `################## BlueST Example ###############...
X Description: hi , i'm trying to execute the example_ble_1.py in raspberry pi3 B+ and i get this errors : ps: my python version is 3.9.0 is there any solution ? `################## BlueST Example ###########...
Opengraph URL: https://github.com/STMicroelectronics/BlueSTSDK_Python/issues/33
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"error while excuting example_ble_1","articleBody":"hi , i'm trying to execute the example_ble_1.py in raspberry pi3 B+ and i get this errors : \r\nps: my python version is 3.9.0\r\nis there any solution ?\r\n\r\n`##################\r\n# BlueST Example #\r\n##################\r\n\r\nScanning Bluetooth devices...\r\n\r\nDiscovery started.\r\nTraceback (most recent call last):\r\n File \"/usr/local/lib/python3.9/dist-packages/blue_st_sdk/manager.py\", line 313, in discover\r\n self._scanner.scan(timeout_s)\r\n File \"/usr/local/lib/python3.9/dist-packages/bluepy/btle.py\", line 852, in scan\r\n self.start(passive=passive)\r\n File \"/usr/local/lib/python3.9/dist-packages/bluepy/btle.py\", line 790, in start\r\n self._mgmtCmd(\"le on\")\r\n File \"/usr/local/lib/python3.9/dist-packages/bluepy/btle.py\", line 312, in _mgmtCmd\r\n raise BTLEManagementError(\"Failed to execute management command '%s'\" % (cmd), rsp)\r\nbluepy.btle.BTLEManagementError: Failed to execute management command 'le on' (code: 20, error: Permission Denied)\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n File \"/home/balti/BlueSTSDK_Python/blue_st_examples/example_ble_1.py\", line 312, in \u003cmodule>\r\n main(sys.argv[1:])\r\n File \"/home/balti/BlueSTSDK_Python/blue_st_examples/example_ble_1.py\", line 189, in main\r\n manager.discover(SCANNING_TIME_s)\r\n File \"/usr/local/lib/python3.9/dist-packages/blue_st_sdk/manager.py\", line 325, in discover\r\n raise BlueSTInvalidOperationException(msg)\r\nblue_st_sdk.utils.blue_st_exceptions.BlueSTInvalidOperationException: \r\nBluetooth scanning requires root privilege, so please run the script with \"sudo\".`","author":{"url":"https://github.com/balti09","@type":"Person","name":"balti09"},"datePublished":"2022-07-06T10:39:58Z","url":"https://github.com/STMicroelectronics/BlueSTSDK_Python/issues/33"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:cf49255a-7692-4040-84de-94f02b2d009c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A6AE:2528FA:21CEE4C:2C36D95:6B054151 |
| html-safe-nonce | 3106246e13f434c5a2b076af60feed6d43af327bc9e0003352c41cabdaf971b3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNkFFOjI1MjhGQToyMUNFRTRDOjJDMzZEOTU6NkIwNTQxNTEiLCJ2aXNpdG9yX2lkIjoiNTI5MTU0NDEzNzMzMjc2OTEwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8280ede94e8e609a8b87ac59750a3f83562b381b828120ce2c6b8e4d0d082729 |
| hovercard-subject-tag | issue:1295635225 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/STMicroelectronics/BlueSTSDK_Python/33/issue_layout |
| twitter:image | https://opengraph.githubassets.com/00063924461cdeaef7c8953464f9256b845f9e95fb3899b8a76901044450a21e/STMicroelectronics/BlueSTSDK_Python/issues/33 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/00063924461cdeaef7c8953464f9256b845f9e95fb3899b8a76901044450a21e/STMicroelectronics/BlueSTSDK_Python/issues/33 |
| og:image:alt | hi , i'm trying to execute the example_ble_1.py in raspberry pi3 B+ and i get this errors : ps: my python version is 3.9.0 is there any solution ? `################## BlueST Example ###############... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | balti09 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 854d880890b5e847b3fce9d1b31f032107baeddeebad2aa379c48aa4f1451f6b |
| turbo-cache-control | no-preview |
| go-import | github.com/STMicroelectronics/BlueSTSDK_Python git https://github.com/STMicroelectronics/BlueSTSDK_Python.git |
| octolytics-dimension-user_id | 10744877 |
| octolytics-dimension-user_login | STMicroelectronics |
| octolytics-dimension-repository_id | 125541395 |
| octolytics-dimension-repository_nwo | STMicroelectronics/BlueSTSDK_Python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 125541395 |
| octolytics-dimension-repository_network_root_nwo | STMicroelectronics/BlueSTSDK_Python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 220e980097d94ce616d5d11fbd5316d208e3fc93 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width