claude-code - 💡(How to fix) Fix [BUG] bug: Claude Code plugins crash on Windows when user path contains accented characters [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#45432Fetched 2026-04-09 08:05:34
View on GitHub
Comments
0
Participants
1
Timeline
5
Reactions
0
Participants
Timeline (top)
labeled ×5

Error Message

Error Messages/Logs

Root Cause

Root cause: Python hooks inside plugins cannot handle non-ASCII characters (é, à, ü, etc.) in Windows paths (C:\Users\Kévin MARTIN.claude\plugins)

Code Example

Claude CLI exited with code 1: × Failed to install plugin "code-review@claude-code-plugins": 
Source path does not exist: C:\Users\Kévin MARTIN\.claude\plugins\marketplaces\claude-code-plugins\plugins\code-review

Root cause: Python hooks inside plugins cannot handle non-ASCII characters (é, à, ü, etc.) 
in Windows paths (C:\Users\Kévin MARTIN\.claude\plugins\)
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

bug: Claude Code plugins crash on Windows when user path contains accented characters

Environment:

OS: Windows 11 Pro Claude Code: VS Code extension User path: C:\Users\Kévin MARTIN.claude\plugins
Problem: Installing any plugin from the anthropics/claude-code marketplace causes Claude Code to crash completely when the Windows username contains accented characters (é, à, ü, etc.). The Python hooks inside plugins cannot handle non-ASCII characters in Windows paths.

Steps to reproduce:

Windows user account with accented character in username (e.g. "Kévin") Install any plugin via Manage Plugins → claude-code-plugins marketplace Claude Code crashes / becomes unresponsive Expected: Plugins work regardless of username characters Actual: Full crash, had to uninstall all plugins to recover

What Should Happen?

Plugins install and load correctly regardless of accented characters in the Windows username path.

Error Messages/Logs

Claude CLI exited with code 1: × Failed to install plugin "code-review@claude-code-plugins": 
Source path does not exist: C:\Users\Kévin MARTIN\.claude\plugins\marketplaces\claude-code-plugins\plugins\code-review

Root cause: Python hooks inside plugins cannot handle non-ASCII characters (é, à, ü, etc.) 
in Windows paths (C:\Users\Kévin MARTIN\.claude\plugins\)

Steps to Reproduce

  1. Have a Windows user account with an accented character in the username (e.g. "Kévin")
  2. Open Claude Code in VS Code
  3. Open Manage Plugins → add marketplace: https://raw.githubusercontent.com/anthropics/claude-code/main/.claude-plugin/marketplace.json
  4. Install any plugin (e.g. hookify, code-review)
  5. Claude Code crashes / freezes completely

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

Claude Code for VS Code v2.1.96

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

No response

extent analysis

TL;DR

Update the Python hooks inside plugins to handle non-ASCII characters in Windows paths.

Guidance

  • Verify the issue by checking the error logs for the "Source path does not exist" error and confirming that the Windows username contains accented characters.
  • Check the plugin installation code to ensure it properly encodes and decodes Windows paths.
  • Consider using a library that handles Unicode paths, such as pathlib or unicode-slug, to normalize the paths before passing them to the Python hooks.
  • Test the fix by installing a plugin on a Windows user account with an accented character in the username.

Example

import pathlib

# Normalize the path using pathlib
user_path = pathlib.Path("C:\\Users\\Kévin MARTIN\\.claude\\plugins\\")

Notes

The fix may require updating the Python hooks inside plugins to handle non-ASCII characters in Windows paths. The exact implementation will depend on the specific plugin code and the Anthropic API.

Recommendation

Apply a workaround by updating the Python hooks inside plugins to handle non-ASCII characters in Windows paths, as this is a regression and the previous version worked as expected.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING