Kristis,

I finally figured it out.
After changes made in /etc/scmbug/daemon.conf server must be restarted,
so the command
/etc/init.d/scmbug-server restart
It seems to me that for some reasons it does not work. I run command 
/etc/init.d/scmbug-server stop
But ps -A still shows that scmbug_daemon is sleeping. I tried to kill
the process... did not work too. Finally, from GUI gnome-system-monitor
I manage to kill it. Once I started the process, everything (mapping,
both regex and straight forward) is working!


Thanks, Roman


-----Original Message-----
From: Kristis Makris [mailto:[EMAIL PROTECTED] 
Sent: Sunday, January 14, 2007 15:21
To: Roman Fisher
Cc: [email protected]; Jun
Subject: Re: Scmbug integration

Hi Roman,

Jun was having the exact same problem:

http://lists.mkgnu.net/pipermail/scmbug-users/2007-January/000741.html

Jun, did you resolve it ?

Roman, did you restart the daemon after changing daemon.conf ?

In any case, I'm attaching the daemon.conf from my production machine at
www.mkgnu.net using Scmbug 0.18.1. Perhaps you missed something ? Some
comma, or a single quote or something ?

On Fri, 2007-01-12 at 00:56 -0500, Roman Fisher wrote:
> Dear Kristis:
> 
> I have a problem mapping SVN users to Bugzilla users in SCMBug:
> 
> commit -m "bug 1:
> 
> product TestProduct: 
> 
> test for svn and glue" C:/Sandbox/myproject/test.xml
> 
>     Sending        C:/Sandbox/myproject/test.xml
> 
>     Transmitting file data ...
> 
>     svn: Commit failed (details follow):
> 
>     svn: Commit failed (details follow):
> 
> svn: 'pre-commit' hook failed with error output:
> 
> Scmbug notice:
> ---------------------------------------------------------
> 
> Scmbug notice: Reading configuration
> 
> Scmbug notice: Checking configuration
> 
> Scmbug notice: Preparing for verification
> 
> Scmbug notice: Processing activity
> 
> Scmbug notice: Submitting request
> 
> Scmbug notice: Request submission was denied
> 
> *******************************************
> 
> **
> 
> **
> 
> ** Scmbug error 7: Bug 1 is not assigned to 'user'. It is assigned to
> ' [EMAIL PROTECTED]'.
> 
> **
> 
> **
> 
> 
> I've tried to play with both configurations (/etc/scmbug/daemon.conf
> and /SVN/hooks/etc/scmbug/glue.conf) and ... no luck!
> 
> I'm still getting this error. I tried to use both regex and simple
> straight forward mapping like user => [EMAIL PROTECTED] - looks like
> nothing is working. My assumption that I'm doing something wrong (I've
> googled it and either not many people use system or nobody had the
> problem). SOS! Can you please provide working samples of both config
> files?
> 
> The system works (commit goes through) if I turn valid_bug_owner off
> (enabled => 0) in glue.conf
> 
> The system:
> 
> OS: Ubuntu 6.06 Desktop
> 
> SVN: 1.3.1-3ubuntu1
> 
> Bugzilla: 2.2-1
> 
> SCMBug: common, docs, server, tools - all of 0.8.22_all.deb
> 
> All components (except SCMBug) are "out of the box" with default
> configuration.
> 
> Thanks A LOT,
> 
>       Roman
> 
>  
> 
>  
> 
> 
_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to