[pkg-fso-maint] Bug#547510: Bug#547510: zhone refuse to start

Joachim Breitner nomeata at debian.org
Wed Sep 23 18:12:33 UTC 2009


Am Sonntag, den 20.09.2009, 16:25 +0200 schrieb arne anka:
> > Package: zhone
> > Version: 0-git20090610-4
> > Severity: important
> >
> > When trying to start zhone on a new install created with install.sh
> > where python-cairo 1.8.6-1+b2 is installed:
> >
> > # zhone
> > Traceback (most recent call last):
> >   File "/usr/bin/zhone", line 74, in ?
> >     import cairo
> > ImportError: No module named cairo
> 
> 
> it's basically caused by
> - zhone having python2.4 hardcoded as shebang
> - python-cairo not being registered for python2.4
> 
> the most easy workaround is changing "python2.4" to "python" in  
> /usr/bin/zhone line 1.
> but it is probably a bug anyway, wehn python cairo does not register  
> itself for all python versions available on the device.

it seems that this is actually a bug in dh: It seems to call setup.py
twice, once for each version of python, including adjusting the shebang
line. Then, as the the python version tried last ist 2.4, this modified
script is shipped with the package.

I’m not sure what to do differently, thus I’m CC’ing Joey: Is there
something wrong with the way we package zhone (a python script, not a
library)?

Greetings and Thanks,
Joachim
-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20090923/47f32295/attachment.pgp>


More information about the pkg-fso-maint mailing list