Undocumented cardinality search broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I while ago someone created the ability to make a search like "tags:#3" to find books with at least 3 tags. This search was never added to the manual so I don't know if it's officially available, but using it currently gives me
"calibre, version 0.7.57
ERROR: Unhandled exception: <b>UnboundLocal
Traceback (most recent call last):
File "H:\calibreDEV\
File "H:\calibreDEV\
File "H:\calibreDEV\
File "H:\calibreDEV\
File "H:\calibreDEV\
File "H:\calibreDEV\
File "H:\calibreDEV\
File "H:\calibreDEV\
File "H:\calibreDEV\
File "H:\calibreDEV\
File "H:\calibreDEV\
UnboundLocalError: local variable 'loc' referenced before assignment"
I would propose to either remove it completely or fix it and add it to the manual
Related branches
- Kovid Goyal: Pending requested
-
Diff: 17 lines (+5/-2)1 file modifiedsrc/calibre/library/caches.py (+5/-2)
Fix submitted.