-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Description
Hi I got these when I test the Github Action>
calculate-and-send
details:
Run uv run main.py --debug
Using CPython 3.11.***
Creating virtual environment at: .venv
Installed 66 packages in 258ms
2025-08-01 18:41:16.309 | DEBUG | main::152 - Debug mode is on.
2025-08-01 18:41:16.309 | INFO | main::157 - Retrieving Zotero corpus...
2025-08-01 18:41:46.486 | INFO | main::159 - Retrieved 879 papers from Zotero.
2025-08-01 18:41:46.486 | INFO | main::164 - Retrieving Arxiv papers...
2025-08-01 18:41:47.088 | DEBUG | main:get_arxiv_paper:66 - Retrieve 5 arxiv papers regardless of the date.
2025-08-01 18:41:47.366 | INFO | main::171 - Reranking papers...
2025-08-01 18:43:13.691 | INFO | main::179 - Using Local LLM as global LLM.
llama_new_context_with_model: n_ctx_per_seq (5024) < n_ctx_train (32768) -- the full capacity of the model will not be utilized
2025-08-01 18:47:34.296 | DEBUG | paper:code_url:51 - Error when searching 2507.23779: Expecting value: line 3 column 1 (char 2)
Rendering Email: 0%| | 0/5 [00:00<?, ?it/s]
2025-08-01 18:49:17.711 | DEBUG | paper:code_url:51 - Error when searching 2507.23773: Expecting value: line 3 column 1 (char 2)
Rendering Email: 20%|██ | 1/5 [04:23<17:33, 263.39s/it]
2025-08-01 18:50:58.492 | DEBUG | paper:code_url:51 - Error when searching 2507.23751: Expecting value: line 3 column 1 (char 2)
Rendering Email: 40%|████ | 2/5 [06:06<08:27, 169.29s/it]
2025-08-01 18:52:38.732 | DEBUG | paper:code_url:51 - Error when searching 2507.23784: Expecting value: line 3 column 1 (char 2)
Rendering Email: 60%|██████ | 3/5 [07:47<04:36, 138.01s/it]
2025-08-01 18:54:11.734 | DEBUG | paper:code_url:51 - Error when searching 2507.23771: Expecting value: line 3 column 1 (char 2)
Rendering Email: 80%|████████ | 4/5 [09:27<02:03, 123.***s/it]
Rendering Email: 0%|██████████| 5/5 [11:00<00:00, 112.24s/it]
Rendering Email: 0%|██████████| 5/5 [11:00<00:00, 132.17s/it]
2025-08-01 18:54:21.735 | INFO | main::183 - Sending email...
Traceback (most recent call last):
File "/home/runner/work/zotero-arxiv-daily/zotero-arxiv-daily/main.py", line 184, in
send_email(args.sender, args.receiver, args.sender_password, args.smtp_server, args.smtp_port, html)
File "/home/runner/work/zotero-arxiv-daily/zotero-arxiv-daily/construct_email.py", line 164, in send_email
server.login(sender, password)
File "/home/runner/.local/share/uv/python/cpython-3.11.-linux-x86_64-gnu/lib/python3.11/smtplib.py", line 739, in login
(code, resp) = self.auth(
^^^^^^^^^^
File "/home/runner/.local/share/uv/python/cpython-3.11.-linux-x86_64-gnu/lib/python3.11/smtplib.py", line 641, in auth
response = encode_base64(initial_response.encode('ascii'), eol='')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'ascii' codec can't encode character '\xa0' in position 31: ordinal not in range(128)
Error: Process completed with exit code 1.
Process completed with exit code 1.
How can I tackle it, thank you very much!