René's URL Explorer Experiment


Title: IsADirectoryError while getting local timezone · Issue #256 · python-pendulum/pendulum · GitHub

Open Graph Title: IsADirectoryError while getting local timezone · Issue #256 · python-pendulum/pendulum

X Title: IsADirectoryError while getting local timezone · Issue #256 · python-pendulum/pendulum

Description: Maybe related to 6ee68b9 I'm seeing an error with this test.py: import pendulum pendulum.now() Traceback (most recent call last): File "test.py", line 2, in pendulum.now() File "/mnt/iscsi/10_web_cem_dev/work/axc/cem-one-times/e...

Open Graph Description: Maybe related to 6ee68b9 I'm seeing an error with this test.py: import pendulum pendulum.now() Traceback (most recent call last): File "test.py", line 2, in pendulum.now() File "/mnt/iscsi...

X Description: Maybe related to 6ee68b9 I'm seeing an error with this test.py: import pendulum pendulum.now() Traceback (most recent call last): File "test.py", line 2, in <module> pendulum.no...

Opengraph URL: https://github.com/python-pendulum/pendulum/issues/256

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"IsADirectoryError while getting local timezone","articleBody":"Maybe related to https://github.com/sdispater/pendulum/commit/6ee68b9fdfb1bfd25db6c946d110cc4578a86958\r\n\r\nI'm seeing an error with this test.py:\r\n```\r\nimport pendulum\r\npendulum.now()\r\n```\r\n```\r\nTraceback (most recent call last):\r\n  File \"test.py\", line 2, in \u003cmodule>\r\n    pendulum.now()\r\n  File \"/mnt/iscsi/10_web_cem_dev/work/axc/cem-one-times/env/lib64/python3.6/site-packages/pendulum/__init__.py\", line 207, in now\r\n    dt = _datetime.datetime.now(local_timezone())\r\n  File \"/mnt/iscsi/10_web_cem_dev/work/axc/cem-one-times/env/lib64/python3.6/site-packages/pendulum/tz/__init__.py\", line 59, in local_timezone\r\n    return get_local_timezone()\r\n  File \"/mnt/iscsi/10_web_cem_dev/work/axc/cem-one-times/env/lib64/python3.6/site-packages/pendulum/tz/local_timezone.py\", line 31, in get_local_timezone\r\n    tz = _get_system_timezone()\r\n  File \"/mnt/iscsi/10_web_cem_dev/work/axc/cem-one-times/env/lib64/python3.6/site-packages/pendulum/tz/local_timezone.py\", line 59, in _get_system_timezone\r\n    return _get_unix_timezone()\r\n  File \"/mnt/iscsi/10_web_cem_dev/work/axc/cem-one-times/env/lib64/python3.6/site-packages/pendulum/tz/local_timezone.py\", line 210, in _get_unix_timezone\r\n    return Timezone('/'.join(tzpath))\r\n  File \"/mnt/iscsi/10_web_cem_dev/work/axc/cem-one-times/env/lib64/python3.6/site-packages/pendulum/tz/timezone.py\", line 30, in __init__\r\n    tz = read(name, extend=extended)\r\n  File \"/mnt/iscsi/10_web_cem_dev/work/axc/cem-one-times/env/lib64/python3.6/site-packages/pendulum/tz/zoneinfo/__init__.py\", line 9, in read\r\n    return Reader(extend=extend).read_for(name)\r\n  File \"/mnt/iscsi/10_web_cem_dev/work/axc/cem-one-times/env/lib64/python3.6/site-packages/pendulum/tz/zoneinfo/reader.py\", line 52, in read_for\r\n    return self.read(file_path)\r\n  File \"/mnt/iscsi/10_web_cem_dev/work/axc/cem-one-times/env/lib64/python3.6/site-packages/pendulum/tz/zoneinfo/reader.py\", line 63, in read\r\n    with open(file_path, 'rb') as fd:\r\nIsADirectoryError: [Errno 21] Is a directory: '/mnt/iscsi/10_web_cem_dev/work/axc/cem-one-times/env/lib64/python3.6/site-packages/pytzdata/zoneinfo/Pacific'\r\n```\r\nThis is the content of my `/etc/sysconfig/clock`:\r\n```\r\nZONE=\"US/Pacific\"\r\n```\r\n\r\nI think it should be trying to read `env/lib64/python3.6/site-packages/pytzdata/zoneinfo/US/Pacific`","author":{"url":"https://github.com/aczapszys","@type":"Person","name":"aczapszys"},"datePublished":"2018-07-23T21:59:09Z","url":"https://github.com/python-pendulum/pendulum/issues/256"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:4f036b3b-7f4a-ce0c-44a2-bdabefba6ff6
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD798:1FA32B:90BDB1:C5C81E:6B047F68
html-safe-nonce1207d028ef7ad1379adbb6357a637817edadca665fdb665ca479189602148ec3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzk4OjFGQTMyQjo5MEJEQjE6QzVDODFFOjZCMDQ3RjY4IiwidmlzaXRvcl9pZCI6IjUzMDM1MDIwNjUwMTkxNTgzNzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac834e1c48ea0fdb1121fba9271b1fd900063b807418fb4108572d877e7272ef5a
hovercard-subject-tagissue:343811163
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/python-pendulum/pendulum/256/issue_layout
twitter:imagehttps://opengraph.githubassets.com/f2976516facb331b18ce2e7ccd58f6d298d24b387cd56202c2dc8eb021e997c3/python-pendulum/pendulum/issues/256
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f2976516facb331b18ce2e7ccd58f6d298d24b387cd56202c2dc8eb021e997c3/python-pendulum/pendulum/issues/256
og:image:altMaybe related to 6ee68b9 I'm seeing an error with this test.py: import pendulum pendulum.now() Traceback (most recent call last): File "test.py", line 2, in pendulum.now() File "/mnt/iscsi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameaczapszys
hostnamegithub.com
expected-hostnamegithub.com
None0366ddfb372682a32e92a5d86155cb08fa83e5bbe79953a968789f2f7e24c511
turbo-cache-controlno-preview
go-importgithub.com/python-pendulum/pendulum git https://github.com/python-pendulum/pendulum.git
octolytics-dimension-user_id191041900
octolytics-dimension-user_loginpython-pendulum
octolytics-dimension-repository_id62095504
octolytics-dimension-repository_nwopython-pendulum/pendulum
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id62095504
octolytics-dimension-repository_network_root_nwopython-pendulum/pendulum
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
releaseed3f2e01f6b7672780c586c8af0e72726374d7b6
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python-pendulum/pendulum/issues/256#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-pendulum%2Fpendulum%2Fissues%2F256
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-pendulum%2Fpendulum%2Fissues%2F256
Sign uphttps://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=python-pendulum%2Fpendulum
Reloadhttps://github.com/python-pendulum/pendulum/issues/256
Reloadhttps://github.com/python-pendulum/pendulum/issues/256
Reloadhttps://github.com/python-pendulum/pendulum/issues/256
python-pendulumhttps://github.com/python-pendulum
pendulumhttps://github.com/python-pendulum/pendulum
Codehttps://github.com/python-pendulum/pendulum
Issues211 (211)https://github.com/python-pendulum/pendulum/issues
Pull requests96 (96)https://github.com/python-pendulum/pendulum/pulls
Discussionshttps://github.com/python-pendulum/pendulum/discussions
Actionshttps://github.com/python-pendulum/pendulum/actions
Projectshttps://github.com/python-pendulum/pendulum/projects
Security and qualityhttps://github.com/python-pendulum/pendulum/security
Insightshttps://github.com/python-pendulum/pendulum/insights
https://github.com/python-pendulum/pendulum
New issuehttps://github.com/login?return_to=https://github.com/python-pendulum/pendulum/issues/256
New issuehttps://github.com/login?return_to=https://github.com/python-pendulum/pendulum/issues/256
#594https://github.com/python-pendulum/pendulum/pull/594
sdispater/pytzdata#11https://github.com/sdispater/pytzdata/pull/11
IsADirectoryError while getting local timezonehttps://github.com/python-pendulum/pendulum/issues/256#top
#594https://github.com/python-pendulum/pendulum/pull/594
sdispater/pytzdata#11https://github.com/sdispater/pytzdata/pull/11
https://github.com/aczapszys
aczapszyshttps://github.com/aczapszys
on Jul 23, 2018https://github.com/python-pendulum/pendulum/issues/256#issue-343811163
6ee68b9https://github.com/python-pendulum/pendulum/commit/6ee68b9fdfb1bfd25db6c946d110cc4578a86958
https://github.com/aczapszys
aczapszyshttps://github.com/aczapszys
on Jul 23, 2018https://github.com/python-pendulum/pendulum/issues/256#issuecomment-407216022
https://github.com/leric
lerichttps://github.com/leric
on Aug 7, 2019https://github.com/python-pendulum/pendulum/issues/256#issuecomment-518930746
christapleyhttps://github.com/christapley
on Jun 5, 2021https://github.com/python-pendulum/pendulum/issues/256#event-4846674543
Don't attempt to open a directory as a tz filehttps://github.com/christapley/pytzdata/commit/c5a9152f8fae70a967611364d8f2769373d7b33b
c5a9152https://github.com/christapley/pytzdata/commit/c5a9152f8fae70a967611364d8f2769373d7b33b
NickFabryhttps://github.com/NickFabry
completedhttps://github.com/python-pendulum/pendulum/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#594https://github.com/python-pendulum/pendulum/pull/594
on Jan 6, 2022https://github.com/python-pendulum/pendulum/issues/256#event-5854690193
NickFabryhttps://github.com/NickFabry
on Jan 6, 2022https://github.com/python-pendulum/pendulum/issues/256#event-5854690305
Merge pull request #594 from beci/masterhttps://github.com/python-pendulum/pendulum/commit/4b79cb78c87ca8b7b0bbc4c31b8ba4ca1d754a86
#594https://github.com/python-pendulum/pendulum/pull/594
https://docs.github.com/articles/closing-issues-via-commit-messages
4b79cb7https://github.com/python-pendulum/pendulum/commit/4b79cb78c87ca8b7b0bbc4c31b8ba4ca1d754a86
https://github.com/lsh-0
lsh-0https://github.com/lsh-0
on Sep 2, 2022https://github.com/python-pendulum/pendulum/issues/256#issuecomment-1235091038
sdispater/pytzdata#11https://github.com/sdispater/pytzdata/pull/11
@lerichttps://github.com/leric
#594https://github.com/python-pendulum/pendulum/pull/594
https://github.com/sdispater/pendulum/releases/tag/2.1.2https://github.com/sdispater/pendulum/releases/tag/2.1.2
https://github.com/darkfeline
darkfelinehttps://github.com/darkfeline
on May 23, 2024https://github.com/python-pendulum/pendulum/issues/256#issuecomment-2126551747
https://github.com/aczapszys
aczapszyshttps://github.com/aczapszys
on May 24, 2024https://github.com/python-pendulum/pendulum/issues/256#issuecomment-2128353094
@darkfelinehttps://github.com/darkfeline
https://github.com/sdispater/pendulum/blob/3.0.0/src/pendulum/tz/local_timezone.py#L232https://github.com/sdispater/pendulum/blob/3.0.0/src/pendulum/tz/local_timezone.py#L232
https://github.com/python/tzdata/tree/master/src/tzdata/zoneinfo/Pacifichttps://github.com/python/tzdata/tree/master/src/tzdata/zoneinfo/Pacific
https://github.com/python/cpython/blame/main/Lib/zoneinfo/_common.py#L13https://github.com/python/cpython/blame/main/Lib/zoneinfo/_common.py#L13
Sign up for freehttps://github.com/signup?return_to=https://github.com/python-pendulum/pendulum/issues/256
Sign in to commenthttps://github.com/login?return_to=https://github.com/python-pendulum/pendulum/issues/256
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.