Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] PC端无法加载 从手机端导入的、带图片的对话记录 #5130

Open
Henry-Suen opened this issue Dec 22, 2024 · 7 comments
Open
Labels
🐛 Bug Something isn't working | 缺陷

Comments

@Henry-Suen
Copy link

📦 部署环境

Vercel

📌 软件版本

1.36.46

💻 系统环境

Windows, iOS

🌐 浏览器

Edge, Safari

🐛 问题描述

在safari上使用手机页面对话后,再使用导出全部信息,在PC上导入后。无法加载带有图片输入的对话,始终处于一个加载动画中。
这里不是指图片无法显示,而是整个对话都不显示。
无图片纯文本的对话正常。
image

📷 复现步骤

先使用手机端带图完成一个对话。导出后用PC段导入查看

🚦 期望结果

能够至少正常显示对话的文字。不

📝 补充信息

No response

@Henry-Suen Henry-Suen added the 🐛 Bug Something isn't working | 缺陷 label Dec 22, 2024
@github-project-automation github-project-automation bot moved this to Roadmap - Chat 1.x in Lobe Chat Routine Dec 22, 2024
@lobehubbot
Copy link
Member

👀 @Henry-Suen

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


📦 Deployment environment

Vercel

📌 Software version

1.36.46

💻 System environment

Windows, iOS

🌐 Browser

Edge, Safari

🐛 Problem description

After using the mobile page to chat on safari, use it to export all the information and import it on the PC. Conversations with image input cannot be loaded, always stuck in a loading animation.
This does not mean that the picture cannot be displayed, but that the entire conversation is not displayed.
Conversations with no pictures and plain text are normal.
image

📷 Steps to reproduce

First use the mobile phone to complete a conversation with pictures. After exporting, use PC segment to import and view

🚦 Expected results

Able to at least display the text of the dialogue normally. No

📝 Supplementary information

No response

Copy link

dosubot bot commented Dec 22, 2024

@Henry-Suen 你好!我是Dosu,我是一个可以帮助你解决bug、回答问题,并成为贡献者的机器人。我会在这里帮助你,等待人类维护者的到来。

The issue you're experiencing seems to be related to the handling of conversation data with images when importing from a mobile device to a PC. The error message "Zero-sized element, this should not happen" might be a clue to the underlying problem, but unfortunately, I couldn't find specific information about this error in the repository.

Here are a few steps you might consider to troubleshoot or address the issue:

  1. Check for Updates: Ensure that both the mobile and PC versions of the application are updated to the latest version. Sometimes, bugs are fixed in newer releases.

  2. Inspect Console Errors: The console errors you mentioned could provide more insight. Look for any specific error messages or stack traces that might indicate where the problem is occurring in the code.

  3. Image Handling: Since the issue is specific to conversations with images, there might be a problem with how images are processed or rendered. Verify if there are any known issues with image handling in the current version you are using.

  4. Cross-Platform Data Handling: There are known limitations with cross-platform data handling, especially when using WebRTC for synchronization. Consider using a more stable server database synchronization solution if available [1][2].

  5. Debugging: If you have access to the code, you might want to add additional logging or debugging to the import process to see where it might be failing, especially around the handling of images.

If these steps do not resolve the issue, you might need to look deeper into the specific implementation details or consider reaching out to other developers who might have encountered similar issues.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

@arvinxx
Copy link
Contributor

arvinxx commented Dec 22, 2024

发一个导出对话的示例看看?

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Can you post an example of exporting a conversation?

@Henry-Suen
Copy link
Author

发一个导出对话的示例看看?

LobeChat-Assistant -session-v7.json

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Can you post an example of exporting a conversation?

LobeChat-Assistant -session-v7.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working | 缺陷
Projects
Status: Roadmap - Chat 1.x
Development

No branches or pull requests

3 participants