Title: PythonEngine.Shutdown() Crash · Issue #2107 · pythonnet/pythonnet · GitHub
Open Graph Title: PythonEngine.Shutdown() Crash · Issue #2107 · pythonnet/pythonnet
X Title: PythonEngine.Shutdown() Crash · Issue #2107 · pythonnet/pythonnet
Description: Environment Pythonnet version: 3.0.1 Python version: 3.7.3 Operating System: Windows 11 (Same happens when running on WSL - Ubuntu) .NET Runtime: .NET 7 Details Calling Python.Runtime.PythonEngine.Shutdown(); results in the error: System...
Open Graph Description: Environment Pythonnet version: 3.0.1 Python version: 3.7.3 Operating System: Windows 11 (Same happens when running on WSL - Ubuntu) .NET Runtime: .NET 7 Details Calling Python.Runtime.PythonEngine....
X Description: Environment Pythonnet version: 3.0.1 Python version: 3.7.3 Operating System: Windows 11 (Same happens when running on WSL - Ubuntu) .NET Runtime: .NET 7 Details Calling Python.Runtime.PythonEngine....
Opengraph URL: https://github.com/pythonnet/pythonnet/issues/2107
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"PythonEngine.Shutdown() Crash","articleBody":"### Environment\r\n\r\n- Pythonnet version: 3.0.1\r\n- Python version: 3.7.3\r\n- Operating System: Windows 11 (Same happens when running on WSL - Ubuntu)\r\n- .NET Runtime: .NET 7\r\n\r\n### Details\r\n\r\nCalling `Python.Runtime.PythonEngine.Shutdown();` results in the error:\r\n```\r\nSystem.NotSupportedException: 'BinaryFormatter serialization and deserialization are disabled within this application. See https://aka.ms/binaryformatter for more information.'\r\n```","author":{"url":"https://github.com/nlogozzo","@type":"Person","name":"nlogozzo"},"datePublished":"2023-02-20T15:19:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/2107/pythonnet/issues/2107"}
| 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:f7bdc00f-fb43-15b8-8000-e62846f2ad24 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D39A:A0BA:185CE9D:20278AE:697198D8 |
| html-safe-nonce | 043c07fad9163063c91f262fe9cb79d4e378933750c4bedd14d98adee5a08f13 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzlBOkEwQkE6MTg1Q0U5RDoyMDI3OEFFOjY5NzE5OEQ4IiwidmlzaXRvcl9pZCI6IjU4NzQwNzM4NTg3ODc2MTI4ODgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d343b24f53fab36e9dbbdb1c2164359783eb4bd0228b0e3868b9420b5061cb90 |
| hovercard-subject-tag | issue:1592054186 |
| 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/2107/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cfa179583354d0374b3b702c9fd086373945fb3fa3efb5fe535439cb658accb0/pythonnet/pythonnet/issues/2107 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cfa179583354d0374b3b702c9fd086373945fb3fa3efb5fe535439cb658accb0/pythonnet/pythonnet/issues/2107 |
| og:image:alt | Environment Pythonnet version: 3.0.1 Python version: 3.7.3 Operating System: Windows 11 (Same happens when running on WSL - Ubuntu) .NET Runtime: .NET 7 Details Calling Python.Runtime.PythonEngine.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nlogozzo |
| hostname | github.com |
| expected-hostname | github.com |
| None | fdfdce9cd4f6ab85dca2b0d11264270829297c962dd5a79df449062d7822258f |
| 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 | 51c736e60b302bd039c9d5164573d176ceb24bb2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width