Code Monkey home page Code Monkey logo

Comments (16)

rocksdanister avatar rocksdanister commented on July 17, 2024 1

Looks like that's it!
I emptied the file & its crashing when trying to set the application language to null!

The config file is becoming null, Json.NET is not throwing an error and simply setting the configuration variable as null.

Adding this line fixed it, default value fro contructor is loaded:
if(config == null) config = new ConfigFile();

config = (ConfigFile)serializer.Deserialize(file, typeof(ConfigFile));

As to why the config file is getting corrupted/empty? I'm not sure.
I'll rewrite the data loading/writing code and try to push the update ASAP! .. as a quick fix I'll just load the default value if config is corrupt/empty.

from lively.

rocksdanister avatar rocksdanister commented on July 17, 2024 1

Added some mitigation in latest release v0.9.5.5

There is a backup save file, if main file is corrupt switches to it; if backup file is also corrupted then revert to default values.

I suspect the issue is windows not listening to shutdown delay command sent by lively (lively writes to save file on exit to indicate whether its closed properly. )

Might want to indicate this using a different approach in the future.

from lively.

rocksdanister avatar rocksdanister commented on July 17, 2024

Judging by the title I'm guessing lively is not opening after install and not just windows startup ?

Do you have any anti-virus software installed? It might be messing with it.

from lively.

R4ver avatar R4ver commented on July 17, 2024

I've noticed this happening as well after recent windows update.
Tried to update to the latest version of Lively to see if that fixed the issue, but we still got no luck sadly. Seems like our boi Windows is not too happy with something

Version: 1909
OS Build: 18363.720

from lively.

rocksdanister avatar rocksdanister commented on July 17, 2024

I'll try updating and check, I'm currently on 1903.

from lively.

rocksdanister avatar rocksdanister commented on July 17, 2024

Working fine for me on 1909 build 18363.720.
What does the logfile say?

from lively.

R4ver avatar R4ver commented on July 17, 2024

Fun thing, no error logs written? Last error log I have is from the 7th
20200408_180817.txt

The process starts, but shortly after it dies without anything popping up

from lively.

rocksdanister avatar rocksdanister commented on July 17, 2024

Error log is a copy of logfile.txt when lively is crashed.
Open lively, set a wallpaper, close lively.
Navigate to Documents/Lively Wallpaper/
Share the logfile.txt file.

from lively.

rocksdanister avatar rocksdanister commented on July 17, 2024

Maybe this issue is related: #42

from lively.

R4ver avatar R4ver commented on July 17, 2024

Hi! Sorry for the late answer!

I've checked again to see if anything has been updated in the logfile.txt when trying to launch Lively, but nothing new is added eg. for this day.

Last entries are from 2020-04-10
logfile.txt

from lively.

rocksdanister avatar rocksdanister commented on July 17, 2024

Can you verify the checksum of all files and compare it with a fresh one?

from lively.

R4ver avatar R4ver commented on July 17, 2024

So I think I've narrowed down the problem! I reinstalled and removed everything in the documents/Lively folder where the config n stuff i saved and apparently my config file before the reinstall was empty.

Upon trying to remove everything from the newly created config file, it stopped working again and behaved as the issue we've had. So I guess somehow the config just died?

Small edit: The specific file I'm mentioning is Lively Wallpaper/SaveData/lively_config.json

from lively.

TechnoFynch avatar TechnoFynch commented on July 17, 2024

I think this problem may also arise if you updated your .Net core. Like, before I updated my core to the latest release lively was working properly, but now it wont launch. I think during installing lively requests the install of a specific version of .Net core.

from lively.

kevintamir avatar kevintamir commented on July 17, 2024

Sorry to post on a dead thread lol

I'm on 1909 (build 18363.1556) on W10 pro. After several reinstallations and restarting my computer, Lively just refuses to open on my desktop. It's on my taskbar and everything but pressing Open Lively doesn't open anything at all, nor does any other button.

image

I installed on 2.0.0.0 of lively so the config file shouldn't be the issue, but I don't know about anything about the .Net core that Comik-Storm mentioned. If the .Net core is the problem, can someone please tell me how I would solve it?

EDIT: here are the logs in a paste bin https://pastebin.com/imJddL16. It does say taskbar x is the issue, but after unloading it on rainmeter, it still doesn't work. Exiting rainmeter completely also does not work.

from lively.

rocksdanister avatar rocksdanister commented on July 17, 2024

@kevintamir try the Windows store version:
https://www.microsoft.com/store/apps/9NTM2QC6QWS7

from lively.

kevintamir avatar kevintamir commented on July 17, 2024

Yep, the store version works. Thanks

from lively.

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.