Comments (9)
Fix in 85dc26c * master origin/master Fix bug comments that have new lines can not be decode.
from calibredb.el.
I encountered the same error. It would be better to use emacsql-sqlite for accessing the sqlite database.
from calibredb.el.
I found the same issue, it is because some books' comments have new line charaters, the split-string function did not work. Sorry about that, I will fix them asap.
from calibredb.el.
I encountered the same error. It would be better to use emacsql-sqlite for accessing the sqlite database.
I checked emacssql-sqlite
, it seems can not decode some tables of calibredb metadata.db, for example the name
column in data
table. Any other better solutions?
from calibredb.el.
I'm sorry for that. EmacsQL wasn't suitable for the purpose:
EmacSQL is not intended to interact with arbitrary databases. All text values must be stored as printed s-expressions.
Rather than directly interacting with the database, why not use calibredb
command to query the library? You can use the following command to get items in one's library in JSON:
calibredb list --for-machine [--with-library=DIR]
from calibredb.el.
It's already been fixed. Thanks.
Why don't you close this issue?
from calibredb.el.
Oh... I thought you could close the issue. Sorry for that.
from calibredb.el.
I'm sorry for that. EmacsQL wasn't suitable for the purpose:
EmacSQL is not intended to interact with arbitrary databases. All text values must be stored as printed s-expressions.
Rather than directly interacting with the database, why not use
calibredb
command to query the library? You can use the following command to get items in one's library in JSON:calibredb list --for-machine [--with-library=DIR]
Changing tocalibredb --list
could be next TODO item.
from calibredb.el.
Changing tocalibredb --list could be next TODO item.
I don't think it's necessary. It's already working, and calibredb list
doesn't produce sufficient information for the current features of this package. Thanks.
from calibredb.el.
Related Issues (20)
- 发现有calibredb-conver书本格式转换命令是否可以使用? HOT 3
- error: (wrong-type-argument sequencep calibredb-virtual-library-alist)
- Windows 10 - Issue with spaces in path? HOT 6
- wrong-type-argument stringp nil HOT 1
- 生成的catelog.bib内容为空 HOT 1
- Lisp Error when `calibre-show-metadata` HOT 6
- `calibredb-fetch-and-set-metadata-by-isbn` does not work on Windows HOT 4
- Books exported to kindle without cover HOT 1
- org-ref:Version 3 has eliminated all the org-ref-* variables
- 使用calibredb-export-convert-epub-dispatch导出电子书失败
- How to set a virtual library for untagged entries?
- Is it possible to specify a default path when runing calibredb-add or calibredb-add-dir? HOT 1
- Keybindings don't work in evil-mode (even when evil-mode is set to `evil-emacs-state`) HOT 1
- Re-order columns HOT 3
- Add "calibredb-library-manipulated-hook" for users of BibTeX or related formats
- error: (wrong-type-argument char-or-string-p nil) every time I try to start calibredb HOT 1
- (wrong-type-argument char-or-string-p nil) error when the book dir is empty HOT 3
- adding to specific library, did the command options change?
- Display of multiple authors
- icons not right HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from calibredb.el.