getappmap / getappmap/appmap-python

Bug: AppMap Python (v2.1.8) Recording Fails - CLI No Output (Win, Py 3.12/3.9)

Open
#376 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
104
Forks
17
PR merge metrics
No merged PRs in 30d

Description

Using the default procedures I installed the Extension,
init a venv for 3.12 - 3.9, tried venv and uv
installed appmap,
ran appmap-python script.py

CLI (appmap-python --record process): Produces no output files

was expecting it to be a global env issue, but i tried it on 2 other devices and the result was the same

appmap.yml

name: ReproApp
language: python
appmap_dir: tmp/appmap
packages:

  • path: newscript

appmap.log

[2025-03-31 19:51:22,149] INFO _appmap.configuration: file: C:\Users\OSAMA\projects\dj\appmap.yml
[2025-03-31 19:51:22,150] INFO _appmap.configuration: config: [{"path": "newscript"}]

[2025-03-31 19:51:22,150] INFO _appmap.configuration: env: environ({'ALLUSERSPROFILE': 'C:\ProgramData', 'APPDATA': 'C:\Users\OSAMA\AppData\Roaming', 'APPMAP': 'true', 'CHOCOLATEYINSTALL': 'C:\ProgramData\chocolatey', 'CHOCOLATEYLASTPATHUPDATE': '133853002199109522', 'CHROME_CRASHPAD_PIPE_NAME': '\\.\pipe\crashpad_11868_RPIEDKXKTBSKELRL', 'COMMONPROGRAMFILES': 'C:\Program Files\Common Files', 'COMMONPROGRAMFILES(X86)': 'C:\Program Files (x86)\Common Files', 'COMMONPROGRAMW6432': 'C:\Program Files\Common Files', 'COMPUTERNAME': 'SecHex-327L11J', 'COMSPEC': 'C:\Windows\system32\cmd.exe', 'DRIVERDATA': 'C:\Windows\System32\Drivers\DriverData', 'HOMEDRIVE': 'C:', 'HOMEPATH': '\Users\OSAMA', 'LOCALAPPDATA': 'C:\Users\OSAMA\AppData\Local', 'LOGONSERVER': '\\SecHex-327L11J', 'NUMBER_OF_PROCESSORS': '4', 'ONEDRIVE': 'C:\Users\OSAMA\OneDrive', 'ONEDRIVECONSUMER': 'C:\Users\OSAMA\OneDrive', 'ORIGINAL_XDG_CURRENT_DESKTOP': 'undefined', 'OS': 'Windows_NT', 'PATH': 'C:\Users\OSAMA\projects\dj\venv38\Scripts;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files\nodejs\;C:\Program Files\Git\cmd;C:\Users\OSAMA\AppData\Local\Microsoft\WindowsApps;C:\Users\OSAMA\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\OSAMA\AppData\Roaming\npm;C:\Users\OSAMA\.dotnet\tools;C:\Users\OSAMA\AppData\Local\Programs\Windsurf\bin', 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL', 'PROCESSOR_ARCHITECTURE': 'AMD64', 'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 78 Stepping 3, GenuineIntel', 'PROCESSOR_LEVEL': '6', 'PROCESSOR_REVISION': '4e03', 'PROGRAMDATA': 'C:\ProgramData', 'PROGRAMFILES': 'C:\Program Files', 'PROGRAMFILES(X86)': 'C:\Program Files (x86)', 'PROGRAMW6432': 'C:\Program Files', 'PSMODULEPATH': 'C:\Users\OSAMA\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules', 'PUBLIC': 'C:\Users\Public', 'SESSIONNAME': 'Console', 'SYSTEMDRIVE': 'C:', 'SYSTEMROOT': 'C:\Windows', 'TEMP': 'C:\Users\OSAMA\AppData\Local\Temp', 'TMP': 'C:\Users\OSAMA\AppData\Local\Temp', 'USERDOMAIN': 'SecHex-327L11J', 'USERDOMAIN_ROAMINGPROFILE': 'SecHex-327L11J', 'USERNAME': 'OSAMA', 'USERPROFILE': 'C:\Users\OSAMA', 'VIRTUAL_ENV': 'C:\Users\OSAMA\projects\dj\venv38', 'WINDIR': 'C:\Windows', 'PAGER': 'cat', 'TERM_PROGRAM': 'vscode', 'TERM_PROGRAM_VERSION': '1.94.0', 'LANG': 'en_US.UTF-8', 'COLORTERM': 'truecolor', 'GIT_ASKPASS': 'c:\Users\OSAMA\AppData\Local\Programs\Windsurf\resources\app\extensions\git\dist\askpass.sh', 'VSCODE_GIT_ASKPASS_NODE': 'C:\Users\OSAMA\AppData\Local\Programs\Windsurf\Windsurf.exe', 'VSCODE_GIT_ASKPASS_EXTRA_ARGS': '', 'VSCODE_GIT_ASKPASS_MAIN': 'c:\Users\OSAMA\AppData\Local\Programs\Windsurf\resources\app\extensions\git\dist\askpass-main.js', 'VSCODE_GIT_IPC_HANDLE': '\\.\pipe\vscode-git-1896f3f8a6-sock', 'VSCODE_INJECTION': '1', '_OLD_VIRTUAL_PATH': 'C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files\nodejs\;C:\Program Files\Git\cmd;C:\Users\OSAMA\AppData\Local\Microsoft\WindowsApps;C:\Users\OSAMA\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\OSAMA\AppData\Roaming\npm;C:\Users\CRUISE\.dotnet\tools;C:\Users\OSAMA\AppData\Local\Programs\Windsurf\bin', '_APPMAP': 'true', '_APPMAP_DISPLAY_PARAMS': 'false'})

[2025-03-31 19:51:22,166] INFO _appmap.env: appmap enabled: True

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the report on Windows using the shown appmap.yml, a Python 3.9 or 3.12 environment, and appmap-python --record process; inspect appmap.log for the configuration and recording path. Done means the CLI reports a recording result and creates the expected files under tmp/appmap.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.