[solved] fedora 16 empathy can't login msn (解决fedora16不能登录msn的问题)

安装了fedora 16, 发现empathy 不能登录了, 按照网上说的“ killall telepathy-butterfly ” 也无济于事。



最后在papyon的git仓库中找到了答案(msn的服务器变更了)

http://cgit.collabora.com/git/user/maiku/papyon.git/commit/?h=bug-42689&id=011201e47004538e732f247bfeb21634c6e1d97f



The ABFindAll and FindMembership requests were getting HTTP 301Permanently Moved responses with empty ABFindAllResponse nodes.This was causing an assertion when trying to access a nonexistentpart of the ABFindAllResponse packet and therefore impossibleto log in.This patch replaces occurrences of the obsolete 'contacts.msn.com'with the preferred address (according to the responses) of  'local-bay.contacts.msn.com'.




这是大家在 bugzilla.上的讨论

https://bugzilla.redhat.com/show_bug.cgi?id=750884


这个bug好像已经提交了, 之后的升级应该会解决这个问题的。




解决方法:


修改:

/usr/lib/python2.7/site-packages/   下的3个文件:


注意3个文件是不一样的。


--- a/papyon/service/description/AB/__init__.py
+++ b/papyon/service/description/AB/__init__.py

@@ -20,7 +20,7 @@
name = "AB"
description = "Hotmail address book service"
-url = "http://contacts.msn.com/abservice/abservice.asmx"
+ url = "http://local-bay.contacts.msn.com/abservice/abservice.asmx"
from constants import *
diff --git a/papyon/service/description/Sharing/__init__.py b/papyon/service/description/Sharing/__init__.py
index 20423c9..253c972 100644
--- a/ papyon/service/description/Sharing/__init__.py
+++ b/ papyon/service/description/Sharing/__init__.py
@@ -20,7 +20,7 @@
name = "Sharing"
description = "Membership address book service"
-url = "http://contacts.msn.com/abservice/SharingService.asmx"
+ url = "http://local-bay.contacts.msn.com/abservice/SharingService.asmx"
import FindMembership
import AddMember
diff --git a/papyon/service/description/SingleSignOn/RequestMultipleSecurityTokens.py b/papyon/service/description/SingleSignOn/RequestMultipleSecurityTokens.py
index 42d7497..af7b6f3 100644
--- a/ papyon/service/description/SingleSignOn/RequestMultipleSecurityTokens.py
+++ b/ papyon/service/description/SingleSignOn/RequestMultipleSecurityTokens.py
@@ -21,7 +21,7 @@
import xml.sax.saxutils as xml

class LiveService(object):
- CONTACTS = ("contacts.msn.com", "MBI")
+ CONTACTS = ("local-bay.contacts.msn.com", "MBI")
MESSENGER = ("messenger.msn.com", "?id=507")
MESSENGER_CLEAR = ("messengerclear.live.com", "MBI_KEY_OLD")
MESSENGER_SECURE = ("messengersecure.live.com", "MBI_SSL")


更改完成后, 把msn帐号删除, 然后再添加一次, 就可以正常登录了。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值