Bug 36953 - ImportError: No module named Protocol_Interface_Avatars
Summary: ImportError: No module named Protocol_Interface_Avatars
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: sunshine (show other bugs)
Version: git master
Hardware: Other All
: medium normal
Assignee: Krzysztof Klinikowski
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-07 23:35 UTC by Julian Sikorski
Modified: 2011-05-08 06:01 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Julian Sikorski 2011-05-07 23:35:47 UTC
Seems like the install scripts need to be updated:
$ SUNSHINE_PERSIST=1 SUNSHINE_DEBUG=all /usr/libexec/telepathy-sunshine 
INFO:Sunshine.Connection:Using SSL-like connection.
Traceback (most recent call last):
  File "/usr/libexec/telepathy-sunshine", line 31, in <module>
    from sunshine import SunshineConnectionManager
  File "/usr/lib/python2.7/site-packages/sunshine/__init__.py", line 1, in <module>
    from connection_manager import *
  File "/usr/lib/python2.7/site-packages/sunshine/connection_manager.py", line 25, in <module>
    from sunshine.protocol import SunshineProtocol
  File "/usr/lib/python2.7/site-packages/sunshine/protocol.py", line 27, in <module>
    from sunshine.Protocol_Interface_Avatars import ProtocolInterfaceAvatars
ImportError: No module named Protocol_Interface_Avatars
Comment 1 Krzysztof Klinikowski 2011-05-08 02:14:55 UTC
Try latest commit, please :)
Comment 2 Julian Sikorski 2011-05-08 02:23:32 UTC
I am getting a different error now:

$ SUNSHINE_PERSIST=1 SUNSHINE_DEBUG=all /usr/libexec/telepathy-sunshine 
INFO:Sunshine.Connection:Using SSL-like connection.
Traceback (most recent call last):
  File "/usr/libexec/telepathy-sunshine", line 31, in <module>
    from sunshine import SunshineConnectionManager
  File "/usr/lib/python2.7/site-packages/sunshine/__init__.py", line 1, in <module>
    from connection_manager import *
  File "/usr/lib/python2.7/site-packages/sunshine/connection_manager.py", line 25, in <module>
    from sunshine.protocol import SunshineProtocol
  File "/usr/lib/python2.7/site-packages/sunshine/protocol.py", line 33, in <module>
    class SunshineProtocol(telepathy.server.Protocol,
AttributeError: 'module' object has no attribute 'Protocol'
Comment 3 Krzysztof Klinikowski 2011-05-08 02:25:45 UTC
Which version of telepathy-python do you have? 0.15.19?
Comment 4 Julian Sikorski 2011-05-08 02:28:56 UTC
0.5.18, and there is no 0.5.19 for Fedora 14 so far. I should be getting a new computer tomorrow though and I am planning install Fedora 15 prerelease on it.
Comment 5 Krzysztof Klinikowski 2011-05-08 02:36:05 UTC
Thats a reason why it's not working I think. Protocol object was implemented on 0.15.19 :)
Comment 6 Julian Sikorski 2011-05-08 02:41:02 UTC
OK, 0.5.19 does not build on Fedora 14 for some reason, so it seems unlikely it will be pushed as an update.
I'll test on Fedora 15 prerelease once I have it up and running.
Comment 7 Julian Sikorski 2011-05-08 06:01:08 UTC
OK, I managed to build 0.5.19 and it is working now.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.