Title: error using Queu in multiprocessing · Issue #5361 · RustPython/RustPython · GitHub
Open Graph Title: error using Queu in multiprocessing · Issue #5361 · RustPython/RustPython
X Title: error using Queu in multiprocessing · Issue #5361 · RustPython/RustPython
Description: Summary erfan@erfan-Inspiron-N4050:~/RustroverProjects/RustPython/target/release2$ ./rustpython Portals2.py /home/erfan/.local/lib/rustpython3.12/site-packages/requests/__init__.py:89: RequestsDependencyWarning: Unable to find acceptable...
Open Graph Description: Summary erfan@erfan-Inspiron-N4050:~/RustroverProjects/RustPython/target/release2$ ./rustpython Portals2.py /home/erfan/.local/lib/rustpython3.12/site-packages/requests/__init__.py:89: RequestsDepe...
X Description: Summary erfan@erfan-Inspiron-N4050:~/RustroverProjects/RustPython/target/release2$ ./rustpython Portals2.py /home/erfan/.local/lib/rustpython3.12/site-packages/requests/__init__.py:89: RequestsDepe...
Opengraph URL: https://github.com/RustPython/RustPython/issues/5361
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"error using Queu in multiprocessing","articleBody":"## Summary\r\n\r\n\u003c!-- I dont know what should i do please help me. --\u003e\r\n```\r\nerfan@erfan-Inspiron-N4050:~/RustroverProjects/RustPython/target/release2$ ./rustpython Portals2.py\r\n/home/erfan/.local/lib/rustpython3.12/site-packages/requests/__init__.py:89: RequestsDependencyWarning: Unable to find acceptable character detection dependency (chardet or charset_normalizer).\r\n RequestsDependencyWarning,\r\n888\r\nTraceback (most recent call last):\r\n File \"/home/erfan/RustroverProjects/RustPython/pylib/Lib/multiprocessing/synchronize.py\", line 28, in \u003cmodule\u003e\r\n from _multiprocessing import SemLock, sem_unlink\r\nImportError: cannot import name 'SemLock'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n File \"Portals2.py\", line 285, in \u003cmodule\u003e\r\n b = a.OpenPortals(a)\r\n File \"Portals2.py\", line 200, in __init__\r\n self.portals[\"portal1\"] = {\"pct\":Queue(), \"cnt\":Queue(), \"rng\":(0, int(self2.cl/8))}\r\n File \"/home/erfan/RustroverProjects/RustPython/pylib/Lib/multiprocessing/context.py\", line 103, in Queue\r\n return Queue(maxsize, ctx=self.get_context())\r\n File \"/home/erfan/RustroverProjects/RustPython/pylib/Lib/multiprocessing/queues.py\", line 40, in __init__\r\n from .synchronize import SEM_VALUE_MAX as maxsize\r\n File \"/home/erfan/RustroverProjects/RustPython/pylib/Lib/multiprocessing/synchronize.py\", line 33, in \u003cmodule\u003e\r\n \" function, see issue 3770.\")\r\nImportError: This platform lacks a functioning sem_open implementation, therefore, the required synchronization primitives needed will not function, see issue 3770.\r\nerfan@erfan-Inspiron-N4050:~/RustroverProjects/RustPython/target/release2$ ./rustpython Portals2.py\r\n/home/erfan/.local/lib/rustpython3.12/site-packages/requests/__init__.py:89: RequestsDependencyWarning: Unable to find acceptable character detection dependency (chardet or charset_normalizer).\r\n RequestsDependencyWarning,\r\n888\r\nTraceback (most recent call last):\r\n File \"/home/erfan/RustroverProjects/RustPython/pylib/Lib/multiprocessing/synchronize.py\", line 28, in \u003cmodule\u003e\r\n from _multiprocessing import SemLock, sem_unlink\r\nImportError: cannot import name 'SemLock'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n File \"Portals2.py\", line 285, in \u003cmodule\u003e\r\n b = a.OpenPortals(a)\r\n File \"Portals2.py\", line 200, in __init__\r\n self.portals[\"portal1\"] = {\"pct\":Queue(), \"cnt\":Queue(), \"rng\":(0, int(self2.cl/8))}\r\n File \"/home/erfan/RustroverProjects/RustPython/pylib/Lib/multiprocessing/context.py\", line 103, in Queue\r\n return Queue(maxsize, ctx=self.get_context())\r\n File \"/home/erfan/RustroverProjects/RustPython/pylib/Lib/multiprocessing/queues.py\", line 40, in __init__\r\n from .synchronize import SEM_VALUE_MAX as maxsize\r\n File \"/home/erfan/RustroverProjects/RustPython/pylib/Lib/multiprocessing/synchronize.py\", line 33, in \u003cmodule\u003e\r\n \" function, see issue 3770.\")\r\nImportError: This platform lacks a functioning sem_open implementation, therefore, the required synchronization primitives needed will not function, see issue 3770.\r\n```\r\n\r\n\r\n","author":{"url":"https://github.com/0Wall-E","@type":"Person","name":"0Wall-E"},"datePublished":"2024-07-26T19:33:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/5361/RustPython/issues/5361"}
| 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:b6c959c6-ce84-93b6-c56d-b3683f6f0f4e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DAB8:54991:6C44A9:92AC63:6A610BB6 |
| html-safe-nonce | eadf1f34259330e884d805ac7a07c5e61ae5b7d2f3cefb1a84134ee30d06b829 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQUI4OjU0OTkxOjZDNDRBOTo5MkFDNjM6NkE2MTBCQjYiLCJ2aXNpdG9yX2lkIjoiNzcyNzk4MTMxODAwMjI0ODYzMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | acd6adbb4ffc99ac359f290e5f9671e4087014f4474eba0a6bc91cbdca012c07 |
| hovercard-subject-tag | issue:2432854790 |
| 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/RustPython/RustPython/5361/issue_layout |
| twitter:image | https://opengraph.githubassets.com/903afa18d71be88dccb2199be3cb3516b08636b3d6906aa8c310a3e68808abf4/RustPython/RustPython/issues/5361 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/903afa18d71be88dccb2199be3cb3516b08636b3d6906aa8c310a3e68808abf4/RustPython/RustPython/issues/5361 |
| og:image:alt | Summary erfan@erfan-Inspiron-N4050:~/RustroverProjects/RustPython/target/release2$ ./rustpython Portals2.py /home/erfan/.local/lib/rustpython3.12/site-packages/requests/__init__.py:89: RequestsDepe... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | 0Wall-E |
| hostname | github.com |
| expected-hostname | github.com |
| None | 86be97fd69ac233b46e43a5eed04ceac6498abe1efaf1af3b9573eb216019c05 |
| turbo-cache-control | no-preview |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| 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 | f80280886562a52fe1f6b9cab9f9c1dc3b9a78a2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width