Giter Site home page Giter Site logo

Comments (11)

hyOzd avatar hyOzd commented on June 11, 2024

~/.config/serialplot/serialplot.conf should be the default config file of the app on ubuntu. If you delete it maybe you can open the app.

Can you share one of the ini files that crashes the application?

from serialplot.

hyOzd avatar hyOzd commented on June 11, 2024

Because you said application crashes after a few seconds, maybe it is crashing because of the update check. In the config file can you try setting update check to false:

[UpdateCheck]
lastCheck=2022-05-28
periodicCheck=false

from serialplot.

michaelalex94536 avatar michaelalex94536 commented on June 11, 2024

from serialplot.

michaelalex94536 avatar michaelalex94536 commented on June 11, 2024

from serialplot.

michaelalex94536 avatar michaelalex94536 commented on June 11, 2024

Just a follow-up and confirmation:

I started up another Ubuntu machine today and serial plot crashed like it did last night. But I then modified the config file, setting "periodicCheck=false" and rebooted the system, and now serialplot runs fine, just like it did on the other machine I am using. So the issue was seen on two systems and repaired on both using the same solution.

from serialplot.

michaelalex94536 avatar michaelalex94536 commented on June 11, 2024

Yikes! On my two Ubuntu systems today Serialplot crashed and I found that in the config file [UpdateCheck] section that the value of "periodicCheck" was once again set back to "true." I changed it back to "false" but after closing SerialPlot it was reset again to "true". I prevented any writing to the config file, but Serialplot doesn't close gracefully when you do this... Is there a way to insure this option always stays set to "false?"

Thanks,
Michael

from serialplot.

michaelalex94536 avatar michaelalex94536 commented on June 11, 2024

from serialplot.

hyOzd avatar hyOzd commented on June 11, 2024

I think application fails to read the periodicCheck field so it overwrites it with the default value. Can you make sure it looks like this:

periodicCheck=false

Update checks are disabled by default in the latest code, but it is not released yet. So you might try building from the latest source.

from serialplot.

hyOzd avatar hyOzd commented on June 11, 2024

Can you also make sure the Check updates periodically is checked off before closing the application.

from serialplot.

michaelalex94536 avatar michaelalex94536 commented on June 11, 2024

from serialplot.

michaelalex94536 avatar michaelalex94536 commented on June 11, 2024

Q: Can you also make sure the Check updates periodically is checked off before closing the application.

A: Yeah, I do this and it still crashes, even before I can gracefully close the application.

I don't understand. The problem is very time dependent. It went away for a few days after making sure periodicCheck=false is set in the config file, and this flag stayed false for a few days - I didn't need to edit the conf file anymore; I just looked at it to confirm the flag was set to false. This was the case on both of my systems. But now, the periodicCheck is being set to true once again starting from yesterday - on both systems. I think the update check should not even be an option in the config file. The user should manually click a button somewhere and make the update a manual operation, not occur behind the scenes and causing unexpected crashes. At least if I click an "update" button and the app crashes, I know - for some reason - to avoid clicking that button, and the app still works fine.

from serialplot.

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.