Code Monkey home page Code Monkey logo

Comments (7)

nwesterhausen avatar nwesterhausen commented on August 21, 2024 1

I'm working on switching to LiteDB to store the records using that tool, since rolling my own has been pretty fragile. It's probably 90% integrated right now, just some testing and polish left for it.

I think the reason it failed to write the entire file is because it's set to do it async in another task and could fail/have issue and not really be evident.

from valheim-discordconnector.

nwesterhausen avatar nwesterhausen commented on August 21, 2024 1

With the LiteDB change (plugin version 1.5.0+), this issue should be resolved.

from valheim-discordconnector.

nwesterhausen avatar nwesterhausen commented on August 21, 2024

Can you provide the records.json file? Something went wrong when it's trying to read that

from valheim-discordconnector.

maxfield-allison avatar maxfield-allison commented on August 21, 2024

absolutely, in the meantime I'll reset it. renamed to .txt for github
records.txt

from valheim-discordconnector.

nwesterhausen avatar nwesterhausen commented on August 21, 2024

Looks like it ended up not writing the full file at some point -- its invalid JSON and that's causing the error I believe

from valheim-discordconnector.

nwesterhausen avatar nwesterhausen commented on August 21, 2024

I will have to somehow guarantee I write all the JSON or come up with an alternative for storing the records.

from valheim-discordconnector.

maxfield-allison avatar maxfield-allison commented on August 21, 2024

I think it may be related to the records all being stored in a single line. also, perhaps yaml?

from valheim-discordconnector.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.