[rt-users] RT SVN Integration PullUpdate.html unknown user error

Barry L. Kline blkline at attglobal.net
Mon Oct 10 19:29:20 EDT 2005


Max wrote:
> I've successfully installed the RT::SVN::Integration options, setup 
> everything appropriately according to the README, and I'm getting the 
> following errors with it dying on line 44 when trying to use curl and 
> the webpath, as an unknown user:
> 
> error:  Unknown user at /opt/rt3/share/html/SVN/PullUpdate.html line 44.
> context:     
> ...     
> 40:      $user->LoadByCols( Gecos => $actor );
> 41:      }
> 42:     
> 43:      unless ( $user->id ) {
> 44:      die "Unknown user";
> 45:      }
> 46:     
> 47:      my $ticket;
> 48:      my $update_msg = '';
> ...     
> code stack:      /opt/rt3/share/html/SVN/PullUpdate.html:44
>                 /opt/rt3/share/html/autohandler:215
> 

I've isolated this problem to something interesting.  I added the 
following line in the PullUpdate.html file:

$RT::Logger->error("Rev: $rev   Actor: $actor");    <-------- Added
my $user = RT::CurrentUser->new($actor);
unless ( $user->id ) {
     $user->LoadByCols( Gecos => $actor );
}

unless ( $user->id ) {
     die "Unknown user";
}

and in the log am getting the following:

Oct 10 19:16:45 rt RT: Rev: 114   Actor: klinebl 
(/opt/rt3/share/html/SVN/PullUpdate.html:39)


The $actor variable contains the name of the user (me) who commited the 
change... not the "RT-SVN" user that Max created.  Since klinebl is not 
an RT user the error message "Unknown user" is correct.  The version of
subversion is:  subversion-1.1.1-2.1, compiled for RHEL 4.

Does this point to the problem?

Barry



More information about the rt-users mailing list