papis / papis-zotero

Zotero compatibility layer for papis
GNU General Public License v3.0
75 stars 17 forks source link

papis open #29

Closed Halem998 closed 1 year ago

Halem998 commented 1 year ago

when entering papis open the expected behaviour is to get a list of the whole database entries ( as I enjoy having it on arch) Now on MacOS I get an error stating [WARNING] commands.list: No documents retrieved.

my config looks like this

[papers]
dir = ~/Documents/mypapers

[settings]
whoosh-schema-fields = ['author', 'year', 'project', 'title']
database-backend = whoosh
default-library = papers
add-edit = True
add-confirm = True
add-folder-name = {doc[author_list][0][family]} - {doc[title]}
add-file-name = {doc[author_list][0][family]} - {doc[title]} -{doc[year]}
editor = nvim
use-cache = False

[tui]
editmode = nvim

not sure what I'm missing here. BTW when specifying the command with, say , papis open 'author:chomsky' I actually get a nice result list.

Thanks!

alexfikl commented 1 year ago

Does this do what you want

papis open '*'

? If yes, it seems like there's a mismatch in the default query string and you may want to add

default-query-string = "*"

to your configuration. Otherwise, I'm not quite sure what could be wrong if specifying a query works just fine :confused:

Halem998 commented 1 year ago

yes! it worked. still a long way to go. so much to unravel. :) thanks again