Hallo
I cannot fix the problem. I ran Bugzilla's ./checksetup.pl ? The permission for
my svn repository is root:www.
I send my daemon.conf file.
the error still coming, if I tried to commit my changes with svn.
2010/08/26 13:46:08 Scmbug ERROR>
Bugzilla.pm:1017:Scmbug::Daemon::Bugzilla::integration_get_product_name - Can't
locate object method "new" via package "Bugzilla::Bug" at
/usr/share/scmbug/lib/Scmbug/Daemon/Bugzilla.pm line 1017, <STDIN> line 36.
Thanks
-----Original Message-----
From: Kristis Makris [mailto:[email protected]]
Sent: Thursday, August 19, 2010 7:09 PM
To: Amouzou, Afi Ahoefa
Cc: [email protected]
Subject: Re: [scmbug-users] FW: scmbug error 24
Have you ran Bugzilla's ./checksetup.pl ?
On Thu, 2010-08-19 at 09:54 +0200, Amouzou, Afi Ahoefa wrote:
> Hallo
>
> Here is my configuration. I install Bugzilla in
> /srv/www/htdocs/bugzilla/. I don´t configure the userlist =>{}
> because I don´t know how to do it . Could that be the problem? The
> SVN user muss be a user in Bugzilla?
>
>
>
> Thanks
>
>
>
> Afi
>
>
>
>
>
> #
>
> # This is a template configuration file for the scmbug-server daemon
>
> #
>
> $daemon_configuration = {
>
>
>
> # Describes how logging will be reported, using Log::Log4perl
>
> logging => '
>
> log4perl.category.Daemon = WARN, Logfile
>
>
>
> # Log all daemon activity to a file
>
> log4perl.appender.Logfile = Log::Log4perl::Appender::File
>
> log4perl.appender.Logfile.filename = /var/log/scmbug/activity.log
>
> log4perl.appender.Logfile.layout =
> Log::Log4perl::Layout::PatternLayout
>
> log4perl.appender.Logfile.layout.ConversionPattern = %d Scmbug %p> %
> F{1}:%L:%M - %m
>
> ',
>
>
>
> # Port the daemon will start on
>
> daemon_port => 3872,
>
>
>
> # Pid file the daemon will use
>
> daemon_pidfile => "/var/run/scmbug_daemon.pid",
>
>
>
> daemon_mode => "auto",
>
>
>
> # Configuration information of the bug tracking
>
> # system
>
>
>
> bugtracker => {
>
>
>
> type => 'Bugzilla',
>
> version => '3.6.1',
>
> database_location => '127.0.0.1',
>
> database_port => '3306',
>
> database_vendor => 'mysql',
>
> database_name => 'mydb',
>
> database_username => 'myuser',
>
> database_password => 'mypass',
>
>
>
> installed_locally => 1,
>
>
>
> installation_directory => '/srv/www/htdocs/bugzilla/',
>
>
>
> bug_url_prefix =>
> 'http://127.0.0.1/bugzilla/show_bug.cgi?id=' },
>
>
>
> userlist => {
>
>
>
> # Apply a case sensitive username verification
>
> case_sensitive_username_verification => 1,
>
>
>
> mappings => {
>
>
>
> # Enable SCM username translation. This flag must be
>
> # turned on for any of the mappings that follow to
> apply.
>
> enabled => 0,
>
>
>
> # This is a mapping based on
>
> # LDAP. ldap_scm_username_attribute defines the LDAP
>
> # attribute that will be used to match the SCM
>
> # username. The SCM username will be mapped into the
>
> # bug-tracking username defined by
>
> # ldap_bugtracking_username_attribute.
>
> mapping_ldap => {
>
> enabled => 0,
>
> ldap_server => '127.0.0.1',
>
> ldap_port => '389',
>
> # A binddn (e.g. cn=default) that has access
> to read
>
> # all attributes
>
> ldap_binddn => 'replace_with_binddn',
>
> # The password of the binddn that has access
> to read
>
> # all attributes
>
> ldap_binddn_password =>
> 'replace_with_binddn_password',
>
> # The BaseDN in which to search for the
>
> # ldap_scm_username_attribute
>
> # (e.g. "ou=People,o=Company")
>
> ldap_basedn => 'replace_with_basedn',
>
> # The name of the attribute containing the
> user's SCM
>
> # username
>
> ldap_scm_username_attribute => 'uid',
>
> # The name of the attribute containing the
> user's
>
> # bug-tracking username
>
> ldap_bugtracking_username_attribute => 'mail',
>
> # LDAP filter to AND with the
>
> # ldap_scm_username_attribute for filtering
> the list
>
> # of valid SCM users.
>
> ldap_filter => ''
>
> },
>
>
>
> # This is a mapping based on regular expressions. The
>
> # first expression defines how the SCM username will
> be
>
> # matched. The second defines how it will be
> transformed,
>
> # and uses the unnamed variable $1 that was described
> by
>
> # the first expression. The mapping is checked for a
> match
>
> # as:
>
> # m/$first_regex/
>
> # and is applied as: s/$first_regex/$second_regex/
>
> mapping_regexes => {
>
> enabled => 0,
>
> values => {
>
> # This is an example of mapping a Windows
> Domain
>
> # user from 'DOMAIN\user' to
>
> # 'u...@email_domain.com'
>
> '^DOMAIN\\\\(\w+)$' => '$1
> \...@email_domain.com',
>
> # This is an example of mapping a UNIX
> user from
>
> # 'example_user' to
>
> # '[email protected]'
>
> '^(\w+)$' => '[email protected]'
>
> }
>
> },
>
>
>
> # This is a one-to-one mapping of SCM usernames to
>
> # bugtracking usernames. Mappings in this list
> override
>
> # mappings from mapping_regexes.
>
> mapping_values => {
>
> enabled => 0,
>
> values => {
> #'DOMAIN\\example_user' =>
> '[email protected]',
> #'example_user2' =>
> '[email protected]'
> }
> }
> }
>
> }
>
> };
>
>
>
>
>
>
>
> From: Yavor Nikolov [mailto:[email protected]]
> Sent: Thursday, August 19, 2010 9:14 AM
> To: Amouzou, Afi Ahoefa
> Cc: [email protected]
> Subject: Re: [scmbug-users] FW: scmbug error 24
>
>
>
>
> Do you have installation_directory properly set?
>
> daemon.conf:
> bugtracker => {
> ...
> installation_directory => '<bugzilla_instalation_directory>'
> ...
> }
> ...
>
>
>
> On Thu, Aug 19, 2010 at 10:03, Amouzou, Afi Ahoefa
> <[email protected]> wrote:
>
>
> Hallo
>
> Thank you. What do you mean by the correct version von Bugzilla? I set
> in /etc/scmbug/daemon.conf the version 3.6.1. This is the version of
> the Bugzilla I installed in my system.
>
>
>
> -----Original Message-----
> From: Kristis Makris [mailto:[email protected]]
> Sent: Wednesday, August 18, 2010 5:19 PM
> To: Amouzou, Afi Ahoefa
> Cc: [email protected]
> Subject: Re: [scmbug-users] scmbug error 24
>
> You need to set in /etc/scmbug/daemon.conf the correct version for
> Bugzilla.
>
> On Wed, 2010-08-18 at 15:23 +0200, Amouzou, Afi Ahoefa wrote:
> >
> > Hallo
> > I am new to SCMBUG. I need to integrate Bugzilla, SVN and SCMBUG.
> > I am using:
> > * Suse Linux 11
> > * Bugzilla 3.6-1
> > * SVN 1.6.6
> > * SCMBUG 0.26.19
> > Wenn I tried to make a commit, I get the error:
> >
> > SVN: Commit failed (details follow)
> > Scmbug error 24: the daemon-spawned connection handler exited
> > abnormally. Please check the daemon error logs.
> >
> > The Daemon error says
> >
> Bugzilla.pm:1017:scmbug::Daemon::Bugzilla::integration_get_product_nam
> > e – c an´t locate object method “new”via package “Bugzilla::Bug” at
> > /usr/share/scmbug/lib/Scmbug/Daemon/Bugzilla.pm line 1017 Can you
> > please help me to fix the probleme
> >
> >
> >
> > Thanks for your help
> >
> > Afi
> >
> >
> >
> > _______________________________________________
> > scmbug-users mailing list
> > [email protected]
> > http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users
> _______________________________________________
> scmbug-users mailing list
> [email protected]
> http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users
>
>
>
>
>
> _______________________________________________
> scmbug-users mailing list
> [email protected]
> http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users
#
# This is a template configuration file for the scmbug-server daemon
#
$daemon_configuration = {
# Describes how logging will be reported, using Log::Log4perl
logging => '
log4perl.category.Daemon = WARN, Logfile
# Log all daemon activity to a file
log4perl.appender.Logfile = Log::Log4perl::Appender::File
log4perl.appender.Logfile.filename = /var/log/scmbug/activity.log
log4perl.appender.Logfile.layout =
Log::Log4perl::Layout::PatternLayout
log4perl.appender.Logfile.layout.ConversionPattern = %d Scmbug %p>
%F{1}:%L:%M - %m
',
# Port the daemon will start on
daemon_port => 3872,
# Pid file the daemon will use
daemon_pidfile => "/var/run/scmbug_daemon.pid",
#
# Execution mode of the daemon. There are 3 options:
#
# - 'threaded'. Multiple threads are created to handle incoming
# connections. This was observed to work well under Windows but
# cause a 3-fold slowdown under UNIX.
#
# - 'forked'. Multiple processes are created to handle incoming
# connections. This was observed to work well under UNIX
# and most Windows systems.
#
# - 'auto'. Automatically chooses between a 'threaded' or 'forked'
# mode.
daemon_mode => "auto",
# Configuration information of the bug tracking
# system
bugtracker => {
# The possible options are:
# - 'Bugzilla'
# - 'Mantis'
# - 'RequestTracker'
# - 'TestDirector'
type => 'Bugzilla',
# This MUST be in the format x.y.z, where x,y,z
# are integers
version => '3.6.1',
database_location => '127.0.0.1',
database_port => '3306',
# Valid values are the ones accepted by the Perl DBI.
#
# For Bugzilla and RequestTracker, this value is ignored
#
# For Mantis, *some* valid values (there are others) are:
# - 'mysql'
# - 'Pg'
database_vendor => 'mysql',
# For RequestTracker these values are ignored
database_name => 'mydb',
database_username => 'myuser',
database_password => 'mypass',
# Used only for Bugzilla.
#
# Flags whether the live bugtracker instance is installed
# locally on the same machine the daemon is running
installed_locally => 1,
# Used for Bugzilla and RequestTracker.
#
# Path to the directory of the bugtracker sources providing an
# API that the daemon can use
installation_directory => '/srv/www/htdocs/bugzilla/',
# Prefix used to display a bug
bug_url_prefix => 'http://127.0.0.1/bugzilla/show_bug.cgi?id=' },
# Translation list of SCM usernames to bug-tracking
# usernames. Mappings based on mapping_ldap are applied
# first. Mappings based on mapping_regexes are applied second and
# can override a mapping based on mapping_ldap. Mappings based on
# mapping_values are applied last and can override all other
# mappings.
userlist => {
# Apply a case sensitive username verification
case_sensitive_username_verification => 1,
mappings => {
# Enable SCM username translation. This flag must be
# turned on for any of the mappings that follow to apply.
enabled => 1,
# This is a mapping based on
# LDAP. ldap_scm_username_attribute defines the LDAP
# attribute that will be used to match the SCM
# username. The SCM username will be mapped into the
# bug-tracking username defined by
# ldap_bugtracking_username_attribute.
mapping_ldap => {
enabled => 0,
ldap_server => '127.0.0.1',
ldap_port => '389',
# A binddn (e.g. cn=default) that has access to read
# all attributes
ldap_binddn => 'replace_with_binddn',
# The password of the binddn that has access to read
# all attributes
ldap_binddn_password => 'replace_with_binddn_password',
# The BaseDN in which to search for the
# ldap_scm_username_attribute
# (e.g. "ou=People,o=Company")
ldap_basedn => 'replace_with_basedn',
# The name of the attribute containing the user's SCM
# username
ldap_scm_username_attribute => 'uid',
# The name of the attribute containing the user's
# bug-tracking username
ldap_bugtracking_username_attribute => 'mail',
# LDAP filter to AND with the
# ldap_scm_username_attribute for filtering the list
# of valid SCM users.
ldap_filter => ''
},
# This is a mapping based on regular expressions. The
# first expression defines how the SCM username will be
# matched. The second defines how it will be transformed,
# and uses the unnamed variable $1 that was described by
# the first expression. The mapping is checked for a match
# as:
# m/$first_regex/
# and is applied as: s/$first_regex/$second_regex/
mapping_regexes => {
enabled => 0,
values => {
# This is an example of mapping a Windows Domain
# user from 'DOMAIN\user' to
# 'u...@email_domain.com'
'^DOMAIN\\\\(\w+)$' => '$...@email_domain.com',
# This is an example of mapping a UNIX user from
# 'example_user' to
# '[email protected]'
'^(\w+)$' => '[email protected]'
}
},
# This is a one-to-one mapping of SCM usernames to
# bugtracking usernames. Mappings in this list override
# mappings from mapping_regexes.
mapping_values => {
enabled => 1,
values => {
#'DOMAIN\\example_user' =>
'[email protected]',
#'example_user2' =>
'[email protected]'
'test' =>'[email protected]'
}
}
}
}
};
_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users