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

Running OAISYS for the first time - urllib.error.HTTPError: HTTP Error 403: Forbidden #14

Open
Fortranibal opened this issue Feb 6, 2024 · 1 comment

Comments

@Fortranibal
Copy link

When running OAISYS for the first time and after cloning the git repository, following the provided tutorial, I have encountered several issues I will describe. The first one can be found here #13. Here is the second one:

Issue 2:

Run sudo python3 ./run_oaisys.py --blender-install-path ../../blender, as my specific path to where I want to have Blender installed/found. Then, after solving issue #13, this is the output you obtain, as the previous issue is resolved but this one remains.

Downloading blender from https://download.blender.org/release/Blender2.93/blender-2.93.0-linux-x64.tar.xz
Traceback (most recent call last):
  File "/home/semesterarbeit/oaisys/./run_oaisys.py", line 118, in <module>
    file_tmp = urlretrieve(url, None, DownloadProgressBar())[0]
  File "/usr/lib/python3.10/urllib/request.py", line 241, in urlretrieve
    with contextlib.closing(urlopen(url, data)) as fp:
  File "/usr/lib/python3.10/urllib/request.py", line 216, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.10/urllib/request.py", line 525, in open
    response = meth(req, response)
  File "/usr/lib/python3.10/urllib/request.py", line 634, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.10/urllib/request.py", line 563, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.10/urllib/request.py", line 643, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden

This Stack Overflow solution may solve the problem, but I haven't tested it out yet.

@ChAllenJo
Copy link

Faced this issue initially too, point to the right directory where you had installed Blender 2.93 (ideally).In my case, I extracted the contents of the blender.zip and had to rename it accordingly such that the blender Binary was visible to the Python script.It cant find it currently and tries to download it, which gives an error possibly due to an outdated link to blender.Nonetheless I also used absolute instead of relative addressing

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

2 participants