René's URL Explorer Experiment


Title: “lxml & xmlsec libxml2 library version mismatch” error under uWSGI · Issue #320 · xmlsec/python-xmlsec · GitHub

Open Graph Title: “lxml & xmlsec libxml2 library version mismatch” error under uWSGI · Issue #320 · xmlsec/python-xmlsec

X Title: “lxml & xmlsec libxml2 library version mismatch” error under uWSGI · Issue #320 · xmlsec/python-xmlsec

Description: If libxml2-dev was installed when uWSGI was built, then importing xmlsec within uWSGI leads to an incorrect error xmlsec.InternalError: (-1, 'lxml & xmlsec libxml2 library version mismatch'). There’s no such error outside of uWSGI. (I ca...

Open Graph Description: If libxml2-dev was installed when uWSGI was built, then importing xmlsec within uWSGI leads to an incorrect error xmlsec.InternalError: (-1, 'lxml & xmlsec libxml2 library version mismatch'). There...

X Description: If libxml2-dev was installed when uWSGI was built, then importing xmlsec within uWSGI leads to an incorrect error xmlsec.InternalError: (-1, 'lxml & xmlsec libxml2 library version mismatch&...

Opengraph URL: https://github.com/xmlsec/python-xmlsec/issues/320

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"“lxml \u0026 xmlsec libxml2 library version mismatch” error under uWSGI","articleBody":"If libxml2-dev was installed when uWSGI was built, then importing `xmlsec` within uWSGI leads to an incorrect error `xmlsec.InternalError: (-1, 'lxml \u0026 xmlsec libxml2 library version mismatch')`. There’s no such error outside of uWSGI.\n\n(I can work around this error with `--no-binary=lxml --no-binary=xmlsec`, but that wastes a lot more CI time and shouldn’t be necessary.)\n\nReproduction in a fresh container:\n\n```console\n$ docker run --rm -it ubuntu:22.04\nroot@076333186bac:/# apt update\n…\nroot@076333186bac:/# apt install -y gcc libxml2-dev python3-dev python3-venv pkg-config\n…\nroot@076333186bac:/# python3 -m venv venv\nroot@076333186bac:/# . venv/bin/activate\n(venv) root@076333186bac:/# pip install uWSGI xmlsec\n…\nSuccessfully installed lxml-5.2.1 uWSGI-2.0.25.1 xmlsec-1.3.14\n(venv) root@076333186bac:/# cat \u003e app.py \u003c\u003cEOF\nimport xmlsec\n\ndef application(env, start_response):\n    start_response(\"200 OK\", [(\"Content-Type\", \"text/plain\")])\n    return [b\"Hello, world!\\n\"]\n\nEOF\n(venv) root@076333186bac:/# python -c 'import xmlsec'\n(venv) root@076333186bac:/# uwsgi --http :9090 --wsgi-file app.py\n*** Starting uWSGI 2.0.25.1 (64bit) on [Mon May  6 22:18:16 2024] ***\ncompiled with version: 11.4.0 on 06 May 2024 22:17:53\nos: Linux-6.8.7 #1-NixOS SMP PREEMPT_DYNAMIC Wed Apr 17 09:23:43 UTC 2024\nnodename: 076333186bac\nmachine: x86_64\nclock source: unix\ndetected number of CPU cores: 12\ncurrent working directory: /\ndetected binary path: /venv/bin/uwsgi\n!!! no internal routing support, rebuild with pcre support !!!\nuWSGI running as root, you can use --uid/--gid/--chroot options\n*** WARNING: you are running uWSGI as root !!! (use the --uid flag) *** \n*** WARNING: you are running uWSGI without its master process manager ***\nyour memory page size is 4096 bytes\ndetected max file descriptor number: 1024\nlock engine: pthread robust mutexes\nthunder lock: disabled (you can enable it with --thunder-lock)\nuWSGI http bound on :9090 fd 4\nspawned uWSGI http 1 (pid: 4203)\nuwsgi socket 0 bound to TCP address 127.0.0.1:46691 (port auto-assigned) fd 3\nuWSGI running as root, you can use --uid/--gid/--chroot options\n*** WARNING: you are running uWSGI as root !!! (use the --uid flag) *** \nPython version: 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]\n*** Python threads support is disabled. You can enable it with --enable-threads ***\nPython main interpreter initialized at 0x55a23eea0bc0\nuWSGI running as root, you can use --uid/--gid/--chroot options\n*** WARNING: you are running uWSGI as root !!! (use the --uid flag) *** \nyour server socket listen backlog is limited to 100 connections\nyour mercy for graceful operations on workers is 60 seconds\nmapped 72904 bytes (71 KB) for 1 cores\n*** Operational MODE: single process ***\nTraceback (most recent call last):\n  File \"app.py\", line 1, in \u003cmodule\u003e\n    import xmlsec\nxmlsec.InternalError: (-1, 'lxml \u0026 xmlsec libxml2 library version mismatch')\nunable to load app 0 (mountpoint='') (callable not found or import error)\n*** no app loaded. going in full dynamic mode ***\nuWSGI running as root, you can use --uid/--gid/--chroot options\n*** WARNING: you are running uWSGI as root !!! (use the --uid flag) *** \n*** uWSGI is running in multiple interpreter mode ***\nspawned uWSGI worker 1 (and the only) (pid: 4202, cores: 1)\n```","author":{"url":"https://github.com/andersk","@type":"Person","name":"andersk"},"datePublished":"2024-05-06T22:28:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":21},"url":"https://github.com/320/python-xmlsec/issues/320"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e9b406aa-3b0f-8a33-78a0-db32c90a29f5
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id83FC:1272F1:17A2B9:20F9C9:696A63C2
html-safe-nonce50904d389518945b7cef493f3ce7fdc19f8bf92f6bce396dd601e35ecbca67c7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4M0ZDOjEyNzJGMToxN0EyQjk6MjBGOUM5OjY5NkE2M0MyIiwidmlzaXRvcl9pZCI6IjM0MDA2NTk4MTczMzQzMDIxMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac1446a7e1e15a02295cfb9651e11b45f435a84b848b46c8783fe58e70a58b8c1f
hovercard-subject-tagissue:2281897093
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/xmlsec/python-xmlsec/320/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ca9ef68e519942746818d34defb70e67f05dcaa52e2063d71264bae1410858c1/xmlsec/python-xmlsec/issues/320
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ca9ef68e519942746818d34defb70e67f05dcaa52e2063d71264bae1410858c1/xmlsec/python-xmlsec/issues/320
og:image:altIf libxml2-dev was installed when uWSGI was built, then importing xmlsec within uWSGI leads to an incorrect error xmlsec.InternalError: (-1, 'lxml & xmlsec libxml2 library version mismatch'). There...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameandersk
hostnamegithub.com
expected-hostnamegithub.com
None9b7735a184970dd9333b2cbe036c8f3c0a9108c64aaa93827c5a64fc70993392
turbo-cache-controlno-preview
go-importgithub.com/xmlsec/python-xmlsec git https://github.com/xmlsec/python-xmlsec.git
octolytics-dimension-user_id111647685
octolytics-dimension-user_loginxmlsec
octolytics-dimension-repository_id27934955
octolytics-dimension-repository_nwoxmlsec/python-xmlsec
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27934955
octolytics-dimension-repository_network_root_nwoxmlsec/python-xmlsec
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
release87cbd411c2982752221b5751d583a515b23bf5fa
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/xmlsec/python-xmlsec/issues/320#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fxmlsec%2Fpython-xmlsec%2Fissues%2F320
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%2Fxmlsec%2Fpython-xmlsec%2Fissues%2F320
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=xmlsec%2Fpython-xmlsec
Reloadhttps://github.com/xmlsec/python-xmlsec/issues/320
Reloadhttps://github.com/xmlsec/python-xmlsec/issues/320
Reloadhttps://github.com/xmlsec/python-xmlsec/issues/320
xmlsec https://github.com/xmlsec
python-xmlsechttps://github.com/xmlsec/python-xmlsec
Notifications https://github.com/login?return_to=%2Fxmlsec%2Fpython-xmlsec
Fork 105 https://github.com/login?return_to=%2Fxmlsec%2Fpython-xmlsec
Star 104 https://github.com/login?return_to=%2Fxmlsec%2Fpython-xmlsec
Code https://github.com/xmlsec/python-xmlsec
Issues 29 https://github.com/xmlsec/python-xmlsec/issues
Pull requests 3 https://github.com/xmlsec/python-xmlsec/pulls
Actions https://github.com/xmlsec/python-xmlsec/actions
Projects 0 https://github.com/xmlsec/python-xmlsec/projects
Wiki https://github.com/xmlsec/python-xmlsec/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/xmlsec/python-xmlsec/security
Please reload this pagehttps://github.com/xmlsec/python-xmlsec/issues/320
Insights https://github.com/xmlsec/python-xmlsec/pulse
Code https://github.com/xmlsec/python-xmlsec
Issues https://github.com/xmlsec/python-xmlsec/issues
Pull requests https://github.com/xmlsec/python-xmlsec/pulls
Actions https://github.com/xmlsec/python-xmlsec/actions
Projects https://github.com/xmlsec/python-xmlsec/projects
Wiki https://github.com/xmlsec/python-xmlsec/wiki
Security https://github.com/xmlsec/python-xmlsec/security
Insights https://github.com/xmlsec/python-xmlsec/pulse
New issuehttps://github.com/login?return_to=https://github.com/xmlsec/python-xmlsec/issues/320
New issuehttps://github.com/login?return_to=https://github.com/xmlsec/python-xmlsec/issues/320
“lxml & xmlsec libxml2 library version mismatch” error under uWSGIhttps://github.com/xmlsec/python-xmlsec/issues/320#top
https://github.com/andersk
https://github.com/andersk
anderskhttps://github.com/andersk
on May 6, 2024https://github.com/xmlsec/python-xmlsec/issues/320#issue-2281897093
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.