Can you give more details please? like:
*  what configurations do you have in trac.ini?
* what configurations dou you have in /etc/svnpolicies/svnpolicies.conf
* do you have svnlook and svnnotify installed?
* if you use the email notification on commit,  do you have the trac
smtp settings configured?
* if you use the trac commands did you specified the path to the
trac-post-commit-hook ?
* the svn server runs under the same user as the trac was installed?
the svn hook tries to open the trac environment and if it hasn't
rights then you have problems

here are the settings that we use
trac.ini
.....
[svnpolicies]
#general settings
author_url_template = https://oforge.com/user/%s
change_url_template = https://oforge.com/trac/%s/changeset/%s
domain = oforge.com
email.diff_limit = 5000
svnlook = /usr/bin/svnlook
svnnotify = /usr/bin/svnnotify
# hook script that you can find in the
trac_post_hook = /usr/local/bin/trac-post-commit-hook
#enabled hooks
allow_revprop_changes.enabled = true
commands.enabled = true
email.enabled = true
email.list = [EMAIL PROTECTED]
email.prefix = [oforge]
email_from_address = [EMAIL PROTECTED]
email_from_enabled = true
email_subject_cx = true
log_message.minimum = 10
log_message.pattern = .*word$
svn_property.enabled = true
svnpolicies_enabled = true
.....


and
/etc/svnpolicies/svnpolicies.conf

[paths]
python_path = /usr/local/lib/python2.4/site-packages
trac_base_dir = /var/www/oforge/trac

On Wed, May 21, 2008 at 10:36 PM, Pablo Fabregat
<[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I managed to get this plugin installed and it throws no errors... but when i 
> do a commit, whatever policy i put, nothing happens, it just commits, and i 
> can tell that the hook's being executed (it's in /usr/bin/svn-hook) because i 
> edited that script to throw an error and, it does...
>
> i'm almost done with this! :O
>
> any ideas ?
> thanks in advance!
>
>
> --
> Pablo Fabregat
> http://www.pablofabregat.com.ar
> >

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to