Application test fail on file content-length query
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 55/100
Research direction
Start at Source/utils/filing.py:75 in downloadZhangDB and compare the failing GitHub Actions run with the local behavior described in the issue. Reproduce the application test failure and verify that downloading files no longer crashes when the response headers differ from the local case.
Written by the indexing model from the issue text.
Description
@doizuc I think we have encountered this before. When downloading files, the query works fine locally but crashes when GitHub>Actions>Application Tests call it:
https://github.com/nasa/HyperCP/actions/runs/30582145602/job/91004754378#step:6:135
File "/Users/runner/work/HyperCP/HyperCP/Source/utils/filing.py", line 75, in downloadZhangDB
download_session.head(url).headers["Content-length"]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
File "/Users/runner/miniconda3/envs/hypercp/lib/python3.14/site-packages/requests/structures.py", line 65, in __getitem__
return self._store[key.lower()][1]
~~~~~~~~~~~^^^^^^^^^^^^^
KeyError: 'content-length'
Do you recall how we fixed this before?
- Dominant language
- Python
- Stars
- 53
- Forks
- 33
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nasa/HyperCP
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100