Bottles icon indicating copy to clipboard operation
Bottles copied to clipboard

[Bug]: List of dependencies blank

Open MoltenHydrogen opened this issue 1 year ago • 3 comments

Describe the bug

When I go to search for dependencies nothing shows up. Looking at the terminal logs i find 20:14:34 (ERROR) Cannot fetch dependencies repository index. The database itself seems to be online at the time of posting though, so I doubt its an server-side issue. Screenshot_20240528_201928

To Reproduce

  1. Go to the configs for a bottle
  2. Click on dependencies under options
  3. The list is blank...

Package

Flatpak from Flathub

Distribution

EndeavourOS

Debugging Information

Official Package: true
Version: '51.11'
DE/WM: plasma
Display:
    X.org: true
    X.org (port): :1
    Wayland: true
Graphics:
    vendors:
        nvidia:
            vendor: nvidia
            envs:
                __NV_PRIME_RENDER_OFFLOAD: '1'
                __GLX_VENDOR_LIBRARY_NAME: nvidia
                __VK_LAYER_NV_optimus: NVIDIA_only
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/nvidia_icd.json
            nvngx_path: /usr/lib/x86_64-linux-gnu/GL/nvidia-550-78/extra/nvidia/wine
    prime:
        integrated: null
        discrete: null
Kernel:
    Type: Linux
    Version: 6.9.2-arch1-1
Disk:
    Total: 8338026496
    Free: 8337846272
RAM:
    MemTotal: 15.5GiB
    MemAvailable: 10.6GiB
Bottles_envs: null

Troubleshooting Logs

20:14:03 (INFO) Bottles Started! 
20:14:19 (INFO) Performing Bottles checks… 
20:14:19 (INFO) Dxvks found:
         - dxvk-2.3.1
 
20:14:19 (INFO) Vkd3ds found:
         - vkd3d-proton-2.12
 
20:14:19 (INFO) Nvapis found:
         - dxvk-nvapi-v0.7.0
 
20:14:19 (INFO) Latencyflexs found:
         - latencyflex-v0.1.1
 
20:14:19 (INFO) Runners found:
         - soda-9.0-1
         - GE-Proton9-5
         - sys-wine-9.0
 
20:14:19 (INFO) Bottles found:
         - Ubisoft 
         - apps
 
20:14:24 (INFO) Setting Key sync=fsync for bottle Ubisoft … 
20:14:24 (INFO) There is no running wineserver. 
20:14:30 (INFO) Catalog installers loaded 
20:14:34 (ERROR) Cannot fetch dependencies repository index. 
20:14:35 (INFO) No dependencies found! 
20:14:35 (INFO) Catalog components loaded

Additional context

I've just switched to Linux today, so there might still be some general bugs in my system I've yet to uncover that might be causing this issue.

MoltenHydrogen avatar May 29 '24 01:05 MoltenHydrogen

I have this problem as well, I just did a clean reinstall of Bottles and now it's completely stuck on the "we need a few minutes to set everything up" apparently what bottles do is to try to establish a connection to their website which has the repo "repo.usebottles.com" but that website doesn't even exist lol

I-like-stuff avatar May 29 '24 05:05 I-like-stuff

I had the same bug. I removed the package and installed bottles-git from the AUR and it works properly now.

jroneilky avatar Jul 01 '24 23:07 jroneilky

I have the same bug. Flatpak version, everything up to date. On NixOS.

Cal-Nine avatar Aug 26 '24 03:08 Cal-Nine

just installed the flatpak version of bottles and encountered this issue too (Linux Mint 22), has the flatpak version simply not had this feature for 6 months now?

ItzzCode avatar Nov 23 '24 22:11 ItzzCode

It does work properly for me

katepavlu avatar Nov 23 '24 22:11 katepavlu

It does work properly for me

Well that's good for you, but it'd be really cool to know what makes your case different, because it doesn't work for us

ItzzCode avatar Nov 24 '24 22:11 ItzzCode

It does work properly for me

Well that's good for you, but it'd be really cool to know what makes your case different, because it doesn't work for us

Sorry Bottles v51.15 from Flathub. Pop OS 22.04. Nothing custom going on anywhere.

katepavlu avatar Nov 25 '24 03:11 katepavlu

Same issue with a fresh install on NixOS, but restarting my computer fixed it.

Siarune avatar Jan 05 '25 18:01 Siarune

I can repro this on both the rpm and the flatpak versions. Have tried normal wifi, reboot, VPN, and TOR

arlyon avatar Jan 30 '25 23:01 arlyon

I also have the same issue on Debian 12 with Flatpak. Tried multiple different connections including Tor.

I'm in Australia if that helps, I noticed a previous bug report that mentioned CDN issues from certain countries.

agent-squirrel avatar Jan 31 '25 01:01 agent-squirrel

I recently experienced the same issue on KDE Neon 6.2 which is based on Ubuntu 24.04 LTS as well, I install it via the official Flatpak.

But I dunno how to fix it, I decide to remove it completely and reinstall the official version of Wine and Wintricks instead, and I highly recommend every one who experiences this issue to do this.

RobinArtemstein avatar Jan 31 '25 01:01 RobinArtemstein

Same issue here, Fedora 41, just installed Bottles from Flatpak

darkhatplatypus avatar Jan 31 '25 07:01 darkhatplatypus

Same issue here, Linux Mint. Flatpak installation. No dependencies shown :(

Pittermaennchen avatar Jan 31 '25 10:01 Pittermaennchen

From digging in the source code, it attempts to fetch from this page https://proxy.usebottles.com/repo/dependencies/index.yml which is currently down. Some proper error handling here would be nice!

I am trying to get around this in the mean time by cloning this repo https://github.com/bottlesdevs/dependencies, hosting it locally (python -m http.server) and overriding the url in the source code.

EDIT: I directly edited the URL in the source code directly in the flatpak at /var/lib/flatpak/app/com.usebottles.bottles/x86_64/stable/active/files/share/bottles/bottles/backend/managers/repository.py (L42) and it works again.

🚨 Fix for this is to fix the 502 issue for the dependencies repo

arlyon avatar Jan 31 '25 11:01 arlyon

From digging in the source code, it attempts to fetch from this page https://proxy.usebottles.com/repo/dependencies/index.yml which is currently down. Some proper error handling here would be nice!

I am trying to get around this in the mean time by cloning this repo https://github.com/bottlesdevs/dependencies, hosting it locally (python -m http.server) and overriding the url in the source code.

EDIT: I directly edited the URL in the source code directly in the flatpak at /var/lib/flatpak/app/com.usebottles.bottles/x86_64/stable/active/files/share/bottles/bottles/backend/managers/repository.py (L42) and it works again.

🚨 Fix for this is to fix the 502 issue for the dependencies repo

Can confirm that this works:

git clone https://github.com/bottlesdevs/dependencies.git
cd dependencies/
python -m http.server
sudo nano /var/lib/flatpak/app/com.usebottles.bottles/x86_64/stable/active/files/share/bottles/bottles/backend/managers/repository.py

Before

"dependencies": {
    "url": "https://proxy.usebottles.com/repo/dependencies/",
    "index": "",
    "cls": DependencyRepo,
},

After:

"dependencies": {
    "url": "http://0.0.0.0:8000/",
    "index": "",
    "cls": DependencyRepo,
},

Close and re-open bottles.

Devorlon avatar Jan 31 '25 15:01 Devorlon

This issue has been automatically closed as part of a cleanup process to help the team manage issues more effectively.

If the problem still persists, feel free to comment and we will gladly reopen it.

github-actions[bot] avatar May 29 '25 23:05 github-actions[bot]