René's URL Explorer Experiment


Title: Unable to run with Python debug library · Issue #1412 · pythonnet/pythonnet · GitHub

Open Graph Title: Unable to run with Python debug library · Issue #1412 · pythonnet/pythonnet

X Title: Unable to run with Python debug library · Issue #1412 · pythonnet/pythonnet

Description: Environment Pythonnet version: master@ f2dc8f1 Python version: 3.6 (probably others) Operating System: Ubuntu 20.04 (probably others) .NET Runtime: netcore 3.1, mono Details While debugging a build failure in #1402 , I tried to use a deb...

Open Graph Description: Environment Pythonnet version: master@ f2dc8f1 Python version: 3.6 (probably others) Operating System: Ubuntu 20.04 (probably others) .NET Runtime: netcore 3.1, mono Details While debugging a build...

X Description: Environment Pythonnet version: master@ f2dc8f1 Python version: 3.6 (probably others) Operating System: Ubuntu 20.04 (probably others) .NET Runtime: netcore 3.1, mono Details While debugging a build...

Opengraph URL: https://github.com/pythonnet/pythonnet/issues/1412

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unable to run with Python debug library","articleBody":"### Environment\r\n\r\n-   Pythonnet version: master@ f2dc8f1\r\n-   Python version: 3.6 (probably others)\r\n-   Operating System: Ubuntu 20.04 (probably others)\r\n-   .NET Runtime: netcore 3.1, mono\r\n\r\n### Details\r\n\r\n-   While debugging a build failure in #1402 , I tried to use a debug build of python,\r\n\r\nnote: Python 3.6 was installed from the deadsnakes PPA.\r\n\r\nRepro:\r\n-  Install Python debug packages\r\n- Create a and use a virtual environment using the Python debug executable\r\n- Apply/cherry-pick https://github.com/filmor/pythonnet/commit/ee3503b25b0c475fc9dee74398107fc61ca411ab to run with a static libpython\r\n- change the `dotnet_config` to `\"debug\"` (line ~43 in setup.py)\r\n- run `python -m pythonnet.find_libpython --export` and export the result in the environment, make sure it points to the debug library\r\n- `python setup.py develop` then run `pytest` (with either `--runtime mono` or `--runtime netcore`)\r\n- It will error out with:\r\n```\r\nFailed to initialize pythonnet: System.TypeInitializationException: The type initializer for 'Delegates' threw an exception. ---\u003e System.MissingMethodException: Failed to load symbol PyModule_Create2: /home/user/dev/36-dbg/bin/python: undefined symbol: PyModule_Create2\r\n  at Python.Runtime.Platform.LinuxLoader.GetFunction (System.IntPtr dllHandle, System.String name) [0x00050] in \u003c12881a58dd5544c59504de515c25928b\u003e:0\r\n  at Python.Runtime.Runtime+Delegates.GetFunctionByName (System.String functionName, System.IntPtr libraryHandle) [0x00000] in \u003c12881a58dd5544c59504de515c25928b\u003e:0\r\n  at Python.Runtime.Runtime+Delegates..cctor () [0x01793] in \u003c12881a58dd5544c59504de515c25928b\u003e:0\r\n   --- End of inner exception stack trace ---\r\n  at Python.Runtime.Runtime.PyGILState_Ensure () [0x00000] in \u003c12881a58dd5544c59504de515c25928b\u003e:0\r\n  at Python.Runtime.Loader.Initialize (System.IntPtr data, System.Int32 size) [0x0003c] in \u003c12881a58dd5544c59504de515c25928b\u003e:0\r\n  at Python.Runtime.Runtime.PyGILState_Ensure () [0x00000] in \u003c12881a58dd5544c59504de515c25928b\u003e:0\r\n  at Python.Runtime.Loader.Initialize (System.IntPtr data, System.Int32 size) [0x0003c] in \u003c12881a58dd5544c59504de515c25928b\u003e:0 INTERNALERROR\u003e Traceback (most recent call last):\r\nINTERNALERROR\u003e   File \"/home/user/dev/36-dbg/lib/python3.6/site-packages/_pytest/main.py\", line 265, in wrap_session\r\n```\r\n\r\nIf I fix that, there's another error in the TypeOffsets ctor (all offsets are null)\r\n","author":{"url":"https://github.com/BadSingleton","@type":"Person","name":"BadSingleton"},"datePublished":"2021-03-09T16:07:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/1412/pythonnet/issues/1412"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:fd005618-2ef7-5eb8-bd05-92a4eb971323
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA2D2:7A0AD:322367E:32DECF2:69703763
html-safe-noncefc7fda6e7c333248b5693e7dbc35947b4e8e34574288b7f033db98d460ad6250
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMkQyOjdBMEFEOjMyMjM2N0U6MzJERUNGMjo2OTcwMzc2MyIsInZpc2l0b3JfaWQiOiI1NDA1MzA5NDg4NzQwNzEwMjQzIiwicmVnaW9uX2VkZ2UiOiJzZWEiLCJyZWdpb25fcmVuZGVyIjoic2VhIn0=
visitor-hmaca17e00e7e567c4163b700fb5c6623fa9c61fc556a999d4fa3841e154ba9c4f60
hovercard-subject-tagissue:826163531
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/pythonnet/pythonnet/1412/issue_layout
twitter:imagehttps://opengraph.githubassets.com/318a34d3980b57d01282b9a33470ed06b10c1ed68a3a6c26a9811c47ebd3425c/pythonnet/pythonnet/issues/1412
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/318a34d3980b57d01282b9a33470ed06b10c1ed68a3a6c26a9811c47ebd3425c/pythonnet/pythonnet/issues/1412
og:image:altEnvironment Pythonnet version: master@ f2dc8f1 Python version: 3.6 (probably others) Operating System: Ubuntu 20.04 (probably others) .NET Runtime: netcore 3.1, mono Details While debugging a build...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameBadSingleton
hostnamegithub.com
expected-hostnamegithub.com
None9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2
turbo-cache-controlno-preview
go-importgithub.com/pythonnet/pythonnet git https://github.com/pythonnet/pythonnet.git
octolytics-dimension-user_id6050430
octolytics-dimension-user_loginpythonnet
octolytics-dimension-repository_id14748123
octolytics-dimension-repository_nwopythonnet/pythonnet
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id14748123
octolytics-dimension-repository_network_root_nwopythonnet/pythonnet
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef643964067a552f02067066d6a910b2f90a5721f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/pythonnet/pythonnet/issues/1412#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpythonnet%2Fpythonnet%2Fissues%2F1412
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpythonnet%2Fpythonnet%2Fissues%2F1412
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=pythonnet%2Fpythonnet
Reloadhttps://github.com/pythonnet/pythonnet/issues/1412
Reloadhttps://github.com/pythonnet/pythonnet/issues/1412
Reloadhttps://github.com/pythonnet/pythonnet/issues/1412
pythonnet https://github.com/pythonnet
pythonnethttps://github.com/pythonnet/pythonnet
Notifications https://github.com/login?return_to=%2Fpythonnet%2Fpythonnet
Fork 770 https://github.com/login?return_to=%2Fpythonnet%2Fpythonnet
Star 5.4k https://github.com/login?return_to=%2Fpythonnet%2Fpythonnet
Code https://github.com/pythonnet/pythonnet
Issues 155 https://github.com/pythonnet/pythonnet/issues
Pull requests 18 https://github.com/pythonnet/pythonnet/pulls
Discussions https://github.com/pythonnet/pythonnet/discussions
Actions https://github.com/pythonnet/pythonnet/actions
Projects 0 https://github.com/pythonnet/pythonnet/projects
Wiki https://github.com/pythonnet/pythonnet/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/pythonnet/pythonnet/security
Please reload this pagehttps://github.com/pythonnet/pythonnet/issues/1412
Insights https://github.com/pythonnet/pythonnet/pulse
Code https://github.com/pythonnet/pythonnet
Issues https://github.com/pythonnet/pythonnet/issues
Pull requests https://github.com/pythonnet/pythonnet/pulls
Discussions https://github.com/pythonnet/pythonnet/discussions
Actions https://github.com/pythonnet/pythonnet/actions
Projects https://github.com/pythonnet/pythonnet/projects
Wiki https://github.com/pythonnet/pythonnet/wiki
Security https://github.com/pythonnet/pythonnet/security
Insights https://github.com/pythonnet/pythonnet/pulse
New issuehttps://github.com/login?return_to=https://github.com/pythonnet/pythonnet/issues/1412
New issuehttps://github.com/login?return_to=https://github.com/pythonnet/pythonnet/issues/1412
#1426https://github.com/pythonnet/pythonnet/pull/1426
Unable to run with Python debug libraryhttps://github.com/pythonnet/pythonnet/issues/1412#top
#1426https://github.com/pythonnet/pythonnet/pull/1426
https://github.com/BadSingleton
https://github.com/BadSingleton
BadSingletonhttps://github.com/BadSingleton
on Mar 9, 2021https://github.com/pythonnet/pythonnet/issues/1412#issue-826163531
f2dc8f1https://github.com/pythonnet/pythonnet/commit/f2dc8f19c1dcf3a6735d5d9bdabd83ab69121b88
Fix exception refcnt #1402https://github.com/pythonnet/pythonnet/pull/1402
filmor@ee3503bhttps://github.com/filmor/pythonnet/commit/ee3503b25b0c475fc9dee74398107fc61ca411ab
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.