Skip to content

Error upon installation #47

@kirk86

Description

@kirk86

I just installed and got the following error:

bibsearch add bib://list
acl       The ACL Anthology [https://aclanthology.coli.uni-
          saarland.de/]
nips      The NIPS conference [https://nips.cc/]
pmlr      Proceedings of machine learning research (includes ICML)
          [http://proceedings.mlr.press/]
Traceback (most recent call last):
  File "/Users/user/miniconda3/bin/bibsearch", line 10, in <module>
    sys.exit(main())
  File "/Users/user/miniconda3/lib/python3.7/site-packages/bibsearch/bibsearch.py", line 758, in main
    args.func(args, config)
  File "/Users/user/miniconda3/lib/python3.7/site-packages/bibsearch/bibsearch.py", line 481, in _add
    else get_fnames_from_bibset(raw_fname, config.database_url)
  File "/Users/user/miniconda3/lib/python3.7/site-packages/bibsearch/bibsearch.py", line 345, in get_fnames_from_bibset
    name, description = line.split("\t")
ValueError: not enough values to unpack (expected 2, got 1)

It seems like line.split("\t") returns one value instead of two

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions