Skip to content
This repository has been archived by the owner on Jul 8, 2022. It is now read-only.

Totem-plugin does not work in Ubuntu 14.04 #4

Open
ghost opened this issue Apr 19, 2014 · 6 comments
Open

Totem-plugin does not work in Ubuntu 14.04 #4

ghost opened this issue Apr 19, 2014 · 6 comments

Comments

@ghost
Copy link

ghost commented Apr 19, 2014

file: misc /Totem-Plugin/upnp-coherence.py

When plugin is marked, totem show these errors:
totem

(totem:12131): Clutter-WARNING **: Whoever translated default:LTR did so wrongly.
/usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion 'g_type_from_name (name) == 0' failed
import gobject._gobject
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/init.py:40: Warning: specified class size for type 'PyGtkGenericCellRenderer' is smaller than the parent type's 'GtkCellRenderer' class size
from gtk import _gtk
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/init.py:40: Warning: g_type_get_qdata: assertion 'node != NULL' failed
from gtk import _gtk
Segmentation Fault

@zoni
Copy link

zoni commented May 4, 2014

I can confirm the same is happening in my case. Additionally, I had to rename upnp-coherence.totem-plugin to upnp-coherence.plugin and change the [Totem Plugin] section in that same file to [Plugin] before it would show up in the plugin list.

@ghost ghost closed this as completed May 4, 2014
@htgoebel
Copy link
Member

htgoebel commented May 4, 2014

@TeeBSD: this still has to be solved.

@htgoebel htgoebel reopened this May 4, 2014
@htgoebel htgoebel changed the title Does not work in Ubuntu 14.04 Totem-plugin does not work in Ubuntu 14.04 May 12, 2014
@gsoundsgood
Copy link

Any solution or workaround for this issue?

@UMLAUTaxl
Copy link

Besides the Clutter-WARNING I get the same errors when trying to run Nautilus with the Python Extensions (/misc/Nautilus).

RabbitVCS (code.google.com/p/rabbitvcs/issues/detail?id=612) claim they solved this by disabling GTKSpell (http://blog.rabbitvcs.org/archives/312 and http://blog.rabbitvcs.org/archives/318 version 0.15.0.4->0.15.0.5)):

import os
if "NAUTILUS_PYTHON_REQUIRE_GTK3" in os.environ and os.environ["NAUTILUS_PYTHON_REQUIRE_GTK3"]:
    from gi.repository import Gtk as gtk
    GTK_FILL = gtk.AttachOptions.FILL
    GTK_EXPAND = gtk.AttachOptions.EXPAND
    GTK3 = True
else:
    import gtk
    GTK_FILL = gtk.FILL
    GTK_EXPAND = gtk.EXPAND
    GTK3 = False

import os.path
HAS_GTKSPELL = False
if not GTK3:
    try:
        import gtkspell
        HAS_GTKSPELL = True
    except ImportError:
        pass

When used with the Nautilus Python Extension it seems to be running (window appears) but Nautilus will still not start.
See also here: https://ask.fedoraproject.org/en/question/29090/why-wont-python-load-modules-in-fedora-19/

@htgoebel
Copy link
Member

@UMLAUTaxl Thanks for your post. As I do not have Gnome installed, I'd appreciate if you could either send a patch or (even better) a pull request. Thanks.

@UMLAUTaxl
Copy link

I'm sorry I didn't make myself clear: This doesn't work for me either.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants