macOS 14.4.1 problem with 'gi.repository.Gio' object has no attribute 'content_type_get_icon'
-
- New User
- Posts: 4
- Joined: Sat Mar 30, 2024 10:10 am
Re: macOS 14.4.1 problem with 'gi.repository.Gio' object has no attribute 'content_type_get_icon'
I haven't been able to update a whole slew of tools on my machine since May because of this issue. How is there still no app or other resolution after all this time?
Re: macOS 14.4.1 problem with 'gi.repository.Gio' object has no attribute 'content_type_get_icon'
I installed XQuartz and Docker, downloaded your container, set the alias (tried in both bash and zsh), and then ran deluge-gtk-docker. In both shells I get this and it does nothing:vonProteus wrote: ↑Sun May 19, 2024 7:45 am i "fixed" it with docker
you can run deluge thin client in docker and forward x11 do mac
by adding thisto your ~/.zshrc and run it via deluge-gtk-dockerCode: 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"
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
Code: Select all
(deluge:11): Gtk-CRITICAL **: 06:54:37.134: _gtk_css_lookup_resolve: assertion '(((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) ((provider)); GType __t = ((_gtk_style_provider_private_get_type ())); gboolean __r; if (!__inst) __r = (0); else if (__inst->g_class && __inst->g_class->g_type == __t) __r = (!(0)); else __r = g_type_check_instance_is_a (__inst, __t); __r; }))))' failed
/usr/lib/python3/dist-packages/deluge/ui/gtk3/queuedtorrents.py:35: Warning: g_object_set_data_full: assertion 'G_IS_OBJECT (object)' failed
self.builder.add_from_file(
(deluge:11): Gtk-ERROR **: 06:54:37.134: Can't create a GtkStyleContext without a display connection
/home/deluge/docker-entrypoint.sh: line 5: 11 Trace/breakpoint trap /usr/bin/deluge-gtk "$@"
- vonProteus
- New User
- Posts: 9
- 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'
can you try
where 192.168.172.149 is ip of your computer
Code: Select all
xhost + $(hostname); docker run --rm -e DISPLAY=192.168.172.149:0 -v $HOME/.config/deluge:/home/deluge/.config/deluge -v $HOME/Downloads:/home/deluge/Downloads:ro vonproteus/deluge-gtk-docker
-
- Member
- Posts: 20
- 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'
This should already be solved. The problemas is not deluge, but a bug in glib2. A fix for that should have landed in version 2.82.0
Re: macOS 14.4.1 problem with 'gi.repository.Gio' object has no attribute 'content_type_get_icon'
Thanks for the quick response but same errorvonProteus wrote: ↑Fri Sep 06, 2024 11:09 am can you trywhere 192.168.172.149 is ip of your computerCode: Select all
xhost + $(hostname); docker run --rm -e DISPLAY=192.168.172.149:0 -v $HOME/.config/deluge:/home/deluge/.config/deluge -v $HOME/Downloads:/home/deluge/Downloads:ro vonproteus/deluge-gtk-docker
Last edited by tubedogg on Fri Sep 06, 2024 5:38 pm, edited 1 time in total.
Re: macOS 14.4.1 problem with 'gi.repository.Gio' object has no attribute 'content_type_get_icon'
https://formulae.brew.sh/formula/glib says Homebrew is still on 2.80.4. Not sure what causes them to/when they update.Lord-Kamina wrote: ↑Fri Sep 06, 2024 3:30 pm This should already be solved. The problemas is not deluge, but a bug in glib2. A fix for that should have landed in version 2.82.0
-
- New User
- Posts: 4
- Joined: Sat Mar 30, 2024 10:10 am
Re: macOS 14.4.1 problem with 'gi.repository.Gio' object has no attribute 'content_type_get_icon'
Someone has to make PR updating the formula definition, I believe.tubedogg wrote: ↑Fri Sep 06, 2024 5:38 pmhttps://formulae.brew.sh/formula/glib says Homebrew is still on 2.80.4. Not sure what causes them to/when they update.
https://docs.brew.sh/How-To-Open-a-Home ... ll-Request
-
- New User
- Posts: 4
- Joined: Sat Mar 30, 2024 10:10 am
Re: macOS 14.4.1 problem with 'gi.repository.Gio' object has no attribute 'content_type_get_icon'
I unpinned, got six months of updates that'd been held back, and then re-followed these instructions (through "Install Deluge"):
viewtopic.php?t=56287
My stuff is updated, and my Deluge works.
viewtopic.php?t=56287
My stuff is updated, and my Deluge works.