Title: UnicodeDecode error during import of modules · Issue #979 · pythonnet/pythonnet · GitHub
Open Graph Title: UnicodeDecode error during import of modules · Issue #979 · pythonnet/pythonnet
X Title: UnicodeDecode error during import of modules · Issue #979 · pythonnet/pythonnet
Description: Environment Pythonnet version: 2.4.0 Python version: 3.7.5 Operating System: Windows 10 Details When trying to import an opaque DLL (I have sources, but I prefer to not compile on my system because is related to a project not maintained ...
Open Graph Description: Environment Pythonnet version: 2.4.0 Python version: 3.7.5 Operating System: Windows 10 Details When trying to import an opaque DLL (I have sources, but I prefer to not compile on my system because...
X Description: Environment Pythonnet version: 2.4.0 Python version: 3.7.5 Operating System: Windows 10 Details When trying to import an opaque DLL (I have sources, but I prefer to not compile on my system because...
Opengraph URL: https://github.com/pythonnet/pythonnet/issues/979
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"UnicodeDecode error during import of modules","articleBody":"### Environment\r\n\r\n- Pythonnet version: 2.4.0\r\n- Python version: 3.7.5\r\n- Operating System: Windows 10\r\n\r\n### Details\r\n\r\n- When trying to import an opaque DLL (I have sources, but I prefer to not compile on my system because is related to a project not maintained by me), i experience this error:\r\n\r\n`\r\nUnicodeDecodeError: 'utf-8' codec can't decode byte 0xe0 in position 12: unexpected end of data\r\n\r\nThe above exception was the direct cause of the following exception:\r\n\r\nSystemError: \u003cclass 'UnicodeDecodeError'\u003e returned a result with an error set\r\n\r\nThe above exception was the direct cause of the following exception:\r\n\r\nSystemError: \u003cbuilt-in method mro of CLR Metatype object at 0x09ABF208\u003e returned a result with an error set\r\n`\r\n\r\nIt seems related to encoding in function names, but I inspected the DLL (both source code and with ILSpy) and I don't find anything strange.\r\n","author":{"url":"https://github.com/LucaBoss74","@type":"Person","name":"LucaBoss74"},"datePublished":"2019-10-26T10:27:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":14},"url":"https://github.com/979/pythonnet/issues/979"}
| 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:f739039e-98da-0674-e532-82893181235a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CDFA:F23B3:30F7920:319D100:69702DCC |
| html-safe-nonce | cb23ca571b4e7c758b71bb324081cb6e12bdd10a683c4e3604a219693a9754dc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDREZBOkYyM0IzOjMwRjc5MjA6MzE5RDEwMDo2OTcwMkRDQyIsInZpc2l0b3JfaWQiOiI0NzE2ODUxOTU4MDQ2MDEwODI4IiwicmVnaW9uX2VkZ2UiOiJzZWEiLCJyZWdpb25fcmVuZGVyIjoic2VhIn0= |
| visitor-hmac | ad520c38232b676dfe109feedc9c7fd64abcf3b9e5ff9dbb791188ceebb45b29 |
| hovercard-subject-tag | issue:512819385 |
| 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/979/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8c7566bedf3b684e165cd998dc2aaeafaaa3bd8d6d4b5bc179c11ee03f5ccbe1/pythonnet/pythonnet/issues/979 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8c7566bedf3b684e165cd998dc2aaeafaaa3bd8d6d4b5bc179c11ee03f5ccbe1/pythonnet/pythonnet/issues/979 |
| og:image:alt | Environment Pythonnet version: 2.4.0 Python version: 3.7.5 Operating System: Windows 10 Details When trying to import an opaque DLL (I have sources, but I prefer to not compile on my system because... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | LucaBoss74 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 01fa379f5de85ef8e791d09724e69709ce9eb9595278316e0a921312dc88e0bc |
| 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 | dda91974c069382b0dfa47b2da7e28bd061c8331 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width