macOS 14.4.1 problem with 'gi.repository.Gio' object has no attribute 'content_type_get_icon'

Support for Deluge on Apple Mac OS
amar1729
Member
Member
Posts: 10
Joined: Sat Mar 20, 2021 7:19 pm

Re: macOS 14.4.1 problem with 'gi.repository.Gio' object has no attribute 'content_type_get_icon'

Post by amar1729 »

I might be able to put together a few notes, yeah. Part of the problem here is that deluge is not a package in homebrew-core, so brew maintainers have no real obligation/checks to ensure that it builds properly (but they are working on fixing the bugs in gobject-introspection/related pkgs). I'm fairly certain those fixes will be figured out+merged soon, so i think this bug will be relatively short-lived. however I will write up some quick notes on rewinding/reinstalling old versions of packages when i can.

- docs on pinning a package (and see the immediate next section for making a tap) https://docs.brew.sh/FAQ#how-do-i-stop- ... ng-updated
amar1729
Member
Member
Posts: 10
Joined: Sat Mar 20, 2021 7:19 pm

Re: macOS 14.4.1 problem with 'gi.repository.Gio' object has no attribute 'content_type_get_icon'

Post by amar1729 »

Ok, i've put together some instructions for rewinding and installing the proper version of gobject here: https://github.com/Amar1729/homebrew-de ... 2033318411

For users here who prefer installing deluge manually, the steps are the same except you don't have to run `brew install amar1729/deluge-meta/deluge-meta` (but you could run `brew install --only-dependencies amar1729/deluge-meta/deluge-meta` to make things a bit easier).

You should be able to unpin gobject-introspection and glib once the upstream issue is fixed and homebrew bundles the fix into a new revision for both of them.
antst
New User
New User
Posts: 4
Joined: Thu Jul 09, 2020 8:58 pm

Re: macOS 14.4.1 problem with 'gi.repository.Gio' object has no attribute 'content_type_get_icon'

Post by antst »

It would be lovely to have proper and working self-contained app again :)
User avatar
ambipro
Moderator
Moderator
Posts: 465
Joined: Thu May 19, 2022 3:33 am
Contact:

Re: macOS 14.4.1 problem with 'gi.repository.Gio' object has no attribute 'content_type_get_icon'

Post by ambipro »

amar1729 wrote: Wed Apr 03, 2024 12:26 am Ok, i've put together some instructions for rewinding and installing the proper version of gobject here: https://github.com/Amar1729/homebrew-de ... 2033318411

For users here who prefer installing deluge manually, the steps are the same except you don't have to run `brew install amar1729/deluge-meta/deluge-meta` (but you could run `brew install --only-dependencies amar1729/deluge-meta/deluge-meta` to make things a bit easier).

You should be able to unpin gobject-introspection and glib once the upstream issue is fixed and homebrew bundles the fix into a new revision for both of them.
I'm not sure if you made a github issue on brew, but if you could make one on our git, https://dev.deluge-torrent.org/newticket that would be helpful.

I've messaged Cas about this thread as well, but since you are more versed in the Mac situation than me, it would be better for you to make it if you can.
sloopbun
New User
New User
Posts: 1
Joined: Tue Apr 30, 2024 11:12 am

Re: macOS 14.4.1 problem with 'gi.repository.Gio' object has no attribute 'content_type_get_icon'

Post by sloopbun »

Hi, is there any update on this? Is there another way?

Is there any source for V.2 Deluge.app packages? I use the MacOS app as a thin client for my deluge instances on linux...

Cheers
User avatar
ambipro
Moderator
Moderator
Posts: 465
Joined: Thu May 19, 2022 3:33 am
Contact:

Re: macOS 14.4.1 problem with 'gi.repository.Gio' object has no attribute 'content_type_get_icon'

Post by ambipro »

sloopbun wrote: Tue Apr 30, 2024 11:14 am Hi, is there any update on this? Is there another way?

Is there any source for V.2 Deluge.app packages? I use the MacOS app as a thin client for my deluge instances on linux...

Cheers
For the latest stable version, currently brew is the only method I am aware of using. Instructions are in this thread for the required steps to work around the issues.
User avatar
vonProteus
New User
New User
Posts: 8
Joined: Mon Apr 20, 2020 2:48 pm

Re: macOS 14.4.1 problem with 'gi.repository.Gio' object has no attribute 'content_type_get_icon'

Post by vonProteus »

any progress?
it's broken again i think than new glib broken deluge :/

Code: Select all

glib (2.80.0_2) < 2.80.2
or maybe i shut unpin

Code: Select all

gobject-introspection (1.78.1) < 1.80.1 [pinned at 1.78.1]
i have lots of dependence on glib i don't want rollback all of them do we have any promising solution on a horizont?

is there a ticket somewhere that i can watch?
User avatar
ambipro
Moderator
Moderator
Posts: 465
Joined: Thu May 19, 2022 3:33 am
Contact:

Re: macOS 14.4.1 problem with 'gi.repository.Gio' object has no attribute 'content_type_get_icon'

Post by ambipro »

Why are you guys updating when you know that this is and has caused previous dependency problems with brews liberal dependency updating... :(
User avatar
vonProteus
New User
New User
Posts: 8
Joined: Mon Apr 20, 2020 2:48 pm

Re: macOS 14.4.1 problem with 'gi.repository.Gio' object has no attribute 'content_type_get_icon'

Post by vonProteus »

i "fixed" it with docker

you can run deluge thin client in docker and forward x11 do mac

by adding this

Code: Select all

alias deluge-gtk-docker="xhost + $(hostname); docker run --rm -e DISPLAY=$(hostname):0 -v $HOME/.config/deluge:/home/deluge/.config/deluge -v $HOME/Downloads:/home/deluge/Downloads:ro vonproteus/deluge-gtk-docker"
to your ~/.zshrc and run it via deluge-gtk-docker

its requires docker and xquartz

this method do not use brew and its dependencies

https://github.com/vonProteus/deluge-gtk-docker
https://hub.docker.com/r/vonproteus/deluge-gtk-docker
Lord-Kamina
Member
Member
Posts: 18
Joined: Sun Dec 22, 2019 4:24 pm

Re: macOS 14.4.1 problem with 'gi.repository.Gio' object has no attribute 'content_type_get_icon'

Post by Lord-Kamina »

Just chiming in to say this is bigger than mac or hombrew.
My fork's CI just ran into the same issue on Windows, so...
Post Reply