Skip to Content.
Sympa Menu

postfilter - Re: [Postfilter] Captcha sound hiba

postfilter AT lists.kfki.hu

Subject: Postfilter mailing list

List archive

Re: [Postfilter] Captcha sound hiba


Chronological Thread 
  • 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...

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.

Ha a fenti részlet jó akkor nem értem mi a gond az egésszel!

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


Archive powered by MHonArc 2.6.19+.

Top of Page