Skip to content

报错了,作者 #1

@IdealYth

Description

@IdealYth

报错了
`[INFO][2024-09-17 15:17:40][safeprompts.py:75] - [Safeprompts] Reply has been replaced to image: /root/chatgpt-on-wechat/plugins/safeprompts/images/示例表情包.gif.
[ERROR][2024-09-17 15:17:40][chat_channel.py:291] - [chat_channel] sendMsg error: 'str' object has no attribute 'seek'
[ERROR][2024-09-17 15:17:40][chat_channel.py:294] - 'str' object has no attribute 'seek'
Traceback (most recent call last):
File "/root/chatgpt-on-wechat/channel/chat_channel.py", line 289, in _send
self.send(reply, context)
File "/root/chatgpt-on-wechat/channel/wechat/wechat_channel.py", line 252, in send
image_storage.seek(0)
AttributeError: 'str' object has no attribute 'seek'
[ERROR][2024-09-17 15:17:43][chat_channel.py:291] - [chat_channel] sendMsg error: 'str' object has no attribute 'seek'
[ERROR][2024-09-17 15:17:43][chat_channel.py:294] - 'str' object has no attribute 'seek'
Traceback (most recent call last):
File "/root/chatgpt-on-wechat/channel/chat_channel.py", line 289, in _send
self.send(reply, context)
File "/root/chatgpt-on-wechat/channel/wechat/wechat_channel.py", line 252, in send
image_storage.seek(0)
AttributeError: 'str' object has no attribute 'seek'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/root/chatgpt-on-wechat/channel/chat_channel.py", line 289, in _send
self.send(reply, context)
File "/root/chatgpt-on-wechat/channel/wechat/wechat_channel.py", line 252, in send
image_storage.seek(0)
AttributeError: 'str' object has no attribute 'seek'
[ERROR][2024-09-17 15:17:49][chat_channel.py:291] - [chat_channel] sendMsg error: 'str' object has no attribute 'seek'
[ERROR][2024-09-17 15:17:49][chat_channel.py:294] - 'str' object has no attribute 'seek'
Traceback (most recent call last):
File "/root/chatgpt-on-wechat/channel/chat_channel.py", line 289, in _send
self.send(reply, context)
File "/root/chatgpt-on-wechat/channel/wechat/wechat_channel.py", line 252, in send
image_storage.seek(0)
AttributeError: 'str' object has no attribute 'seek'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/root/chatgpt-on-wechat/channel/chat_channel.py", line 289, in _send
self.send(reply, context)
File "/root/chatgpt-on-wechat/channel/wechat/wechat_channel.py", line 252, in send
image_storage.seek(0)
AttributeError: 'str' object has no attribute 'seek'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/root/chatgpt-on-wechat/channel/chat_channel.py", line 289, in _send
self.send(reply, context)
File "/root/chatgpt-on-wechat/channel/wechat/wechat_channel.py", line 252, in send
image_storage.seek(0)
AttributeError: 'str' object has no attribute 'seek'

`

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