Skip to content

Chat history corrupted data #169

Description

@Python1320

OS: Windows
Most of history is missing and what exists has been corrupted.
Image

Image

Likely related to opening the history file twice:

local file_name = ("%s/%s_history.txt"):format(HISTORY_DIRECTORY, name:lower())
local file_handles = history_file_handles[name]
if not file_handles then
file_handles = {
input = file.Open(file_name, "w", "DATA"),
output = file.Open(file_name, "r", "DATA"),
}
(opening for write also truncates immediately).

Testing on meta3 with cf11022

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