René's URL Explorer Experiment


Title: Bug: `OSError` on Windows due to Invalid Filename Characters in ISO 8601 Timestamps · Issue #377 · getappmap/appmap-python · GitHub

Open Graph Title: Bug: `OSError` on Windows due to Invalid Filename Characters in ISO 8601 Timestamps · Issue #377 · getappmap/appmap-python

X Title: Bug: `OSError` on Windows due to Invalid Filename Characters in ISO 8601 Timestamps · Issue #377 · getappmap/appmap-python

Description: When using AppMap for Python on Windows, an OSError occurs during the file-renaming process. This is because the ISO 8601 formatted timestamp, which includes colons (:), is directly used in the AppMap filename. The colon character is for...

Open Graph Description: When using AppMap for Python on Windows, an OSError occurs during the file-renaming process. This is because the ISO 8601 formatted timestamp, which includes colons (:), is directly used in the App...

X Description: When using AppMap for Python on Windows, an OSError occurs during the file-renaming process. This is because the ISO 8601 formatted timestamp, which includes colons (:), is directly used in the App...

Opengraph URL: https://github.com/getappmap/appmap-python/issues/377

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bug: `OSError` on Windows due to Invalid Filename Characters in ISO 8601 Timestamps","articleBody":"When using **AppMap for Python on Windows**, an `OSError` occurs during the file-renaming process. This is because the **ISO 8601 formatted timestamp**, which includes colons (`:`), is directly used in the AppMap filename. The colon character is forbidden in Windows filenames, causing the operation to fail.\n\n-----\n\n### **Reproduction**\n\nThe issue can be reproduced by running the `appmap-python` command on Windows. The specific paths and filenames will vary, but the error remains the same.\n\n```\nappmap-python --record process C:\\path\\to\\your\\project\\.venv\\Scripts\\python.exe C:\\path\\to\\your\\project\\main.py\n```\n\nThe command fails with the following traceback:\n\n```\nOSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: 'C:\\\\path\\\\to\\\\your\\\\project\\\\tmp\\\\appmap\\\\process\\\\tmp_some_string' -> 'C:\\\\path\\\\to\\\\your\\\\project\\\\tmp\\\\appmap\\\\process\\\\2024-01-20T10:30:00Z_12345.appmap.json'\n```\n\n-----\n\n### **Cause**\n\nThe problem lies on **line 120** of `recording.py`, where the `appmap_name` variable is constructed using an `iso_time` string. The standard ISO 8601 format includes a colon (`:`) to separate hours, minutes, and seconds (e.g., `10:30:00Z`), which is not a valid character for filenames in the Windows file system.\n\nThe code snippet from `recording.py` is:\n\n```python\nappmap_name = f\"{iso_time}_{process_id}\"\n```\n\n-----\n\n### **Suggested Fix**\n\nTo fix this, the **ISO 8601 timestamp must be sanitized** to remove or replace the colons before being used in the filename. A simple solution would be to use the `.replace()` method as a temporary workaround:\n\n```python\n# Before\nappmap_name = f\"{iso_time}_{process_id}\"\n\n# After (Proposed Fix)\nappmap_name = f\"{iso_time.replace(':', '')}_{process_id}\"\n```","author":{"url":"https://github.com/dividedmind","@type":"Person","name":"dividedmind"},"datePublished":"2025-09-12T14:44:29Z","url":"https://github.com/getappmap/appmap-python/issues/377"}

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:b30be6f3-14e1-d24f-8f50-b156503d15d0
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB9C2:7189C:24A3AEA:30A3348:6B032C67
html-safe-nonceab56c35438d0a198dacfde0c3b8a4d62a19c103729d5bf5837f3061c3b7c2af3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOUMyOjcxODlDOjI0QTNBRUE6MzBBMzM0ODo2QjAzMkM2NyIsInZpc2l0b3JfaWQiOiI0NDc5ODYzMjI2MTE2NTQ5NzM1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacc69b01646af3e23e16680d13a9a9bec99b4fb7e92757286f6b4cb373cb429cdb
hovercard-subject-tagissue:3410788070
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/getappmap/appmap-python/377/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e4d333b11841e7e832943661dc8afae6912cda986ba14988286d2997a5ec5a84/getappmap/appmap-python/issues/377
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e4d333b11841e7e832943661dc8afae6912cda986ba14988286d2997a5ec5a84/getappmap/appmap-python/issues/377
og:image:altWhen using AppMap for Python on Windows, an OSError occurs during the file-renaming process. This is because the ISO 8601 formatted timestamp, which includes colons (:), is directly used in the App...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedividedmind
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
go-importgithub.com/getappmap/appmap-python git https://github.com/getappmap/appmap-python.git
octolytics-dimension-user_id46610017
octolytics-dimension-user_logingetappmap
octolytics-dimension-repository_id314785884
octolytics-dimension-repository_nwogetappmap/appmap-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id314785884
octolytics-dimension-repository_network_root_nwogetappmap/appmap-python
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/getappmap/appmap-python/issues/377#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetappmap%2Fappmap-python%2Fissues%2F377
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%2Fgetappmap%2Fappmap-python%2Fissues%2F377
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=getappmap%2Fappmap-python
Reloadhttps://github.com/getappmap/appmap-python/issues/377
Reloadhttps://github.com/getappmap/appmap-python/issues/377
Reloadhttps://github.com/getappmap/appmap-python/issues/377
getappmaphttps://github.com/getappmap
appmap-pythonhttps://github.com/getappmap/appmap-python
Codehttps://github.com/getappmap/appmap-python
Issues51 (51)https://github.com/getappmap/appmap-python/issues
Pull requests6 (6)https://github.com/getappmap/appmap-python/pulls
Discussionshttps://github.com/getappmap/appmap-python/discussions
Actionshttps://github.com/getappmap/appmap-python/actions
Projectshttps://github.com/getappmap/appmap-python/projects
Wikihttps://github.com/getappmap/appmap-python/wiki
Security and qualityhttps://github.com/getappmap/appmap-python/security
Insightshttps://github.com/getappmap/appmap-python/insights
https://github.com/getappmap/appmap-python
New issuehttps://github.com/login?return_to=https://github.com/getappmap/appmap-python/issues/377
New issuehttps://github.com/login?return_to=https://github.com/getappmap/appmap-python/issues/377
Bughttps://github.com/getappmap/appmap-python/issues?q=type:"Bug"
Bug: OSError on Windows due to Invalid Filename Characters in ISO 8601 Timestampshttps://github.com/getappmap/appmap-python/issues/377#top
bugSomething isn't workinghttps://github.com/getappmap/appmap-python/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/dividedmind
dividedmindhttps://github.com/dividedmind
on Sep 12, 2025https://github.com/getappmap/appmap-python/issues/377#issue-3410788070
dividedmindhttps://github.com/dividedmind
bugSomething isn't workinghttps://github.com/getappmap/appmap-python/issues?q=state%3Aopen%20label%3A%22bug%22
on Sep 12, 2025https://github.com/getappmap/appmap-python/issues/377#event-19662763992
dividedmindhttps://github.com/dividedmind
Bughttps://github.com/getappmap/appmap-python/issues?q=type:"Bug"
on Sep 12, 2025https://github.com/getappmap/appmap-python/issues/377#event-19662764057
dividedmindhttps://github.com/dividedmind
on Jan 26, 2026https://github.com/getappmap/appmap-python/issues/377#event-22286945094
fix(recording): sanitize process recording filenames for Windowshttps://github.com/getappmap/appmap-python/commit/6196ab1e3f2ab71dc16d78a9bed41423de23577f
https://docs.github.com/articles/closing-issues-via-commit-messages
6196ab1https://github.com/getappmap/appmap-python/commit/6196ab1e3f2ab71dc16d78a9bed41423de23577f
fix(recording): sanitize process recording filenames for Windowshttps://github.com/getappmap/appmap-python/commit/ed76d19857dabeaf05df5cd2bdd94f346371c1ca
https://docs.github.com/articles/closing-issues-via-commit-messages
ed76d19https://github.com/getappmap/appmap-python/commit/ed76d19857dabeaf05df5cd2bdd94f346371c1ca
dividedmindhttps://github.com/dividedmind
completedhttps://github.com/getappmap/appmap-python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
eb0379fhttps://github.com/getappmap/appmap-python/commit/eb0379f133b6fe8c1f69a98f4259a67de5725c95
on Jan 28, 2026https://github.com/getappmap/appmap-python/issues/377#event-22352115340
appmap-releasebothttps://github.com/apps/appmap-releasebot
on Jan 31, 2026https://github.com/getappmap/appmap-python/issues/377#event-22427633865
chore(release): 2.1.9 [skip ci]https://github.com/getappmap/appmap-python/commit/8d1d34d362a14a3e2e850db43c01a29fd396a9db
8d1d34dhttps://github.com/getappmap/appmap-python/commit/8d1d34d362a14a3e2e850db43c01a29fd396a9db
chore(release): 2.1.9 [skip ci]https://github.com/getappmap/appmap-python/commit/54ee2a364bb6e4500d7b81d555ae64dc2dcb42bc
54ee2a3https://github.com/getappmap/appmap-python/commit/54ee2a364bb6e4500d7b81d555ae64dc2dcb42bc
Sign up for freehttps://github.com/signup?return_to=https://github.com/getappmap/appmap-python/issues/377
Sign in to commenthttps://github.com/login?return_to=https://github.com/getappmap/appmap-python/issues/377
bugSomething isn't workinghttps://github.com/getappmap/appmap-python/issues?q=state%3Aopen%20label%3A%22bug%22
Bughttps://github.com/getappmap/appmap-python/issues?q=type:"Bug"
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.