Let me state at the outset that I am not a Perl programmer. I have
been programming for 17 years in C/C++, Pascal and Assembly (among
others) mostly on MS OSs.
I have been tasked with setting up a new SCM system for my company and
our clients. I've spent the last two weeks working through the issues.
I'm down to the wire now (my dead-line is tomorrow July 24th).
I have the following setup and working:
Apache 2.2.8
MySQL 5.0.51a
PHP 5.2.5
Bugzilla 3.0.8
ActivePerl 5.8.9.826
Subversion 1.5.6
All of this is running on WinXP sp3 with all of the latest security patches.
I am trying to use ScmBug 0.26.15.
I have all of the software (except for ScmBug) installed on the D: drive
of our file server. The Bugzilla and SVN databases are installed on the
J: drive (which is a local drive).
The ScmBig daemon is running and the activity log displays the following
when I start it up:
*2009/07/23 09:12:53 Scmbug WARN>
Daemon.pm:81:Scmbug::Daemon::Daemon::read_configuration - Read
configuration file 'J:/Scmbug/etc/scmbug/daemon.conf'
2009/07/23 09:12:54 Scmbug WARN>
Daemon.pm:614:Scmbug::Daemon::Daemon::connection_thread - Server started
on port '3872' (threaded mode)*
When I try to install the glue I get the following results:
*J:\ScmBug\bin>scmbug_install_glue.pl --scm=Subversion --product=repos
--reposito
ry=file://J:/SVN/repos --bug=2 --daemon=127.0.0.1
--binary-paths="/bin,D:/Subver
sion,D:/Subversion/bin,D:/cygwin/bin,J:/Bugzilla"
This is the installation script of the Scmbug glue.
The glue will be installed in repository: file://J:/SVN/repos.
This is a repository for the Subversion SCM tool.
The product name in the bug tracking system is repos.
The integration glue will be committed against bug 2.
The IP address of the Scmbug integration daemon to contact is 127.0.0.1.
The binary paths used are:
/bin,D:/Subversion,D:/Subversion/bin,D:/cygwin/bin,J
:/Bugzilla.
-------------
Press Enter to continue or Ctrl-C to cancel
2009/07/23 09:45:38 Processing activity
2009/07/23 09:45:39 Submitting request
Unable to change into file://J:/SVN/repos/hooks at
J:/Scmbug/share/scmbug/lib//S
cmbug/Tools/SCM_Functions.pm line 61.
J:\ScmBug\bin>*
And the ScmBug activity log adds the following lines:
*
2009/07/23 10:08:32 Scmbug WARN>
Daemon.pm:659:Scmbug::Daemon::Daemon::connection_handler_thread -
127.0.0.1:1204 Processing connection from NUL NUL SOH
2009/07/23 10:08:32 Scmbug WARN>
Process.pm:111:Scmbug::Daemon::Process::process_connection -
127.0.0.1:1204 Processing an 'activity_ok'.
2009/07/23 10:08:32 Scmbug WARN>
Daemon.pm:674:Scmbug::Daemon::Daemon::connection_handler_thread -
127.0.0.1:1204 Connection from NUL NUL SOH processed*
The offending block of code is:
* # As of Subversion 1.0.0, hooks cannot be installed
# remotely. Local access is required, thus there will be no
# checkout of the tree.
my $local_dir = local_repository_directory( $scm_description );
chdir( $local_dir ) or die "Unable to change into " . $local_dir;*
In my daemon.conf I had to set the installation_directory to:
* # Used for Bugzilla and RequestTracker.
#
# Path to the directory of the bugtracker sources providing an
# API that the daemon can use
installation_directory => 'J:/ScmBug/share/scmbug/lib/Scmbug/Daemon',*
because the ScmBug daemon wouldn't run at all if I set it to:
* # Used for Bugzilla and RequestTracker.
#
# Path to the directory of the bugtracker sources providing an
# API that the daemon can use
installation_directory => 'D:/Bugzilla,*
And if I copy the* /ScmBug/share/scmbug/lib/Scmbug/Daemon/Bugzilla.pm*
to *D:/Bugzilla* then Bugzilla refuses to run.
Obviously I am missing something. I have been researching this issue
for two days and can't find any references to the "*Unable to change
into*" message or to *SCM_Functions.pm*.
Any help would be greatly appreciated!
--
*Martin Goff*
Software Development Alternatives, Inc.
[email protected] <mailto:[email protected]>
928-632-9946 (work)
928-632-9943 (fax)
"Effective teaching is the essence of leadership..."
_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users