davesteele / gnome-gmail

Integrate GMail into the Linux Desktop
https://davesteele.github.io/gnome-gmail/
GNU General Public License v2.0
50 stars 13 forks source link

Crash on start #8

Closed llaumgui closed 8 years ago

llaumgui commented 9 years ago

Hi,

On Fedora 22, is there a bug report of crash on launch:

gnome-gmail
Traceback (most recent call last):
  File "/usr/share/gnome-gmail/gnomegmail.py", line 43, in <module>
    from gi.repository import Wnck
  File "/usr/lib64/python2.7/site-packages/gi/importer.py", line 158, in load_module
    introspection_module = get_introspection_module(namespace)
  File "/usr/lib64/python2.7/site-packages/gi/module.py", line 271, in get_introspection_module
    module = IntrospectionModule(namespace, version)
  File "/usr/lib64/python2.7/site-packages/gi/module.py", line 120, in __init__
    repository.require(namespace, version)
gi.RepositoryError: Requiring namespace 'Gtk' version '2.0', but '3.0' is already loaded

Have you an idea ?

thx.

davesteele commented 9 years ago

Not really. It is now build for GNOME 3 only.

I've seen problems like that come from dependencies defined in setup.py before, but I see nothing like that in the current file. Could there be a dependency in the spec file?

davesteele commented 9 years ago

Here's a thought.

For Mint, the script failed on a stock install due to missing 'introspection data' for the GNOME Keyring. This was fixed by adding a dependency on "gir1.2-secret-1". (I know - not exactly intuitive)

Perhaps there is an analogous missing 'python-gi' sub-dependency for GTK in Fedora.

This is the current Debian Depends line:

Depends: ${misc:Depends}, python2.7, python-gi, libgtk-3-bin (>=3.10), gir1.2-secret-1

davesteele commented 8 years ago

@scop reports in #11 that the libwnck3 package resolves this.

davesteele commented 8 years ago

fixed