Hi Itamar,

You are right, the post-commit hook that svn calls was giving wrong
(old) Trac Environment path to the trac-post-commit-hook script. I
forgot to update the hook script.

Thanks for your quick response.
-C

On Apr 23, 11:16 am, Itamar O <[email protected]> wrote:
> Is "/users/svn/trac_project/" the path to the old name or the new name?
> I'm guessing it is the old one, which means you haven't updated your SVN
> hook script.
> According to the traceback the post commit hook is in
> /users/svn/jeod/hooks/trac-post-commit-hook,
> but it is possible that the actual name is configured in another file that
> is referred to be that script.
>
> Itamar O.
>
>
>
> On Fri, Apr 23, 2010 at 6:05 PM, Chetan <[email protected]> wrote:
> > Warning: post-commit hook failed (exit code 1) with output:
> > Traceback (most recent call last):
> >  File "/users/svn/jeod/hooks/trac-post-commit-hook", line 209, in ?
> >    CommitHook()
> >  File "/users/svn/jeod/hooks/trac-post-commit-hook", line 143, in
> > __init__
> >    self.env = open_environment(project)
> >  File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/
> > env.py", line 571, in open_environment
> >    env = Environment(env_path)
> >  File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/
> > env.py", line 190, in __init__
> >    self.verify()
> >  File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/
> > env.py", line 249, in verify
> >    fd = open(os.path.join(self.path, 'VERSION'), 'r')
> > IOError: [Errno 2] No such file or directory: '/users/svn/trac_project/
> > VERSION'
>
> > I do know by just renaming previous trac project to another, I have to
> > change many places to correct name, like in the apache configuration
> > files, and trac.ini. I have done all that. The problem is how do i re-
> > initialize trac environment path to new name?
>
> > --
> > 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]<trac-users%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/trac-users?hl=en.
>
> --
> 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 
> athttp://groups.google.com/group/trac-users?hl=en.

-- 
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