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

Add a notice that you can manually download the dependencies #25

Open
MagicalDrizzle opened this issue Sep 7, 2021 · 4 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@MagicalDrizzle
Copy link

  • package: AppImage
  • version: 2021.8.28-treviso-4
    Log
HTTPSConnectionPool(host='udomain.dl.sourceforge.net', port=443): Max retries exceeded with url: /project/corefonts/the%20fonts/final/verdan32.exe (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1123)')))  File "/tmp/.mount_Bottleeriqq7///usr/local/share/bottles/bottles/utils.py", line 277, in __target
    result = self.task_func(*args, **kwargs)

  File "/tmp/.mount_Bottleeriqq7///usr/local/share/bottles/bottles/backend/dependency.py", line 177, in async_install
    self.__step_cab_extract(

  File "/tmp/.mount_Bottleeriqq7///usr/local/share/bottles/bottles/backend/dependency.py", line 399, in __step_cab_extract
    download = self.__manager.component_manager.download(

  File "/tmp/.mount_Bottleeriqq7///usr/local/share/bottles/bottles/backend/component.py", line 222, in download
    download_url = requests.get(

  File "/tmp/.mount_Bottleeriqq7/usr/lib/python3/dist-packages/requests/api.py", line 76, in get
    return request('get', url, params=params, **kwargs)

  File "/tmp/.mount_Bottleeriqq7/usr/lib/python3/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)

  File "/tmp/.mount_Bottleeriqq7/usr/lib/python3/dist-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)

  File "/tmp/.mount_Bottleeriqq7/usr/lib/python3/dist-packages/requests/sessions.py", line 677, in send
    history = [resp for resp in gen]

  File "/tmp/.mount_Bottleeriqq7/usr/lib/python3/dist-packages/requests/sessions.py", line 677, in <listcomp>
    history = [resp for resp in gen]

  File "/tmp/.mount_Bottleeriqq7/usr/lib/python3/dist-packages/requests/sessions.py", line 237, in resolve_redirects
    resp = self.send(

  File "/tmp/.mount_Bottleeriqq7/usr/lib/python3/dist-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)

  File "/tmp/.mount_Bottleeriqq7/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)

Sometimes I won't be able to download dependencies from sourceforge for some reasons (this looks to be some kind of SSL error), but switching to another mirror allows me to download it and put it in /bottles/temp. Maybe you can add a notice for this?

@mirkobrombin
Copy link
Member

Good idea, where should this note be placed?
Maybe in the documentation?

@MagicalDrizzle
Copy link
Author

Maybe in a FAQ/Known issues area?

@MagicalDrizzle
Copy link
Author

Good idea, where should this note be placed?
Maybe in the documentation?

It seems that Bottles keep using the defective mirror (udomain). Is it possible to add/specify a fallback? (I have had good luck with NCHC)

@mirkobrombin
Copy link
Member

Maybe we should support this in the dependency manager

@mirkobrombin mirkobrombin added the enhancement New feature or request label Mar 21, 2022
@mirkobrombin mirkobrombin transferred this issue from bottlesdevs/Bottles Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
2021.9.14
  
Postponed
2021.9.28
  
Postponed
Development

No branches or pull requests

3 participants