[PR #764] [MERGED] fix: 修复 IMAP fetch 方法返回生成器导致的 TypeError #750

Closed
opened 2026-02-26 21:32:48 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dreamhunter2333/cloudflare_temp_email/pull/764
Author: @nightwhite
Created: 11/10/2025
Status: Merged
Merged: 11/10/2025
Merged by: @dreamhunter2333

Base: mainHead: patch-2


📝 Commits (1)

  • d2442cd fix: 修复 IMAP fetch 方法返回生成器导致的 TypeError

📊 Changes

1 file changed (+8 additions, -8 deletions)

View changed files

📝 smtp_proxy_server/imap_server.py (+8 -8)

📄 Description

修复了在 K8s 环境中运行时出现的错误:
File "/usr/local/lib/python3.12/site-packages/twisted/mail/imap4.py", line 1685, in __cbManualSearch
lastSequenceId = result and result[-1][0]
TypeError: 'generator' object is not subscriptable


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/dreamhunter2333/cloudflare_temp_email/pull/764 **Author:** [@nightwhite](https://github.com/nightwhite) **Created:** 11/10/2025 **Status:** ✅ Merged **Merged:** 11/10/2025 **Merged by:** [@dreamhunter2333](https://github.com/dreamhunter2333) **Base:** `main` ← **Head:** `patch-2` --- ### 📝 Commits (1) - [`d2442cd`](https://github.com/dreamhunter2333/cloudflare_temp_email/commit/d2442cdc2996d3b7bfa5c9098bdead8a4aae4bbb) fix: 修复 IMAP fetch 方法返回生成器导致的 TypeError ### 📊 Changes **1 file changed** (+8 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `smtp_proxy_server/imap_server.py` (+8 -8) </details> ### 📄 Description 修复了在 K8s 环境中运行时出现的错误: File "/usr/local/lib/python3.12/site-packages/twisted/mail/imap4.py", line 1685, in __cbManualSearch lastSequenceId = result and result[-1][0] TypeError: 'generator' object is not subscriptable --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 21:32:48 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cloudflare_temp_email#750
No description provided.