Bug 712152

Summary: [abrt] telepathy-sunshine-0.2.0-1.fc14: protocol.py:33:<module>:AttributeError: 'module' object has no attribute 'Protocol'
Product: [Fedora] Fedora Reporter: Maciek Borzecki <maciek.borzecki>
Component: telepathy-sunshineAssignee: Julian Sikorski <belegdol>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: bdpepple, belegdol
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:bfc3523d
Fixed In Version: python-telepathy-0.15.19-2.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-28 20:29:36 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:
Bug Depends On: 631458    
Bug Blocks:    
Attachments:
Description Flags
File: backtrace none

Description Maciek Borzecki 2011-06-09 15:40:22 UTC
abrt version: 1.1.18
architecture: i686
Attached file: backtrace, 7637 bytes
component: telepathy-sunshine
executable: /usr/libexec/telepathy-sunshine
kernel: 2.6.35.13-91.fc14.i686
package: telepathy-sunshine-0.2.0-1.fc14
reason: protocol.py:33:<module>:AttributeError: 'module' object has no attribute 'Protocol'
release: Fedora release 14 (Laughlin)
time: 1307633925
uid: 500

comment
-----
started crashing after latest update, relevant output from yum history info:
Packages Altered:
    Updated sssd-1.5.7-1.fc14.i686
    Update       1.5.8-1.fc14.i686
    Updated sssd-client-1.5.7-1.fc14.i686
    Update              1.5.8-1.fc14.i686
    Updated telepathy-sunshine-0.1.8-2.fc14.noarch
    Update                     0.2.0-1.fc14.noarch

How to reproduce
-----
1. setup a gadu-gadu account in empathy
2.  wait
3.

Comment 1 Maciek Borzecki 2011-06-09 15:40:24 UTC
Created attachment 503924 [details]
File: backtrace

Comment 2 Julian Sikorski 2011-06-10 04:37:56 UTC
I am definitely not seeing this on fc15. Is the problem happening every time you start empathy?

Comment 3 Maciek Borzecki 2011-06-10 05:50:48 UTC
Yes, each time empathy is started and gadu is enabled I see the crash. I looked into protocol.py and the SunshineProtocol is defined as follows:

import telepathy
...
class SunshineProtocol(telepathy.server.Protocol,
                        telepathy.server.ProtocolInterfacePresence,
                        ProtocolInterfaceAvatars):

Then looking into ../python/site-packages/telepathy/server Protocol class does not pop up anywhere. 
The tree for telepathy-python here http://cgit.freedesktop.org/telepathy/telepathy-python/ shows that protocol.py (which includes Protocol class) was added between 0.15.18 and 0.15.19. I guess F14 needs a backport of python-telepathy from F15.

Comment 4 Julian Sikorski 2011-06-10 06:01:37 UTC
Sorry about that, I forgot about that requirement. I'm CCing the python-telepathy maintainer.

Comment 5 Brian Pepple 2011-06-14 15:07:25 UTC
Ugh... I really don't like updating libraries in our stable releases. Let me look to see that it doesn't negatively effect papyon & tp-butterfly, and I look into updating it. Please in the future, use more care before pushing updates into our stable branches.

Comment 6 Julian Sikorski 2011-06-14 15:27:46 UTC
Yeah, sorry about that, it is definitely my mistake. I asked for the update since according to koji you tried to build it already, and I assumed it was not pushed solely due to build failure.

Comment 7 Brian Pepple 2011-06-14 16:24:10 UTC
(In reply to comment #6)
> Yeah, sorry about that, it is definitely my mistake. I asked for the update
> since according to koji you tried to build it already, and I assumed it was not
> pushed solely due to build failure.

I've approved your commit request, so if you want to look into building python-telepathy for F14 you can, since it will probably be a few days before I'll get a chance to look into it.

Comment 8 Julian Sikorski 2011-06-14 19:52:11 UTC
Maciek, please try the package from koji:
https://koji.fedoraproject.org/koji/buildinfo?buildID=247764
I was using an equivalent one for some time on f14, but I'd rather be safe than sorry again.

Comment 9 Fedora Update System 2011-06-14 21:21:34 UTC
python-telepathy-0.15.19-2.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/python-telepathy-0.15.19-2.fc14

Comment 10 Fedora Update System 2011-06-15 18:31:09 UTC
Package python-telepathy-0.15.19-2.fc14:
* should fix your issue,
* was pushed to the Fedora 14 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing python-telepathy-0.15.19-2.fc14'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/python-telepathy-0.15.19-2.fc14
then log in and leave karma (feedback).

Comment 11 Fedora Update System 2011-06-28 20:29:32 UTC
python-telepathy-0.15.19-2.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.