Bug#476905: gnome-orca: Orca gives a "cannot start" error now that Python 2.5 is the Debian default in Sid

Mario Lang mlang at debian.org
Sun Apr 20 13:06:36 UTC 2008


Jason White <jason at jasonjgw.net> writes:

> Package: gnome-orca
> Version: 2.22.1-1.1
> Severity: normal
>
> Now that Python 2.5 is the default /usr/bin/python in Sid, Orca gives an

> error ("cannot connect to the desktop") and terminates during
> startup.
>
> The fix is to change the python path specified in the /usr/bin/orca script to
> refer to Python 2.5:
> PYTHONPATH=${PYTHONPATH}:${exec_prefix}/lib/python2.5/site-packages

Actually, I think the correct fix is to remove the code altogether.

> With this change, Orca starts up properly.
>
> I suppose you could also change the python command in /usr/bin/orca to refer
> to a particular version of Python instead of whatever the /usr/bin/python
> symlink refers to.

As you can verify with:
$ ls -d /var/lib/python-support/python2.?/orca
/var/lib/python-support/python2.4/orca  /var/lib/python-support/python2.5/orca
orca is already compiled for both python versions (2.4 and 2.5).
The bug IMO is actually the frobbing of PYTHON_PATH, which I am going
to remove in the next upload, thanks.

-- 
CYa,
  ⡍⠁⠗⠊⠕ | Debian Developer <URL:http://debian.org/>
  .''`. | Get my public key via finger mlang at db.debian.org
 : :' : | 1024D/7FC1A0854909BCCDBE6C102DDFFC022A6B113E44
 `. `'
   `-      <URL:http://delysid.org/>  <URL:http://www.staff.tugraz.at/mlang/>






More information about the pkg-gnome-maintainers mailing list