[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Capi-Treiber installieren, Debian-Etch



Am Dienstag, 31. Oktober 2006 10:16 schrieb Kloss.B:

capisuitefax funktioniert nicht mit python2.4:
> zeus:/treiber/capi# /usr/bin/capisuitefax -d 3241655
> /treiber/capi/testfax.ps Traceback (most recent call last):
>   File "/usr/bin/capisuitefax", line 16, in ?
>     import cs_helpers
> ImportError: No module named cs_helpers
> zeus:/treiber/capi#                          
>
> Rumgegoogelt:********************************************************
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=385367
>
> capisuitefax currently does not run, it does not find the
> cs_helper module.
>
> Reason: Debian now uses python 2.4, while capisuitfax puts the module in
> the python 2.3 path. (Workaround:  run   python2.3 capisuitefax
> ...)*************


So geht es:
Im capisuitefax-Skript steht in der ersten Zeile:

#!/usr/bin/python
Das heisst: wann immer das skript gestartet wird, wird in Wirklichkeit
der Befehl
/usr/bin/python /usr/bin/capisuitefax ...
ausgeführt. 
Es reicht also, in der ersten Zeile
#!/usr/bin/python2.3
einzutragen - ab sofort wird immer
/usr/bin/python2.3 /usr/bin/capisuitefax ...
ausgeführt, wenn das skript von der shell gestartet wird.

Gruß
B. Kloss



Reply to: