Skip to content

Bug: AutoCLI bilibili command fails when YouMind browser extension is installed #41

@YZDame

Description

@YZDame

Bug: AutoCLI bilibili command fails when YouMind browser extension is installed

Description

When the YouMind browser extension is enabled, autocli bilibili commands fail with a 422 error indicating a conflict between Chrome extensions.

Steps to reproduce

  1. Install YouMind Chrome extension (v0.3.0.24)
  2. Install AutoCLI browser extension
  3. Run autocli bilibili hot --limit 20

Expected behavior

Command should succeed, or show a clear error message explaining the extension conflict.

Actual error

HTTP 422 Unprocessable Entity: {"error":"attach failed: Cannot access a chrome-extension:// URL of different extension. Tip: another Chrome extension may be interfering — try disabling other extensions","id":"2a1ae0dd-1a66-43cd-a49b-8b53db58a6ed","ok":false}

Environment

  • OS: macOS
  • Chrome: 147.0.7727.57
  • AutoCLI: 0.3.7
  • YouMind extension: 0.3.0.24

Suggestion

Either:

  1. Detect the conflict upfront and show a clear user message
  2. Document the incompatibility in the README
  3. Add a flag to force execution without browser extension

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions