Closed holta closed 2 weeks ago
Please upgrade IIAB Calibre-Web to use the latest xklb (underlying media library). A fix was shipped quickly by its author.
Confirmed! Woohoo!
"Tasks" view needs clear English error messages in coming months!
Articulating which precondition/assumption was violated (in English!)
Supplemented with diagnostic detail or relevant/insightful error message (whenever realistic!)
IN SHORT: Context, not vague error messages (which kind of error at minimum! hint at probable cause[s] when possible!)
Regardless of the particulars of the xklb 2.9.021 regression (below) that caused this ticket's problem: (now fixed as part of xklb 2.9.022 or 2.9.023!)
lb dl
creates a duplicate record that uses only 3 columns (time_modified
, path
and the new download_attempts
).
When --search
was used, only the duplicate row was kept.
Related:
Also confirmed with a fresh install of the very latest IIAB using the very latest Raspberry Pi OS, on a Raspberry Pi 400 (all attempts to download individual videos appear to fail, in this same way).
So here's just one example ("'NoneType' object is not subscriptable") when trying to download https://youtu.be/3-bLf_nRx58 using LRN2 button "Download to IIAB"
Secondarily, all IIAB Calibre-Web errors will need to contain clear English in future — explaining roughly what appears to be failing and approximately why. (If technical diagnostics are also included in Calibre-Web's Tasks view even better, to help contextualize + accelerate meaningful debugging!)
A short English explanation is all that's needed initially — outlining what high-level category of error is occurring + contextualizing broken preconditions (i.e. broken assumptions) insofar as possible — so community debugging becomes increasingly Much More Efficient. 💯
Two iiab-diagnostics https://paste.centos.org/view/a6fc55a5 excerpts are pasted in below to help our understanding...
/var/log/calibre-web.log excerpt:
/var/log/xklb.log excerpt:
Issues also mentioning to "'NoneType' object is not subscriptable":
114
135
164
167
171
186
188
215
222