To AUR maintainers: you can just make the package apply a diff that edits the python code (as @articuno1_au mentioned) and then remove that patch after it gets officially fixed. Bottles devs closed the pr so I don't think this is going to be fixed soon (https://github.com/bottlesdevs/Bottles/pull/2790)
Search Criteria
Package Details: bottles 2:51.21-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/bottles.git (read-only, click to copy) |
---|---|
Package Base: | bottles |
Description: | Easily manage wine and proton prefix |
Upstream URL: | https://github.com/bottlesdevs/Bottles |
Keywords: | Bottles gaming Wine Wineprefixes |
Licenses: | GPL-3.0-only |
Submitter: | ragouel |
Maintainer: | lotation (brombinmirko, francescomasala) |
Last Packager: | lotation |
Votes: | 156 |
Popularity: | 2.53 |
First Submitted: | 2020-11-28 22:52 (UTC) |
Last Updated: | 2025-03-31 08:34 (UTC) |
Dependencies (37)
- cabextract
- dconf
- gtk4 (gtk4-paper-planeAUR, gtk4-gitAUR)
- gtksourceview5 (gtksourceview-gitAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- icoextractAUR
- imagemagick (imagemagick-gitAUR, imagemagick-full-gitAUR, imagemagick-fullAUR)
- libadwaita (libadwaita-gitAUR, libadwaita-without-adwaita-gitAUR)
- libportal-gtk4
- p7zip (p7zip-natspecAUR, p7zip-full-binAUR, 7zip)
- patoolAUR (patool-gitAUR)
- python (python37AUR, python311AUR, python310AUR)
- python-chardet
- python-fvsAUR
- python-gobject
- python-markdown
- python-orjson (python-orjson-gitAUR)
- python-pathvalidateAUR
- python-pycurl
- python-requests
- Show 17 more dependencies...
Required by (2)
- arch-gaming-meta (optional)
- cartridges-git (optional)
Sources (2)
Latest Comments
« First ‹ Previous 1 .. 9 10 11 12 13 14 15 16 17 18 19 .. 27 Next › Last »
1nikolas commented on 2023-03-13 23:28 (UTC)
bms commented on 2023-03-13 09:45 (UTC)
@joelbacal that's a known issue, look for workaround in comment https://aur.archlinux.org/packages/bottles#comment-904598 and earlier.
articuno1_au commented on 2023-03-13 09:35 (UTC) (edited on 2023-03-13 09:52 (UTC) by articuno1_au)
The issue is being tracked at https://github.com/bottlesdevs/Bottles/issues/2788
The dev team aren't looking at fixing it currently based on https://github.com/bottlesdevs/Bottles/issues/2795. They're recommending installing the Flatpack version. There is an open PR at https://github.com/bottlesdevs/Bottles/pull/2790/commits/60a9135b47d70a7f30ee7275014446d2b4c7df15#diff-ad80b104b1f092f846ba7c213cf6540df35ed5800c73ad4cfc1afc3b171d5157 that includes the fixes, but it breaks some other things, so is currently marked as blocked.
For those that want to fix this themselves, here're the steps
Edit /usr/share/bottles/bottles/frontend/views/bottle_details.py
On line 163 remove
self.style_provider.load_from_data(b".dragndrop_overlay { background: rgba(41, 65, 94, 0.2);}")
On lines 163 and 164 add the following two lines
style_data = ".dragndrop_overlay { background: rgba(41, 65, 94, 0.2);}"
self.style_provider.load_from_data(style_data, len(style_data))
Edit /usr/share/bottles/bottles/frontend/windows/installer.py
On line 99 remove
self.style_provider.load_from_data(b"progressbar { line-height: 2.0; }")
On line 99 and 100 add the following two lines
style_data = "progressbar { line-height: 2.0; }"
self.style_provider.load_from_data(style_data, len(style_data))
Close and re-launch bottles
Note that these line numbers will change as Bottles is updated in the future Limited markdown is supported... I'm really sorry for anyone getting spammed, I'm trying to make it readable.
TomJuri commented on 2023-03-12 15:05 (UTC)
How do I use this patch?
crab2313 commented on 2023-03-10 07:50 (UTC)
I think you can simply apply a simple patch to fix this as @gravechapa mentioned.
lotation commented on 2023-03-07 18:05 (UTC)
The issues some of you are having are due to a new version of gtk4 that Bottles does not support (yet), there is nothing wrong with the AUR package. As Bottles developers already stated before they only support Flatpak so, please do not flag this package as out-of-date because currently 51.5 is the latest release.
gravechapa commented on 2023-03-07 14:34 (UTC) (edited on 2023-03-07 14:41 (UTC) by gravechapa)
I just replaced
self.style_provider.load_from_data(b".dragndrop_overlay { background: rgba(41, 65, 94, 0.2);}")
with self.style_provider.load_from_data(".dragndrop_overlay { background: rgba(41, 65, 94, 0.2);}", -1)
for now.
flxrbr commented on 2023-03-07 06:29 (UTC)
Since yesterday, Bottles is stuck on launch screen with the message:
Starting up... Fetched 3 of 3 packages Downloading ~20kb of packages...
I tried to reinstall, delete config files...
Traceback (most recent call last):
File "/usr/share/bottles/bottles/frontend/windows/main_window.py", line 149, in set_manager
self.page_details = DetailsView(self)
File "/usr/share/bottles/bottles/frontend/views/details.py", line 78, in __init__
self.view_bottle = BottleView(self, config)
File "/usr/share/bottles/bottles/frontend/views/bottle_details.py", line 163, in __init__
self.style_provider.load_from_data(b".dragndrop_overlay { background: rgba(41, 65, 94, 0.2);}")
TypeError: Gtk.CssProvider.load_from_data() takes exactly 3 arguments (2 given)
03:23:36 (INFO) Catalog installers loaded
03:23:37 (INFO) Catalog components loaded
03:23:37 (INFO) Catalog dependencies loaded
lurkingaround commented on 2023-03-07 04:55 (UTC)
Bottles doesn't work after updating gtk4 from 4.8.3 to 4.10.
Traceback (most recent call last):
File "/usr/share/bottles/bottles/frontend/windows/main_window.py", line 149, in set_manager
self.page_details = DetailsView(self)
File "/usr/share/bottles/bottles/frontend/views/details.py", line 78, in __init__
self.view_bottle = BottleView(self, config)
File "/usr/share/bottles/bottles/frontend/views/bottle_details.py", line 163, in __init__
self.style_provider.load_from_data(b".dragndrop_overlay { background: rgba(41, 65, 94, 0.2);}")
TypeError: Gtk.CssProvider.load_from_data() takes exactly 3 arguments (2 given)
Downgrading back to 4.8.3 fixes this issue and Bottles works again. If anyone was having issues.
Pinned Comments
brombinmirko commented on 2022-09-15 20:54 (UTC) (edited on 2022-09-15 20:54 (UTC) by brombinmirko)
=====================
READ HERE FIRST
=====================
This package is not officially supported by the Bottles Developers. Even though some of those developers are package maintainers, support is offered by the package authors who will make sure it is handled in the best possible way. They will diagnose the issues and report the issues to the development team if they are not related to the package.