-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSON data at $HOME/.config/apdatifier/news.json is corrupted or broken and cannot be processed #92
Comments
If the file is truly empty (0B), this error cannot occur. Did it happen once, or does it happen constantly? |
It happens every time I dismiss the news and restart plasmashell. The file has just 2 lines |
Need to figure out when the JSON file breaks. Reproduce the same actions and keep an eye on the open file |
@exequtic the file breaks when news finish refreshing.
|
Reinstall with latest commit: Settings -> General -> Misc tab -> Install development version |
Still wipes the file. Installed dev version from the settings, restarted Plasma, dismissed all news, refreshed news, file wiped, the exit with code 1 after another Plasma restart still happens |
Could be due to an old news date format in your file. Added a check for it. |
Seems to be okay now 👍 |
I have all available news enabled. If I update the widget, so it gathers updates and news, then dismiss all news and restart plasmashell or the system, it'll send
Exit with error code 1
(or something like that) andJSON data at $HOME/.config/apdatifier/news.json is corrupted or broken and cannot be processed
. The news.json file in.config/apdatifier
is just empty. The widget is unusable until I remove the news.json and restart plasmashellMy config:
config.conf
The text was updated successfully, but these errors were encountered: