lmstudio-ai / lmstudio-bug-tracker

Bug tracking for the LM Studio desktop application
4 stars 3 forks source link

Cannot read properties of undefined (reading 'messages') #29

Closed Tzebruh closed 4 months ago

Tzebruh commented 4 months ago

Can't open the chat page. The error says Cannot read properties of undefined (reading 'messages')

yagil commented 4 months ago

@JustinBustin5 thanks, a few questions:

  1. which operating system?
  2. Which version of the app?
  3. Is this the first time you use the app, or is this a new issue after an update?
Tzebruh commented 4 months ago

@JustinBustin5 thanks, a few questions:

  1. which operating system?
  2. Which version of the app?
  3. Is this the first time you use the app, or is this a new issue after an update?

I am using Windows 10, LM Studio 0.2.23, and I had the issue before I updated. Sorry I didn't include that info.

yagil commented 4 months ago

Thanks, no worries.

We released 0.2.24 yesterday, do you mind giving it a try? https://lmstudio.ai

Tzebruh commented 4 months ago

It didn't work. Could a chat be corrupted or something?

yagil commented 4 months ago

It's possible. The chats are stored in ~/.cache/lm-studio/chats. As a quick experiment you could rename your chats directory to chats_backup, create a new chats folder and restart the app

Tzebruh commented 4 months ago

That fixed it. Thank you!