Skip to content

[Bug]please provide both the library ID and the library type #85

@Bili-Sakura

Description

@Bili-Sakura
Run uv run main.py --debug
  uv run main.py --debug
  shell: /usr/bin/bash -e {0}
  env:
    UV_CACHE_DIR: /home/runner/work/_temp/setup-uv-cache
    ZOTERO_ID: 
    ZOTERO_KEY: 
    ZOTERO_IGNORE: 
    ARXIV_QUERY: 
    SEND_EMPTY: 
    SMTP_SERVER: 
    SMTP_PORT: 
    SENDER: 
    RECEIVER: 
    SENDER_PASSWORD: 
    MAX_PAPER_NUM: 
    USE_LLM_API: 
    OPENAI_API_KEY: 
    OPENAI_API_BASE: 
    MODEL_NAME: 
    LANGUAGE: 
Using CPython 3.11.10
Creating virtual environment at: .venv
Installed 66 packages in 262ms
2025-07-25 10:40:51.510 | DEBUG    | __main__:<module>:152 - Debug mode is on.
Traceback (most recent call last):
2025-07-25 10:40:51.510 | INFO     | __main__:<module>:157 - Retrieving Zotero corpus...
  File "/home/runner/work/zotero-arxiv-daily/zotero-arxiv-daily/main.py", line 158, in <module>
    corpus = get_zotero_corpus(args.zotero_id, args.zotero_key)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/work/zotero-arxiv-daily/zotero-arxiv-daily/main.py", line 20, in get_zotero_corpus
    zot = zotero.Zotero(id, 'user', key)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/work/zotero-arxiv-daily/zotero-arxiv-daily/.venv/lib/python3.11/site-packages/pyzotero/zotero.py", line 276, in __init__
    raise ze.MissingCredentials(
pyzotero.zotero_errors.MissingCredentials: Please provide both the library ID and the library type
Error: Process completed with exit code 1.

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