Title: Unable to import crl with python 3.10 - 32bit · Issue #1617 · pythonnet/pythonnet · GitHub
Open Graph Title: Unable to import crl with python 3.10 - 32bit · Issue #1617 · pythonnet/pythonnet
X Title: Unable to import crl with python 3.10 - 32bit · Issue #1617 · pythonnet/pythonnet
Description: Environment Pythonnet Version: Requirement already satisfied: pythonnet in c:\users\hossa\appdata\local\programs\python\python310-32\lib\site-packages\pythonnet-3.0.0.dev1-py3.10.egg (3.0.0.dev1) Requirement already satisfied: clr_loader...
Open Graph Description: Environment Pythonnet Version: Requirement already satisfied: pythonnet in c:\users\hossa\appdata\local\programs\python\python310-32\lib\site-packages\pythonnet-3.0.0.dev1-py3.10.egg (3.0.0.dev1) R...
X Description: Environment Pythonnet Version: Requirement already satisfied: pythonnet in c:\users\hossa\appdata\local\programs\python\python310-32\lib\site-packages\pythonnet-3.0.0.dev1-py3.10.egg (3.0.0.dev1) R...
Opengraph URL: https://github.com/pythonnet/pythonnet/issues/1617
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unable to import crl with python 3.10 - 32bit","articleBody":"### Environment\r\nPythonnet Version:\r\nRequirement already satisfied: pythonnet in c:\\users\\hossa\\appdata\\local\\programs\\python\\python310-32\\lib\\site-packages\\pythonnet-3.0.0.dev1-py3.10.egg (3.0.0.dev1)\r\nRequirement already satisfied: clr_loader in c:\\users\\hossa\\appdata\\local\\programs\\python\\python310-32\\lib\\site-packages\\clr_loader-0.1.6-py3.10.egg (from pythonnet) (0.1.6)\r\nRequirement already satisfied: cffi\u003e=1.13 in c:\\users\\hossa\\appdata\\local\\programs\\python\\python310-32\\lib\\site-packages (from clr_loader-\u003epythonnet) (1.15.0)\r\nRequirement already satisfied: pycparser in c:\\users\\hossa\\appdata\\local\\programs\\python\\python310-32\\lib\\site-packages (from cffi\u003e=1.13-\u003eclr_loader-\u003epythonnet) (2.21) \r\n\r\n- Python version:3.10.0\r\n- Operating System: windows 10\r\n- .NET Runtime:\r\n----------- -------\r\nv2.0.50727 2.0.50727.4927\r\nv3.0 3.0.30729.4926\r\nWindows Communication Foundation 3.0.4506.4926\r\nWindows Presentation Foundation 3.0.6920.4902\r\nv3.5 3.5.30729.4926\r\nClient 4.8.04084\r\nFull 4.8.04084\r\nClient 4.0.0.0\r\n\r\n### Details\r\n```import clr``` \r\ngives the following error:\r\n\r\n```\r\nTraceback (most recent call last):\r\n File \"C:\\Users\\hossa\\git\\Research\\Riz\\clrstuff.py\", line 1, in \u003cmodule\u003e\r\n import clr\r\n File \"C:\\Users\\hossa\\AppData\\Local\\Programs\\Python\\Python310-32\\lib\\site-packages\\pythonnet-3.0.0.dev1-py3.10.egg\\clr.py\", line 6, in \u003cmodule\u003e\r\n load()\r\n File \"C:\\Users\\hossa\\AppData\\Local\\Programs\\Python\\Python310-32\\lib\\site-packages\\pythonnet-3.0.0.dev1-py3.10.egg\\pythonnet\\__init__.py\", line 43, in load\r\n if func(''.encode(\"utf8\")) != 0:\r\n File \"C:\\Users\\hossa\\AppData\\Local\\Programs\\Python\\Python310-32\\lib\\site-packages\\clr_loader-0.1.6-py3.10.egg\\clr_loader\\wrappers.py\", line 20, in __call__\r\n return self._callable(ffi.cast(\"void*\", buf_arr), len(buf_arr))\r\nRuntimeError: cannot call null pointer pointer from cdata 'int(*)(void *, int)'\r\n\r\n```","author":{"url":"https://github.com/riz-hossain","@type":"Person","name":"riz-hossain"},"datePublished":"2021-11-17T23:18:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":13},"url":"https://github.com/1617/pythonnet/issues/1617"}
| 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:53e5c516-cbd3-a059-0e75-eba6eae85e0f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C7E0:120039:104DE7D:1583FB5:69717C6D |
| html-safe-nonce | 8718207256f5920d81e21178e54df717e205baab830536f0a713fbfd3c0a94ce |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDN0UwOjEyMDAzOToxMDRERTdEOjE1ODNGQjU6Njk3MTdDNkQiLCJ2aXNpdG9yX2lkIjoiODk4NTQ2MzYzODIwNTc1ODU3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 795fb3de1a8b587a452c1bc30fd2e7c0ce5df6b993452cbd8b149fe3c1eef024 |
| hovercard-subject-tag | issue:1056734167 |
| 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/pythonnet/pythonnet/1617/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2ad4cc2ea232c57dc6d79e3561fb25a7309d7f93cf43515755adb54a53e4f078/pythonnet/pythonnet/issues/1617 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2ad4cc2ea232c57dc6d79e3561fb25a7309d7f93cf43515755adb54a53e4f078/pythonnet/pythonnet/issues/1617 |
| og:image:alt | Environment Pythonnet Version: Requirement already satisfied: pythonnet in c:\users\hossa\appdata\local\programs\python\python310-32\lib\site-packages\pythonnet-3.0.0.dev1-py3.10.egg (3.0.0.dev1) R... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | riz-hossain |
| hostname | github.com |
| expected-hostname | github.com |
| None | 102ab681b33bed6a87d35dc54dd8200470d7e01648f08979e84415ab67d611aa |
| turbo-cache-control | no-preview |
| go-import | github.com/pythonnet/pythonnet git https://github.com/pythonnet/pythonnet.git |
| octolytics-dimension-user_id | 6050430 |
| octolytics-dimension-user_login | pythonnet |
| octolytics-dimension-repository_id | 14748123 |
| octolytics-dimension-repository_nwo | pythonnet/pythonnet |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 14748123 |
| octolytics-dimension-repository_network_root_nwo | pythonnet/pythonnet |
| 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 | 6a660b76f271bda19afb9f5242b473bfee637a5a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width