hermes - 💡(How to fix) Fix Add lark-oapi to project dependencies or document as upgrade requirement [1 pull requests]

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…

Error Message

ERROR gateway.run: Gateway failed to connect any configured messaging platform

Fix Action

Fixed

Code Example

WARNING gateway.run: Feishu: lark-oapi not installed
WARNING gateway.run: No adapter available for feishu
ERROR gateway.run: Gateway failed to connect any configured messaging platform
RAW_BUFFERClick to expand / collapse

Suggestion

Add lark-oapi to pyproject.toml dependencies, or at minimum document it as a required post-upgrade step in the release notes.

Problem

The Feishu platform adapter (gateway/platforms/feishu.py) requires lark-oapi at runtime (import check at line 112-114). However, lark-oapi is NOT listed in pyproject.toml's dependencies. It is a runtime-only requirement detected via ImportError.

When upgrading from v0.12.0 to v0.13.0 (e.g. in-place source replacement in Docker), the new dependency is missing. The Gateway logs:

WARNING gateway.run: Feishu: lark-oapi not installed
WARNING gateway.run: No adapter available for feishu
ERROR gateway.run: Gateway failed to connect any configured messaging platform

This causes the Gateway to start with zero connected platforms and exit.

Suggested Fix

  1. Add lark-oapi to pyproject.toml dependencies (cleanest)
  2. Or add a note in RELEASE_

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

hermes - 💡(How to fix) Fix Add lark-oapi to project dependencies or document as upgrade requirement [1 pull requests]