Bug 1459653

Summary: missing dependency of package gajim: gnome-python2-gnome
Product: [Fedora] Fedora Reporter: ben_redhat
Component: gajimAssignee: Michal Schmidt <mschmidt>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: lemenkov, mschmidt, Neustradamus
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-30 10:09:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description ben_redhat 2017-06-07 17:31:41 UTC
Description of problem:
Installing gajim does not automatically install package 'gnome-python2-gnome'. It is required though:

```
gajim.py:487: ImportWarning: Not importing directory '/usr/lib64/python2.7/site-packages/gtk-2.0/gnome': missing __init__.py
  import gnome.ui
```

Version-Release number of selected component (if applicable):
gajim 0.16.7-1.fc25

How reproducible:
Always

Steps to Reproduce:
1. make sure gnome-python2-gnome is not installed
2. install Gajim

Actual results:
gnome-python2-gnome is not installed automatically

Expected results:
gnome-python2-gnome should be installed

Additional info:

Comment 1 Michal Schmidt 2017-06-14 12:05:11 UTC
I can reproduce the ImportWarning message, but Gajim starts and works anyway.
Are you seeing any loss of functionality?
A comment in the code says the import is for session management. This is non-essential functionality. I'd prefer to avoid a hard dependency for this.

Comment 2 ben_redhat 2017-06-14 17:21:58 UTC
(In reply to Michal Schmidt from comment #1)
> I can reproduce the ImportWarning message, but Gajim starts and works anyway.
> Are you seeing any loss of functionality?
> A comment in the code says the import is for session management. This is
> non-essential functionality. I'd prefer to avoid a hard dependency for this.

I reported this because I thought it was the reason I could not simply install the omemo plugin - but it turns out that that was because the plugin-installer plugin is not installed per default on fedora (and in fact not packaged at all). So no, I did not notice any problems even with the warning.

Comment 3 Michal Schmidt 2017-06-30 10:09:13 UTC
The plugin installer should be working again in gajim-0.16.8-1.fc25. The reason it was broken in 0.16.7 was a mistake done by the upstream Gajim developers when creating the tarball. Later they realized the mistake and respun the tarball, but I had already packaged the original one without noticing the problem.

The OMEMO plugin can be installed, but it does not run. It is due to missing python-axolotl in Fedora. It seems the package reviews have been abandoned:
https://bugzilla.redhat.com/show_bug.cgi?id=1382332
https://bugzilla.redhat.com/show_bug.cgi?id=1382333