Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No new paper found #47

Open
yuxiangwei0808 opened this issue Jan 21, 2025 · 3 comments
Open

No new paper found #47

yuxiangwei0808 opened this issue Jan 21, 2025 · 3 comments

Comments

@yuxiangwei0808
Copy link

How to debug "no new paper found"? I tried to run the script but it cannot find any new paper (not because of weekends). I checked my Zotero account and the API key was used for the workflow run, and there is no error shown in the debug mode.

##[debug]Evaluating: secrets.ZOTERO_ID
##[debug]Evaluating Index:
##[debug]..Evaluating secrets:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'ZOTERO_ID'
##[debug]=> '***'
##[debug]Result: '***'
##[debug]Evaluating: secrets.ZOTERO_KEY
##[debug]Evaluating Index:
##[debug]..Evaluating secrets:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'ZOTERO_KEY'
##[debug]=> '***'
##[debug]Result: '***'
##[debug]Evaluating: secrets.ARXIV_QUERY
##[debug]Evaluating Index:
##[debug]..Evaluating secrets:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'ARXIV_QUERY'
##[debug]=> '***
##[debug]'
##[debug]Result: '***
##[debug]'
##[debug]Evaluating: secrets.SMTP_SERVER
##[debug]Evaluating Index:
##[debug]..Evaluating secrets:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'SMTP_SERVER'
##[debug]=> '***'
##[debug]Result: '***'
##[debug]Evaluating: secrets.SMTP_PORT
##[debug]Evaluating Index:
##[debug]..Evaluating secrets:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'SMTP_PORT'
##[debug]=> '***'
##[debug]Result: '***'
##[debug]Evaluating: secrets.SENDER
##[debug]Evaluating Index:
##[debug]..Evaluating secrets:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'SENDER'
##[debug]=> '***'
##[debug]Result: '***'
##[debug]Evaluating: secrets.RECEIVER
##[debug]Evaluating Index:
##[debug]..Evaluating secrets:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'RECEIVER'
##[debug]=> '***'
##[debug]Result: '***'
##[debug]Evaluating: secrets.SENDER_PASSWORD
##[debug]Evaluating Index:
##[debug]..Evaluating secrets:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'SENDER_PASSWORD'
##[debug]=> '***'
##[debug]Result: '***'
##[debug]Evaluating: secrets.MAX_PAPER_NUM
##[debug]Evaluating Index:
##[debug]..Evaluating secrets:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'MAX_PAPER_NUM'
##[debug]=> '***'
##[debug]Result: '***'
##[debug]Evaluating condition for step: 'Run script'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: Run script
##[debug]Loading inputs
##[debug]Loading env
Run uv run main.py
##[debug]/usr/bin/bash -e /home/runner/work/_temp/[2](https://github.com/yuxiangwei0808/zotero-arxiv-daily/actions/runs/12876264490/job/35954627382#step:4:2)0671f93-6f3f-4b6d-abc4-90ae19d05[3](https://github.com/yuxiangwei0808/zotero-arxiv-daily/actions/runs/12876264490/job/35954627382#step:4:3)4e.sh
Using CPython 3.11.10
Creating virtual environment at: .venv
Installed [5](https://github.com/yuxiangwei0808/zotero-arxiv-daily/actions/runs/12876264490/job/35954627382#step:4:5)1 packages in ***5ms
Retrieving Zotero corpus...
Retrieving Arxiv papers...
No new papers found.
##[debug]Finishing: Run script
@Brunch-Life
Copy link

Yeah, I meet the same question. Then I checked it on arixiv's website manually. I found I can't get any result in past few days (maybe within 3 days?) I thought it maybe arxiv's problem. But could we have an option to set the search fliter to past five days? It maybe help a lot!

@TideDra
Copy link
Owner

TideDra commented Jan 22, 2025

The script queries arxiv RSS to retrive new papers: https://rss.arxiv.org/atom/{ARXIV_QUERY}, you can check the rss feed to see whether it's the problem of arxiv or the script. By the way, yesterday was Martin Luther King Day, so arxiv was in holiday and no new papers.

@TideDra
Copy link
Owner

TideDra commented Jan 22, 2025

Yeah, I meet the same question. Then I checked it on arixiv's website manually. I found I can't get any result in past few days (maybe within 3 days?) I thought it maybe arxiv's problem. But could we have an option to set the search fliter to past five days? It maybe help a lot!

The script queries arxiv rss for new papers, which contains all the new papers published since the last rss update. so you won't miss any new papers as long as the script runs daily in routine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants