← Back to team overview

gwibber-bugs team mailing list archive

[Bug 577129] Re: ImportError: No module named json - after update-alternatives to python 2.5

 

[Expired for Gwibber because there has been no activity for 60 days.]

** Changed in: gwibber
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Gwibber
Bug Heros, which is subscribed to Gwibber.
https://bugs.launchpad.net/bugs/577129

Title:
  ImportError: No module named json - after update-alternatives to
  python 2.5

Status in Gwibber:
  Expired

Bug description:
  I cannot run Gwibber, installed using apt-get on my Ubuntu 9.10
  desktop after I change the python symlink to 2.5 instead of the
  default python 2.6.

  $ which python
  /usr/bin/python

  $ file /usr/bin/python
  /usr/bin/python: symbolic link to `/etc/alternatives/python'

  $ file /etc/alternatives/python
  /etc/alternatives/python: symbolic link to `/usr/bin/python2.5'

  $ gwibber
  Traceback (most recent call last):
    File "/usr/bin/gwibber", line 55, in <module>
      from gwibber import client
    File "/usr/lib/python2.5/site-packages/gwibber/client.py", line 10, in <module>
      import functools, traceback, webbrowser, mx.DateTime, json, time
  ImportError: No module named json

  $ cat /etc/lsb-release
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=9.10
  DISTRIB_CODENAME=karmic
  DISTRIB_DESCRIPTION="Ubuntu 9.10"

  $ uname -a
  Linux digi05 2.6.31-21-generic #59-Ubuntu SMP Wed Mar 24 07:28:27 UTC 2010 x86_64 GNU/Linux

  If I change the symlink back to 2.6, gwibber launches. fine.  Or if I explicitly set 2.6 in the gwibber launch script
  from #!/usr/bin/python
  to #!/usr/bin/python2.6
  then gwibber will launch just fine as well.

To manage notifications about this bug go to:
https://bugs.launchpad.net/gwibber/+bug/577129/+subscriptions