Bug 63547 - Can't add signature from script output
Summary: Can't add signature from script output
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-01 01:54 UTC by Iván Sánchez Ortega
Modified: 2007-09-14 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Iván Sánchez Ortega 2003-09-01 01:54:54 UTC
Version:           1.5.9 (using KDE 3.1.9)
Compiler:          gcc version 3.3.2 20030812 (Debian prerelease)
OS:          Linux (i686) release 2.4.21-1-k7-smp

I upgraded recently to one of the lastest CVS snapshots of Kmail, and now, everytime that the composer pops to reply or compose a new mail, a dialog pops out, saying something like:

"Fallo al ejecutar el script de firma
/home/ivan/scripts/firmacorreo.php:
Unknown error 255"

(in english: "Error when executing signature script, blablabla")

The script is a fairly complicated PHP script (starting with "#!/usr/bin/php4" so that it's runnable from a console) that does nothing but print a random signature to standard output. It worked with kmail until now.
Comment 1 Iván Sánchez Ortega 2003-09-01 03:15:26 UTC
Subject: Re:  New: Can't add signature from script output

> The script is a fairly complicated PHP script (starting with
> "#!/usr/bin/php4" so that it's runnable from a console) that does nothing
> but print a random signature to standard output. It worked with kmail until
> now.

Update: my script was *not* working well. In fact, it was crashing (returning 
-1 as well).

Question: Should Kmail paste the errorr from the script, or pop the 
not-very-helpful dialog? IMHO the error output is helpful for debugging, but 
perhaps you've changed the behaviour for some reason (knode still outputs the 
error).

Sorry for the bogus bug. My fault.

Comment 2 Iván Sánchez Ortega 2003-09-01 04:01:27 UTC
Bogus bug, closing