Solve the "networkerror" problem encountered during MSN login on Ubuntu10.04

Source: Internet
Author: User
Debian was used all the time. After Ubuntu 10.04 was used, it was found that pidgin was replaced with empathy. Sometimes "networkerror" is prompted when connecting to msn, and empathy cannot be restarted, at first, I thought it was a problem with the msn server. After waiting for two days, I still couldn't do it. Finally, I found a solution on the Internet and shared it with me: killalltelepathy-butterfly and then restart empathy (or re-connect to the msn account )! Empathy

Debian was used all the time. After Ubuntu 10.04 was used, it was found that pidgin was replaced with empathy. Sometimes the system prompts "network error" when connecting to msn, and empathy cannot be restarted, at first, I thought it was a problem with the msn server. After waiting for two days, I still couldn't do it. Finally, I found a solution on the Internet and shared it with me:

Killall telepathy-butterfly
Restart empathy (or re-connect to your msn account )!

Empathy is a token, python-papyon is a python-implemented msn library, and telepathy-butterfly is a python client that completes msn functions.

The original Article is explained as follows:
Telepathy-butterfly is the MSN connection manager for telepathy.
Telepathy is a flexible, modular communications framework that enables real-time communication via pluggable protocol backends.
Empathy uses Telepathy for protocol support and has a user interface based on Gossip.

For how to display nicknames for Empathy MSN chat in ubuntu 10.04 LTS, refer to the following article:

1. Popularity of relationships
Empathy is a token, python-papyon is a python-implemented msn library, and telepathy-butterfly is a python client that completes msn functions.

2. Modification Method
Sudo vim/usr/share/pyshared/papyon/conversation. py
Find the string if message_type =
Found content:

Code:
If message_type = 'text/plain ':
Msg = ConversationMessage (unicode (message. body, message_encoding ),
TextFormat. parse (message_formatting ),
Self. _ last_received_msn_objects)
Try:
Display_name = message. get_header ('p4-context ')


Modify the contents of msg defined in the middle before try after if judgment to the following:

Code:
Try:
Msg = ConversationMessage (unicode ("[" + message. get_header ('p4-context') + "]" + message. body, message_encoding ),
TextFormat. parse (message_formatting ),
Self. _ last_received_msn_objects)
Failed t KeyError:
Msg = ConversationMessage (unicode (message. body, message_encoding ),
TextFormat. parse (message_formatting ),
Self. _ last_received_msn_objects)

Save and restart empathy. The nickname bird is displayed in the msngroup.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.