python 2.5 -> 2.6 import module pymsn

Bug #338957 reported by Quentin Lampin
66
This bug affects 3 people
Affects Status Importance Assigned to Milestone
telepathy-butterfly (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Empathy cannot connect to msn accounts.
launching telepathy-butterfly after setting $BUTTERFLY_PERSIST to 1 and $BUTTERFLY_DEBUG=all, we get some useful informations.
telepathy-butterfly is trying to import the module pymsn. The problem is that it's using python 2.6 and that the pymsn module is in the python2.5 modules directories as shown by:
 quentin@quentin-laptop-eee:~$ find /usr/lib/ -name pymsn*
/usr/lib/python2.5/site-packages/pymsn-0.3.3.egg-info
/usr/lib/python2.5/site-packages/pymsn

Switching back to python2.5 solves the issue but it's a temporary fix.

quentin@quentin-laptop-eee:~$ apt-cache policy pymsnt
pymsnt:
  Installé : 0.11.3-4
  Candidat : 0.11.3-4
 Table de version :
 *** 0.11.3-4 0
        500 http://fr.archive.ubuntu.com jaunty/universe Packages
        100 /var/lib/dpkg/status

quentin@quentin-laptop-eee:~$ lsb_release -rd
Description: Ubuntu jaunty (development branch)
Release: 9.04

description: updated
Revision history for this message
William Grant (wgrant) wrote :

The package in question is python-msn, not pymsnt. It works fine for me here - try reinstalling python-msn.

Changed in telepathy-butterfly:
status: New → Incomplete
Revision history for this message
Quentin Lampin (quentin-lampin) wrote :

My bad, the package is python-msn (and it's installed). Anyway, the problem seems to affect the migration of python modules version 2.5 to 2.6. As I stated above, switching from 2.6 to 2.5 solved the problem. I don't know what it means, perhaps is it necessary to port python-msn to python 2.6 or to make python 2.5 modules available in 2.6.
by the way, here is the correct apt-cache policy output:
quentin@quentin-laptop-eee:~$ apt-cache policy python-msn
python-msn:
  Installé : 0.3.3-0ubuntu2
  Candidat : 0.3.3-0ubuntu2
 Table de version :
 *** 0.3.3-0ubuntu2 0
        500 http://fr.archive.ubuntu.com jaunty/universe Packages
        100 /var/lib/dpkg/status

Revision history for this message
Quentin Lampin (quentin-lampin) wrote :

I found a solution for this bug:
First make sure that /usr/bin.python is a symlink pointing to /usr/bin/python2.6
then
sudo dpkg-reconfigure python-msn

Revision history for this message
Quentin Lampin (quentin-lampin) wrote :

Just make sure that python-msn has been configured against python 2.6

Changed in telepathy-butterfly:
status: Incomplete → Fix Committed
Revision history for this message
Laurent Bigonville (bigon) wrote :

I think that this bug could be closes

Changed in telepathy-butterfly (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.