René's URL Explorer Experiment


Title: undefined symbol: iptc_init (libiptc compatibilitly) · Issue #5 · ldx/python-iptables · GitHub

Open Graph Title: undefined symbol: iptc_init (libiptc compatibilitly) · Issue #5 · ldx/python-iptables

X Title: undefined symbol: iptc_init (libiptc compatibilitly) · Issue #5 · ldx/python-iptables

Description: If libip4tc doesn't exist but libiptc does the module failes to load with the following error: Traceback (most recent call last): File "comment.py", line 3, in import iptc File "/usr/lib/pymodules/python2.6/iptc/__init__.py", li...

Open Graph Description: If libip4tc doesn't exist but libiptc does the module failes to load with the following error: Traceback (most recent call last): File "comment.py", line 3, in import iptc File "/usr/lib/p...

X Description: If libip4tc doesn't exist but libiptc does the module failes to load with the following error: Traceback (most recent call last): File "comment.py", line 3, in <module> import i...

Opengraph URL: https://github.com/ldx/python-iptables/issues/5

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"undefined symbol: iptc_init (libiptc compatibilitly)","articleBody":"If libip4tc doesn't exist but libiptc does the module failes to load with the following error:\n\n```\nTraceback (most recent call last):                                                                                                                                                                                                          \n  File \"comment.py\", line 3, in \u003cmodule\u003e                                                                                                                                                                                                    \n    import iptc                                                                                                                                                                                                                             \n  File \"/usr/lib/pymodules/python2.6/iptc/__init__.py\", line 110, in \u003cmodule\u003e                                                                                                                                                               \n    class iptc(object):                                                                                                                                                                                                                     \n  File \"/usr/lib/pymodules/python2.6/iptc/__init__.py\", line 112, in iptc                                                                                                                                                                   \n    iptc_init = _libiptc.iptc_init                                                                                                                                                                                                          \n  File \"/usr/lib/python2.6/ctypes/__init__.py\", line 366, in __getattr__                                                                                                                                                                    \n    func = self.__getitem__(name)                                                                                                                                                                                                           \n  File \"/usr/lib/python2.6/ctypes/__init__.py\", line 371, in __getitem__                                                                                                                                                                    \n    func = self._FuncPtr((name_or_ordinal, self))                                                                                                                                                                                           \nAttributeError: python: undefined symbol: iptc_init\n```\n\nSeems like ctypes.CDLL() doesn't throw an exception in case the lib couldn't be loaded.\n\nFollwoing change should fix the problem:\n\n```\ndiff --git a/iptc/__init__.py b/iptc/__init__.py\nindex 400111c..3d25f29 100644\n--- a/iptc/__init__.py\n+++ b/iptc/__init__.py\n@@ -102,10 +102,15 @@ class ipt_entry_match(xt_entry_match):\n\n ipt_align = xt_align\n\n-try:\n-    _libiptc = ct.CDLL(ctypes.util.find_library(\"ip4tc\"), use_errno = True)\n-except:\n-    _libiptc = ct.CDLL(ctypes.util.find_library(\"iptc\"), use_errno = True)\n+_libiptc_file = ctypes.util.find_library(\"ip4tc\")\n+\n+if not _libiptc_file:\n+    _libiptc_file = ctypes.util.find_library(\"iptc\")\n+\n+if not _libiptc_file:\n+    raise IPTCError(\"error: libiptc/libip4tc not found\")\n+\n+_libiptc = ct.CDLL(_libiptc_file, use_errno = True)\n\n class iptc(object):\n     \"\"\"This class contains all libiptc API calls.\"\"\"\n```\n","author":{"url":"https://github.com/freddy36","@type":"Person","name":"freddy36"},"datePublished":"2012-05-07T10:18:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/5/python-iptables/issues/5"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e9ee5771-1fb7-1707-169f-e630342c959e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD27E:3B0A26:5777B:77DE3:6A5E1E63
html-safe-noncef168913d43407924a63608ef25e4a24d3776f541d8c99661d3418d5959a0c4c7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjdFOjNCMEEyNjo1Nzc3Qjo3N0RFMzo2QTVFMUU2MyIsInZpc2l0b3JfaWQiOiIzMDQ0NTg2MTg2Mjk4MjM2NTE1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac35a29dd88db33d8162d0c9e03d7b8469a3cb3326100c58da0426ad3d16996258
hovercard-subject-tagissue:4451593
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/ldx/python-iptables/5/issue_layout
twitter:imagehttps://opengraph.githubassets.com/eab32ce32b83e53f486d54e46a3fb3658e49610360e9b2d19d78ffe0d8c68853/ldx/python-iptables/issues/5
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/eab32ce32b83e53f486d54e46a3fb3658e49610360e9b2d19d78ffe0d8c68853/ldx/python-iptables/issues/5
og:image:altIf libip4tc doesn't exist but libiptc does the module failes to load with the following error: Traceback (most recent call last): File "comment.py", line 3, in import iptc File "/usr/lib/p...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamefreddy36
hostnamegithub.com
expected-hostnamegithub.com
None7a60e060dad2c24f72179d36247204b454da37845d1728020cd42046a433f87f
turbo-cache-controlno-preview
go-importgithub.com/ldx/python-iptables git https://github.com/ldx/python-iptables.git
octolytics-dimension-user_id456904
octolytics-dimension-user_loginldx
octolytics-dimension-repository_id1032167
octolytics-dimension-repository_nwoldx/python-iptables
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1032167
octolytics-dimension-repository_network_root_nwoldx/python-iptables
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
release0ae7f3ea7b1bb2f1f4623bb093bbf54cee05d830
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/ldx/python-iptables/issues/5#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fldx%2Fpython-iptables%2Fissues%2F5
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2Fldx%2Fpython-iptables%2Fissues%2F5
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=ldx%2Fpython-iptables
Reloadhttps://github.com/ldx/python-iptables/issues/5
Reloadhttps://github.com/ldx/python-iptables/issues/5
Reloadhttps://github.com/ldx/python-iptables/issues/5
ldx https://github.com/ldx
python-iptableshttps://github.com/ldx/python-iptables
Notifications https://github.com/login?return_to=%2Fldx%2Fpython-iptables
Fork 187 https://github.com/login?return_to=%2Fldx%2Fpython-iptables
Star 753 https://github.com/login?return_to=%2Fldx%2Fpython-iptables
Code https://github.com/ldx/python-iptables
Issues 33 https://github.com/ldx/python-iptables/issues
Pull requests 2 https://github.com/ldx/python-iptables/pulls
Actions https://github.com/ldx/python-iptables/actions
Projects https://github.com/ldx/python-iptables/projects
Wiki https://github.com/ldx/python-iptables/wiki
Security and quality 0 https://github.com/ldx/python-iptables/security
Insights https://github.com/ldx/python-iptables/pulse
Code https://github.com/ldx/python-iptables
Issues https://github.com/ldx/python-iptables/issues
Pull requests https://github.com/ldx/python-iptables/pulls
Actions https://github.com/ldx/python-iptables/actions
Projects https://github.com/ldx/python-iptables/projects
Wiki https://github.com/ldx/python-iptables/wiki
Security and quality https://github.com/ldx/python-iptables/security
Insights https://github.com/ldx/python-iptables/pulse
undefined symbol: iptc_init (libiptc compatibilitly)https://github.com/ldx/python-iptables/issues/5#top
https://github.com/freddy36
freddy36https://github.com/freddy36
on May 7, 2012https://github.com/ldx/python-iptables/issues/5#issue-4451593
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.