Bug 577534

Summary: Contacts synchronisation does not work
Product: [Fedora] Fedora Reporter: Pavel Alexeev <pahan>
Component: gajimAssignee: Michal Schmidt <mschmidt>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: mschmidt
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard: abrt_hash:607ede41
Fixed In Version: gajim-0.13.4-1.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-04-15 03:14:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace none

Description Pavel Alexeev 2010-03-27 20:55:11 UTC
abrt 1.0.8 detected a crash.

architecture: i686
cmdline: /usr/bin/python -OO gajim.py
component: gajim
executable: /usr/share/gajim/src/gajim.py
kernel: 2.6.33-1.fc13.i686
package: gajim-0.13.3-3.fc13
reason: dialogs.py:2207:init_contacts:TypeError: get_contacts_jid_list() takes exactly 1 argument (2 given)
release: Fedora release 13 (Goddard)

backtrace
-----
dialogs.py:2207:init_contacts:TypeError: get_contacts_jid_list() takes exactly 1 argument (2 given)

Traceback (most recent call last):
  File "/usr/share/gajim/src/dialogs.py", line 2163, in on_ok_button_clicked
    SynchroniseSelectContactsDialog(self.account, remote_account)
  File "/usr/share/gajim/src/dialogs.py", line 2189, in __init__
    self.init_contacts()
  File "/usr/share/gajim/src/dialogs.py", line 2207, in init_contacts
    local_jid_list = gajim.contacts.get_contacts_jid_list(self.local_account)
TypeError: get_contacts_jid_list() takes exactly 1 argument (2 given)

Local variables in innermost frame:
model: <gtk.ListStore object at 0xa64ee14 (GtkListStore at 0xb056a00)>
self: <dialogs.SynchroniseSelectContactsDialog instance at 0xa1a03ec>

comment
-----
Account history merge does not work.
After select account to merge with nothing happened anymor, and in console appeared:
Traceback (most recent call last):
  File "/usr/share/gajim/src/dialogs.py", line 2163, in on_ok_button_clicked
    SynchroniseSelectContactsDialog(self.account, remote_account)
  File "/usr/share/gajim/src/dialogs.py", line 2189, in __init__
    self.init_contacts()
  File "/usr/share/gajim/src/dialogs.py", line 2207, in init_contacts
    local_jid_list = gajim.contacts.get_contacts_jid_list(self.local_account)
TypeError: get_contacts_jid_list() takes exactly 1 argument (2 given)

Always reproducable.

# rpm -q gajim
gajim-0.13.3-3.fc13.noarch

Comment 1 Pavel Alexeev 2010-03-27 20:55:15 UTC
Created attachment 403040 [details]
File: backtrace

Comment 2 Pavel Alexeev 2010-03-27 20:58:32 UTC
Stupid abrt.

There no crash in gajim, just history merge does not work!

Comment 3 Michal Schmidt 2010-03-27 23:23:23 UTC
Gajim developers know about this bug. It will be fixed in 0.13.4.
Discussion at http://trac.gajim.org/ticket/5570

And abrt is not stupid (at least not in this case :-)). It caught a real error.

Comment 4 Pavel Alexeev 2010-03-27 23:50:46 UTC
(In reply to comment #3)
> And abrt is not stupid (at least not in this case :-)). It caught a real error.    
Abrt mark it as crash in gajim, but there not any crash. I wrote about it and fix title of bug also.


By the problem: thanks, waiting update.

Comment 5 Michal Schmidt 2010-03-28 20:59:42 UTC
(In reply to comment #4)
> Abrt mark it as crash in gajim, but there not any crash.

Well, a part of Gajim crashed even though the rest of Gajim keeps running fine. But this philosophical debate does not really matter :-)

More interesting is that I helped asterix fix the bug in http://trac.gajim.org/ticket/5570 and here's a Gajim build you can test:
http://koji.fedoraproject.org/koji/taskinfo?taskID=2080424

Does it fix the problem for you?

Comment 6 Fedora Update System 2010-03-28 22:17:41 UTC
gajim-0.13.4-0.1.20100328hg.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/gajim-0.13.4-0.1.20100328hg.fc13

Comment 7 Michal Schmidt 2010-03-29 13:27:09 UTC
Changing the title of the bug. If I understand correctly, the function you have a problem with is accessible with Edit -> Accounts -> Administration operations -> Synchronise contacts. Correct me if I'm wrong.

Comment 8 Fedora Update System 2010-04-01 19:30:37 UTC
gajim-0.13.4-0.1.20100328hg.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update gajim'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/gajim-0.13.4-0.1.20100328hg.fc13

Comment 9 Pavel Alexeev 2010-04-03 00:29:08 UTC
Thank you it seams error fixed.

Comment 10 Fedora Update System 2010-04-06 19:57:31 UTC
gajim-0.13.4-1.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update gajim'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/gajim-0.13.4-1.fc13

Comment 11 Fedora Update System 2010-04-15 03:14:52 UTC
gajim-0.13.4-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.