Skip to content

tests fail: HTTP Error 404: Not Found #1304

Description

@drew-parsons

vedo tests try to access sample image files from vedo.dataurl, which is https://vedo.embl.es/examples/data/

The tests fail, however, see
https://ci.debian.net/packages/v/vedo/
https://ci.debian.net/packages/v/vedo/testing/amd64/72734229/

127s Processing test_core2.py script..
128s running test_add_ids
128s 
128s --- test_add_ids ---
128s Traceback (most recent call last):
128s   File "/tmp/autopkgtest-lxc.cqam46a_/downtmp/build.C6Q/src/tests/common/test_core2.py", line 311, in <module>
128s     _run_as_script()
128s     ~~~~~~~~~~~~~~^^
128s   File "/tmp/autopkgtest-lxc.cqam46a_/downtmp/build.C6Q/src/tests/common/test_core2.py", line 307, in _run_as_script
128s     func()
128s     ~~~~^^
128s   File "/tmp/autopkgtest-lxc.cqam46a_/downtmp/build.C6Q/src/tests/common/test_core2.py", line 33, in test_add_ids
128s     vol, tm, rg = _make_datasets()
128s                   ~~~~~~~~~~~~~~^^
128s   File "/tmp/autopkgtest-lxc.cqam46a_/downtmp/build.C6Q/src/tests/common/test_core2.py", line 22, in _make_datasets
128s     tm = TetMesh(dataurl + "limb.vtu")
128s   File "/usr/lib/python3/dist-packages/vedo/grids/tetmesh.py", line 81, in __init__
128s     inputobj = download(inputobj, verbose=False)
128s   File "/usr/lib/python3/dist-packages/vedo/file_io/network.py", line 56, in download
128s     with urlopen(req) as response, open(fname, "wb") as output:
128s          ~~~~~~~^^^^^
128s   File "/usr/lib/python3.13/urllib/request.py", line 189, in urlopen
128s     return opener.open(url, data, timeout)
128s            ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
128s   File "/usr/lib/python3.13/urllib/request.py", line 495, in open
128s     response = meth(req, response)
128s   File "/usr/lib/python3.13/urllib/request.py", line 604, in http_response
128s     response = self.parent.error(
128s         'http', request, response, code, msg, hdrs)
128s   File "/usr/lib/python3.13/urllib/request.py", line 533, in error
128s     return self._call_chain(*args)
128s            ~~~~~~~~~~~~~~~~^^^^^^^
128s   File "/usr/lib/python3.13/urllib/request.py", line 466, in _call_chain
128s     result = func(*args)
128s   File "/usr/lib/python3.13/urllib/request.py", line 613, in http_error_default
128s     raise HTTPError(req.full_url, code, msg, hdrs, fp)
128s urllib.error.HTTPError: HTTP Error 404: Not Found

This test is accessing "limb.vtu"

Sure enough, https://vedo.embl.es/examples/data/limb.vtu does not exist

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