Closed ram535 closed 3 years ago
Are you using Master or Develop branch?
When is your last update?
Try to use :config rather than :custom,
(use-package calibredb
:defer t
:init
(autoload 'calibredb "calibredb")
:config
(setq calibredb-root-dir "~/OneDrive/Org/Doc/Calibre")
(setq calibredb-db-dir (expand-file-name "metadata.db" calibredb-root-dir))
(setq calibredb-library-alist '(("~/OneDrive/Org/Doc/Calibre")
("~/Documents/Books Library")
("~/Documents/LIB1")
("/Volumes/ShareDrive/Documents/Library/"))))
I replaced the code as you suggested and everything works fine now.
(use-package calibredb
:init
(autoload 'calibredb "calibredb")
:config
(setq calibredb-author-width 0)
(setq calibredb-id-width 0)
(setq calibredb-comment-width 0)
(setq sql-sqlite-program "~/bin/sqlite/sqlite3")
(setq calibredb-root-dir "~/Documents/books")
(setq calibredb-db-dir (expand-file-name "metadata.db" calibredb-root-dir))
(setq calibredb-program "/usr/bin/calibredb")
(setq calibredb-library-alist '(("~/Documents/books")
("~/Documents/articles"))))
I wonder why it did not work with the :custom
keyword.
In new updates, calibredb-db-dir
will be automatically set by calibredb-root-dir
during initialization, so that users don't need to set calibredb-db-dir
by themself. However, if use :custom
, may overwrite this feature.
Everything was working fine before the update.
I got this error after updating the package.
This is the output of
emacs -degub-init
.Emacs version.
My configuration.