Neo-Store icon indicating copy to clipboard operation
Neo-Store copied to clipboard

Generate More Helpful Logs On Package Validation Failure

Open GfEW opened this issue 2 years ago • 4 comments

TLDR Tackling validation failures would profit a lot from Neo Store making use of proper error logging, providing easily searchable, comprehensible information on the failure.

When trying to update Cromite to v120.0.6099.199, the update downloads up to 100%, but then fails with the error notification Could not validate Cromite. Could not check integrity. I've emptied the cache of Neo Store, as well as restarted the app, to no avail.

Because no other of the other 20+ updates currently listed in my instance of Neo Store fail validation, and I've been able to update Cromite in Neo Store before, I have already filed a Cromite issue.

However, Neo Store's handling of this type of error leaves room for improvement.

I've searched App Manager's log viewer for various terms like "validat", "integr", "verif" or "cromi", to only find a few informatory entries about the ongoing package download or the processing NeoStore's notification, with no reference to the actual validation failure whatsoever.

Please, consider to log the affected package's name, download path and correct/failing key or checksum, it would make understanding the actual issue at hand much easier.

Am I missing something - is there a better place to look for the details, or are there different log search terms that would reveal more useful information? If so, please provide a suitable link somewhere in Neo Store's prefs.

Update 2024-01-11 20:16 Curiously enough, the update has succeeded by now (roughly on the 6th try, 30 h after first failure), before the maintainer of Cromite actually fixed anything. I haven't done anything I hadn't already done in the course of the repeatedly failing attempts, either. Ideas what's going on, anyone?

Side note: I'm not entirely sure where this "lack of error logging" originates and should be reported; Neo Store just seems to be the most likely candidate. Should it rather be some other app's fault, please let me know and feel free to close it here.

GfEW avatar Jan 09 '24 21:01 GfEW

I had this same error when installing Aegis https://github.com/beemdevelopment/Aegis/issues/1736

nalladev avatar Nov 25 '25 07:11 nalladev

I had this same error when installing Aegis beemdevelopment/Aegis#1736

@nalladev It should be noted that your report was expressly closed with reason: "Please report this issue to NeoStore", which is to say: Regardless of the specific reason a package validation fails in NeoStore, there's nothing the package maintainer can do to fix the lack of insight. I can only second that - it's solely up to NeoStore to improve on its logging behavior.

GfEW avatar Nov 28 '25 22:11 GfEW

@GfEW Got it, thanks. I’ll keep the discussion here.

nalladev avatar Nov 29 '25 15:11 nalladev

Guess this is a TODO for the next minor release

machiav3lli avatar Dec 12 '25 23:12 machiav3lli