'calibredb catalog' options broken: --ids and --search
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
For example: `calibredb catalog --ids 1 out.xml` fails with the following error.
```
Traceback (most recent call last):
File "/usr/bin/
sys.
File "/usr/lib/
return run_cmd(cmd, opts, args[1:], DBCtx(opts))
File "/usr/lib/
ret = m.main(opts, args, dbctx)
File "/usr/lib/
plugin.
File "/usr/lib/
data = self.search_
File "/usr/lib/
if opts.sort_by:
AttributeError: 'Values' object has no attribute 'sort_by'
```
`calibredb catalog --search "language:english" out.xml` also fails with the same error.
Version: calibre 5.34
OS: Linux
Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.
status fixreleased