postfilter AT lists.kfki.hu
Subject: Postfilter mailing list
List archive
- From: Kadlecsik Jozsi <kadlec AT sunserv.kfki.hu>
- To: Balázs Tibor <covek AT covek.hu>
- Cc: postfilter AT sunserv.kfki.hu
- Subject: Re: [Postfilter] Captcha sound hiba
- Date: Mon, 10 Apr 2006 12:32:58 +0200 (MEST)
- List-archive: <http://sunserv.kfki.hu/pipermail/postfilter>
- List-id: Postfilter mailing list <postfilter.lists.kfki.hu>
Szia!
On Sun, 9 Apr 2006, [ISO-8859-1] Balázs Tibor wrote:
Apr 9 19:08:51 localhost captcha.cgi[16753]: warning: Cannot open
output file /usr/local/postfilter/tmp/16753.out: No such file or
directory
Apr 9 19:08:51 localhost captcha.cgi[16753]: warning: Cannot unlink
output file /usr/local/postfilter/tmp/16753.out
Továbbra is csak ennyi.
Nem ertem...
Ha a fenti részlet jó akkor nem értem mi a gond az egésszel!vim /usr/local/postfilter/sbin/captcha.cgi.pl fájlban:
my $cmd = $config->{captcha}->{speech}->{text2wave};
$cmd =~ s/\$input/$input/;
$cmd =~ s/\$output/$output/;
my @cmd = split(/\s+/, $cmd);
$ENV{PATH}='/usr/bin/text2wave';
push(@cmd, qw(> /tmp/captcha.debug 2>&1));
system(@cmd) == 0
or do { warning("Cannot execute $cmd: $?"); exit };
unlink($input)
or do { warning("Cannot unlink input file $input"); exit };
Jó ez így?
Jo. A PATH kornyezeti valtozo tartalma erdektelen, csak legyen
definialva.
Sok otletem nincs, mert ugyanez a captcha.cgi.pl tokeletesen mukodik nalunk. Nem marad mas hatra, mint a reszletes debuggolas.
Kerlek probalkozz a kovetkezore atirt kodreszlettel:
my $cmd = $config->{captcha}->{speech}->{text2wave};
$cmd =~ s/\$input/$input/;
$cmd =~ s/\$output/$output/;
$cmd = "/usr/bin/strace -f -o /tmp/captcha.debug $cmd";
my @cmd = split(/\s+/, $cmd);
$ENV{PATH}='/usr/bin/text2wave';
system(@cmd) == 0
or do { warning("Cannot execute $cmd: $?"); exit };
Remelem, van a gepen /usr/bin/strace. Utana kuldd el a /tmp/captcha.debug file-t.
Udvozlettel,
Jozsi
--
E-mail :
kadlec AT sunserv.kfki.hu,
kadlec AT blackhole.kfki.hu
PGP key: http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address: KFKI Research Institute for Particle and Nuclear Physics
H-1525 Budapest 114, POB. 49, Hungary
- Re: [Postfilter] Captcha sound hiba, (continued)
- Re: [Postfilter] Captcha sound hiba, Kadlecsik Jozsi, 04/04/2006
- Re: [Postfilter] Captcha sound hiba, Balázs Tibor, 04/04/2006
- Re: [Postfilter] Captcha sound hiba, Kadlecsik Jozsi, 04/05/2006
- Re: [Postfilter] Captcha sound hiba, Balázs Tibor, 04/05/2006
- Re: [Postfilter] Captcha sound hiba, Kadlecsik Jozsi, 04/07/2006
- Re: [Postfilter] Captcha sound hiba, Kadlecsik Jozsi, 04/07/2006
- Re: [Postfilter] Captcha sound hiba, Kadlecsik Jozsi, 04/08/2006
- Re: [Postfilter] Captcha sound hiba, Balázs Tibor, 04/09/2006
- Re: [Postfilter] Captcha sound hiba, Kadlecsik Jozsi, 04/09/2006
- Re: [Postfilter] Captcha sound hiba, Balázs Tibor, 04/09/2006
- Re: [Postfilter] Captcha sound hiba, Kadlecsik Jozsi, 04/10/2006
- Re: [Postfilter] Captcha sound hiba, Balázs Tibor, 04/10/2006
- Re: [Postfilter] Captcha sound hiba, Kadlecsik Jozsi, 04/10/2006
- Re: [Postfilter] Captcha sound hiba, Balázs Tibor, 04/10/2006
- Re: [Postfilter] Captcha sound hiba, Kadlecsik Jozsi, 04/10/2006
- Re: [Postfilter] Captcha sound hiba, Kadlecsik Jozsi, 04/10/2006
- Re: [Postfilter] Captcha sound hiba, Balázs Tibor, 04/10/2006
- Re: [Postfilter] Captcha sound hiba, Balázs Tibor, 04/10/2006
- Re: [Postfilter] Captcha sound hiba, Kadlecsik Jozsi, 04/11/2006
- Re: [Postfilter] Captcha sound hiba, Balázs Tibor, 04/11/2006
- Re: [Postfilter] Captcha sound hiba, Kadlecsik Jozsi, 04/11/2006
- Re: [Postfilter] Captcha sound hiba, Kadlecsik Jozsi, 04/05/2006
- Re: [Postfilter] Captcha sound hiba, Balázs Tibor, 04/04/2006
- Re: [Postfilter] Captcha sound hiba, Kadlecsik Jozsi, 04/04/2006
Archive powered by MHonArc 2.6.19+.