Guten Tag Nalini VK,
am Mittwoch, 5. Dezember 2007 um 00:02 schrieben Sie:
> Hi Thorsten,
>
> Thanks...
You should always answer to the list, which increases your chance that
someone can halp you.
> Yes, I had manually configured the glue.
Maybe "REPOS" did contain some spaces? If you just copy the
template-hook this maybe become a problem, I didn't use the SCMBug-way
to install glues so I don't know if spaces in paths where specially
treated in some way or if there isn't a problem at all becaus Perl
parses the command line in the right way.
"C:/Perl/bin/perl" -I %REPOS%/hooks/lib/scmbug
%REPOS%/hooks/bin/scmbug_activity.pl %REPOS%/hooks/etc/scmbug/glue.conf
activity_commit %REPOS% %REV% >&2
> *******************************************
> **
> **
> ** Scmbug error 24: The daemon-spawned connection handler exited
> abnormally. Please check the daemon error logs.
> **
> **
> *******************************************
>
> Error.log shows:-
> "Thread 7 terminated abnormally: Undefined subroutine
> &Scmbug::Daemon::Process::sendmail called at C:/Program
> Files/Scmbug/share/scmbug/lib/Scmbug/Daemon/Process.pm line 1189, <GEN6>
> line 38."
The mentioned line is the following
if ( !sendmail(%mail) ) {
in the following sub.
It seems you did configure mail notifications on commits in your glue
configuration for this repository which at least seem to depend on an
Perl-module for using sendmail. Maybe this isn't installed on your
system? Use ppm and it's GUI to make sure. What does you
configuration for mails on success look like in the glue.conf? You
should provide a SMTP server because theres no default sendmail on
localhost with Windows.
sub mail_notification_send_mail {
my $self = shift;
my ($request, $subject, $message, $mailing_list) = ( @_ );
my %mail;
# Set values. This permits users to override the default behavior
# of Mail::Sendmail
%mail = %{ $request->{ policies }->{ mail_notification }->{ mail_settings }
};
%mail->{ 'X-Mailer' } = "Mail::Sendmail version $Mail::Sendmail::VERSION";
%mail->{ Subject } = $subject;
%mail->{ Message } = $message;
#
# Since we just reset %mail to values, we haven't really picked up
# the To,From,Reply-To that were computed. We do this next
#
# Don't blindly ignore the To list that was computed
my $mailing_list_to = $self->emails_to_csv( $mailing_list->{ To } );
%mail->{ To } = $mailing_list_to;
# Don't blindly ignore the From list that was computed
my $mailing_list_from = $self->emails_to_csv( $mailing_list->{ From } );
%mail->{ From } = $mailing_list_from;
# Don't blindly ignore the 'Reply-To' list that was computed
my $mailing_list_replyto = $self->emails_to_csv( $mailing_list->{
'Reply-To' } );
%mail->{ 'Reply-To' } = $mailing_list_replyto;
if ( !sendmail(%mail) ) {
my $msg = "Sending mail on " . $request->{ name } .
" failed. Log error was:\n" . $Mail::Sendmail::error . "\n";
$request->add_result(1, $msg);
}
}
Mit freundlichen Grüßen,
Thorsten Schöning
--
Thorsten Schöning
AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig
Telefon: Potsdam: 0331-743881-0
E-Mail: [EMAIL PROTECTED]
Web: http://www.am-soft.de
AM-SoFT Potsdam GmbH, Konsumhof 1-5, 14482 Potsdam
Amtsgericht Potsdam HRB 12480, Geschäftsführer Andreas Muchow
_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users