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

[Config Import Error] e.toISOString is not a function #5499

Open
18377592591 opened this issue Jan 18, 2025 · 2 comments
Open

[Config Import Error] e.toISOString is not a function #5499

18377592591 opened this issue Jan 18, 2025 · 2 comments
Labels
🐛 Bug Something isn't working | 缺陷

Comments

@18377592591
Copy link

{
  "code": "ImportError",
  "httpStatus": 0,
  "message": "e.toISOString is not a function"
}
@lobehubbot
Copy link
Member

👀 @18377592591

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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

Copy link

dosubot bot commented Jan 18, 2025

Hey @18377592591! 👋 I'm here to help you with any bugs, questions, or contributions. Let's squash those bugs together!

The error "e.toISOString is not a function" is a known issue in LobeChat v1.37.2. It occurs due to an incompatibility between the pglite export solution and the regular import/export functionality. This problem is related to date handling in the exported configuration files, particularly when importing newly exported configurations like "Export all assistants and messages" or "Export global settings" [1][2].

The development team is aware of this issue and is working on a new data import/export implementation to address the compatibility between Postgres and Pglite databases. Currently, there is no immediate fix available [3][4][5].

To continue talking to Dosu, mention @dosu.


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

@dosubot dosubot bot added the 🐛 Bug Something isn't working | 缺陷 label Jan 18, 2025
@github-project-automation github-project-automation bot moved this to Roadmap - Chat 1.x in Lobe Chat Routine Jan 18, 2025
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

2 participants