Bug 6500 - gwibber is missing wnck for account creation
Summary: gwibber is missing wnck for account creation
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 2
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Florian Hubold
QA Contact:
URL:
Whiteboard: has_procedure feedback
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-18 17:31 CEST by Malo Deniélou
Modified: 2013-11-22 23:01 CET (History)
7 users (show)

See Also:
Source RPM: gwibber
CVE:
Status comment:


Attachments
List of packages to link for bug 2317 (about 130 packages). (6.36 KB, text/plain)
2012-08-16 04:11 CEST, Dave Hodgins
Details
strace running gwibber, selecting edit/accounts (187.89 KB, application/octet-stream)
2012-08-26 10:27 CEST, Dave Hodgins
Details
Image of gwibber dialog (22.15 KB, image/png)
2012-08-26 11:16 CEST, Dave Hodgins
Details
part of strace output from gwibber (137.79 KB, application/x-bzip)
2012-09-03 21:12 CEST, Florian Hubold
Details

Description Malo Deniélou 2012-06-18 17:31:06 CEST
Description of problem:
In gwibber, the account creation menu item does nothing. In the console, we notice that there is an import error:
ImportError: cannot import name Wnck

It can probably be fixed by installing the python binding for wnck.

Version-Release number of selected component (if applicable):
3.4.0-1.mga2

How reproducible:
everytime

Steps to Reproduce:
1. start gwibber
2. go in the menu and select account creation
Manuel Hiebel 2012-06-20 15:06:56 CEST

Assignee: bugsquad => doktor5000

Comment 1 Florian Hubold 2012-06-24 19:04:52 CEST
Well, gwibber seems pretty broken here on Mageia 2 at all.
Also it seems it's no compatible with GTK 3.0 but wants 2.0. And FWIW there is no separate python binding for wnck, i just have wnck and lib64wnck1 installed, still fails:

Traceback (most recent call last):
  File "/usr/bin/gwibber-accounts", line 31, in <module>
    from gi.repository import Gtk, Wnck
  File "/usr/lib64/python2.7/site-packages/gi/importer.py", line 76, in load_module
    dynamic_module._load()
  File "/usr/lib64/python2.7/site-packages/gi/module.py", line 222, in _load
    version)
  File "/usr/lib64/python2.7/site-packages/gi/module.py", line 90, in __init__
    repository.require(namespace, version)
gi.RepositoryError: Requiring namespace 'Gtk' version '2.0', but '3.0' is already loaded

I'll try to take a look.

Status: NEW => ASSIGNED
CC: (none) => doktor5000

Comment 2 Florian Hubold 2012-08-11 15:08:08 CEST
I've synced our gwibber package with the fedora one and updated it to 3.4.2, removed the Sina service as it seems broken with newer gwibber versions, and added some additional requires. Now gwibber doesn't throw that much errors when starting and creating accounts is actually possible.

Will soon submit as an update candidate.
Comment 3 Florian Hubold 2012-08-11 15:09:25 CEST
FWIW, wnck python bindings are contained in gnome-python-desktop (for the original bug report title).
Comment 4 Florian Hubold 2012-08-12 10:27:39 CEST
Did some other tests, and seems only the Sina service blocks the account creation window, so removed that one, and added some missing requires.


There is now gwibber-3.4.0-1.1.mga2 in core/updates_testing to validate
-------------------------------------------------------


Suggested advisory:
-------------------
This update addresses the following issues:

- The Sina service, which adds an additional service to Gwibber, is currently broken when combined with our Gwibber package, and blocks the window for account creation. Therefore it has been removed.
- Gwibber was missing some dependencies, for example gnome-python-desktop for the wnck python bindings and others (f.ex. python-markupsafe, python-mako, python-egenix-mx-base, python-beaker)

-------------------------------------------------------
Steps to reproduce:

- install/update to update candidate
- try to create an account
- try with and without old config & cache (~/.config/gwibber/ & ~/.cache/gwibber/)

Assignee: doktor5000 => qa-bugs

Samuel Verschelde 2012-08-13 12:55:24 CEST

CC: (none) => stormi
Whiteboard: (none) => has_procedure

Comment 5 Dave Hodgins 2012-08-16 04:11:20 CEST
Created attachment 2647 [details]
List of packages to link for bug 2317 (about 130 packages).
Comment 6 Dave Hodgins 2012-08-16 04:19:39 CEST
$ gwibber-accounts 
Traceback (most recent call last):
  File "/usr/bin/gwibber-accounts", line 31, in <module>
    from gi.repository import Gtk, Wnck
  File "/usr/lib64/python2.7/site-packages/gi/importer.py", line 76, in load_module
    dynamic_module._load()
  File "/usr/lib64/python2.7/site-packages/gi/module.py", line 222, in _load
    version)
  File "/usr/lib64/python2.7/site-packages/gi/module.py", line 90, in __init__
    repository.require(namespace, version)
gi.RepositoryError: Requiring namespace 'Gtk' version '2.0', but '3.0' is already loaded

$ rpm -qa|grep gwibber
lib64gwibber2-3.4.0-1.1.mga2
gwibber-3.4.0-1.1.mga2

CC: (none) => davidwhodgins
Whiteboard: has_procedure => has_procedure feedback

Comment 7 Eduard Beliaev 2012-08-24 23:17:37 CEST
I have the same errors like Dave Hodgins.

CC: (none) => ed_rus099

Comment 8 Florian Hubold 2012-08-25 17:27:44 CEST
Ok, put aside the error messages. Can you create accounts when directly calling gwibber, and is there a real problem besides the error message itself, and what would that be?

And i can't reproduce this here, i get:

[doktor5000@Mageia2 ~]$ gwibber-accounts
Loading plugin for qaiku
Loading plugin for twitter
Loading plugin for statusnet
Loading plugin for identica
Loading plugin for flickr
Loading plugin for digg
Loading plugin for friendfeed
Loading plugin for facebook
Loading plugin for foursquare
Loading plugin for pingfm
Loading plugin for buzz
Comment 9 Eduard Beliaev 2012-08-25 18:17:41 CEST
Terminal Output: 

$ gwibber -accounts

(gwibber:4623): Gtk-CRITICAL **: gtk_radio_button_set_group: assertion `!g_slist_find (group, radio_button)' failed

(gwibber:4623): Gtk-CRITICAL **: gtk_widget_show: assertion `GTK_IS_WIDGET (widget)' failed
Traceback (most recent call last):
  File "/usr/bin/gwibber-accounts", line 31, in <module>
    from gi.repository import Gtk, Wnck
  File "/usr/lib64/python2.7/site-packages/gi/importer.py", line 76, in load_module
    dynamic_module._load()
  File "/usr/lib64/python2.7/site-packages/gi/module.py", line 222, in _load
    version)
  File "/usr/lib64/python2.7/site-packages/gi/module.py", line 90, in __init__
    repository.require(namespace, version)
gi.RepositoryError: Requiring namespace 'Gtk' version '2.0', but '3.0' is already loaded
Comment 10 Florian Hubold 2012-08-25 19:25:53 CEST
I can read the terminal output, but what does the program do? Without context this is meaningless ... And again, what happens, when you just call gwibber without options? And if you didn't notice, i called "gwibber-accounts" and you called "gwibber -accounts". Note the extra blank in between.

Apart from that this seems like some missing dependency here.
Comment 11 Eduard Beliaev 2012-08-26 02:33:43 CEST
Simply opens the initial window of gwibber and nothing more. Will test now from Mageia 2 x86 because I am running some tests on a VM.

/*And again, what happens, when you just call gwibber
without options*/

As I said before /*I have the same errors like Dave Hodgins.*/.

Sorry.
Comment 12 Eduard Beliaev 2012-08-26 03:36:56 CEST
I had better results with Mageia 2 x86/i568, now with gwibber-accounts or gwibber.

gwibber: opens the initial window and another to create accounts.

gwibber-accounts: opens only the window to create accounts.

I can create some accounts with buzz or digg but I can't with twitter or StatusNet, also it's very buggy.
Comment 13 Eduard Beliaev 2012-08-26 03:52:24 CEST
On Mageia 2 x86_64 with "$ gwibber-accounts" doesn't show a window, only the same errors and kills himself.
Comment 14 Dave Hodgins 2012-08-26 10:27:10 CEST
Created attachment 2673 [details]
strace running gwibber, selecting edit/accounts

If I run gwibber, then select edit/accounts, nothing
happens in the gui.

In the console output, I just get another copy of the
traceback shown in comment 6.

This happens on both Mageia 2 i586 and x86-64.

I'm attaching strace output, where I ran gwibber, then
selected edit/accounts, which may be more useful.
Comment 15 Dave Hodgins 2012-08-26 11:16:05 CEST
Created attachment 2674 [details]
Image of gwibber dialog

Don't know if this helps or not, but the attached image
shows what gwibber is showing both before and after I
select Edit/Accounts.
Comment 16 Dave Hodgins 2012-09-01 19:07:52 CEST
Florian, if you (or anyone else) has gwibber working, please
run "strace -f -ostrace.txt gwibber", select edit/accounts,
then close gwibber and attach the strace.txt file to the bug
report.

I'm guessing that there is a missing dependency.  With the strace
output, I should be able to figure out which package(s) is/are
needed.
Comment 17 Florian Hubold 2012-09-03 21:12:23 CEST
Created attachment 2744 [details]
part of strace output from gwibber

As i removed configuration prior to starting gwibber, the account windows opens directly on startup. Attached is the strace output, i'm only pasting the relevant part until it does not access any more files/libraries. Can post the full thing if you want it.
Comment 18 Dave Hodgins 2012-09-07 03:02:21 CEST
Based on the packages owning files accessed in that trace,
I've installed the following packages ...

To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "Core Release")
  fontpackages-filesystem        1.44         4.mga1        noarch  
  gir-repository                 0.6.6        0.20100907.3> x86_64  
  python-pyxml                   0.8.4        17.mga1       x86_64  
(medium "Core Updates Testing")
  adwaita-gtk3-theme             3.4.2        1.mga2        x86_64  
  lib64wnck3_0                   3.4.2        1.mga2        x86_64  
  libwnck3                       3.4.2        1.mga2        x86_64  
(medium "Core 32bit Release")
  gnome-icon-theme-symbolic      3.4.0        1.mga2        noarch  
(medium "Core 32bit Updates Testing")
  abattis-cantarell-fonts        0.0.9        1.mga2        noarch

But, it's still not working. Please post the full strace,
or if it's too large for bugzilla, email it to me.  Thanks.
Comment 19 Stefano Negro 2012-09-11 10:11:58 CEST
I confirm that on mga2 x86_64 gwibber-accounts is crashing:

[stefano@localhost ~]$ gwibber-accounts 
Traceback (most recent call last):
  File "/usr/bin/gwibber-accounts", line 31, in <module>
    from gi.repository import Gtk, Wnck
  File "/usr/lib64/python2.7/site-packages/gi/importer.py", line 76, in load_module
    dynamic_module._load()
  File "/usr/lib64/python2.7/site-packages/gi/module.py", line 222, in _load
    version)
  File "/usr/lib64/python2.7/site-packages/gi/module.py", line 90, in __init__
    repository.require(namespace, version)
gi.RepositoryError: Requiring namespace 'Gtk' version '2.0', but '3.0' is already loaded

Loaded after installation of task-gnome-minimal.
Gwibber dependencies on installation were :

root@localhost stefano]# urpmi gwibber
Per soddisfare le dipendenze di "typelib(WebKit)" serve uno dei seguenti pacchetti:
 1- lib64webkit-gir3.0-1.8.1-1.mga2.x86_64: GObject Introspection interface description for webkit (da installare)
 2- lib64webkit-gir1.0-1.8.1-1.mga2.x86_64: GObject Introspection interface description for webkit (da installare)
Quale scegli? (1-2) 1
Per soddisfare le dipendenze, saranno installati i seguenti pacchetti:
  Pacchetto                      Versione     Release       Arch.   
(supporto "Core Release (distrib1)")
  gwibber                        3.4.0        1.mga2        x86_64  
  lib64dbusmenu-gir0.4           0.5.1        1.mga2        x86_64  
  lib64dbusmenu-glib4            0.5.1        1.mga2        x86_64  
  lib64dee1.0_4                  1.0.0        1.mga2        x86_64  
  lib64gnome-keyring-gir1.0      3.4.1        1.mga2        x86_64  
  lib64gwibber2                  3.4.0        1.mga2        x86_64  
  lib64indicate-gir0.6           0.6.1        3.mga2        x86_64  
  lib64indicate5                 0.6.1        3.mga2        x86_64  
  lib64jscore-gir3.0             1.8.1        1.mga2        x86_64  
  lib64notify-gir0.7             0.7.5        1.mga2        x86_64  
  lib64webkit-gir3.0             1.8.1        1.mga2        x86_64  
  python-oauth                   1.0.1        3.mga1        x86_64

CC: (none) => stblack

Comment 20 Stefano Negro 2012-09-11 10:23:22 CEST
the same bug in ubuntu seems to be solved in the release 3.4.1.
https://bugs.launchpad.net/gwibber/+bug/957272
Comment 21 claire robinson 2012-09-17 10:16:12 CEST
Assigning Florian.

Please reassign to QA when you've had a chance to look at this.

Thanks!

CC: (none) => qa-bugs
Assignee: qa-bugs => doktor5000

Comment 22 Otto Leipälä 2013-03-02 17:03:26 CET
I installed it from updates testing and noticed there is still missing dependencies lib64wnck-gir3.0,and noticed that is containing same package inside rpm,how ubuntu solved that same problem and added it as dependencies of newer gwibber build.In mageia that packages is named differently than in ubuntu,so can somebody rebuild that gwibber and add it as dependencies ?.

CC: (none) => ozkyster

Comment 23 Manuel Hiebel 2013-11-22 23:01:13 CET
Mageia 2 changed to end-of-life (EOL) status on ''22 November''. Mageia 2 is no
longer maintained, which means that it will not receive any further security or
bug fix updates. As a result, as this bug should be fixed in mga3, an as this update was validated we are closing it.

--
The Mageia Bugsquad

Status: ASSIGNED => RESOLVED
Resolution: (none) => OLD


Note You need to log in before you can comment on or make changes to this bug.