Thank you! Sorry I deleted previous post since I found out that I used pre-commit-hook for post commit and some questiosn are resolved. I don't think any white spaces in my path. I installed trac 2 weeks ago, and was not sure about where is my trac_path and trac_env, I am think the variables I set in trac-post-commit-hook.cmd might be wrong. Here are some trac information of my installation and foollowed instruction on http://trac.edgewall.org/wiki/CookBook/Installation/TracOnWindowsWithAccountManager : C:\trac C:\Phyton26 C:\Python26\Scripts C:\src\ C:\src\genshi C:\src\trac C:\src\xmlrpcplug C:\src\spam-filter my repository localtion is on E drive E:\myrepository
** I am sorry I don't know how to resolve the white space or DB AFAICr issue. I did n;t see any space in my path. Here is my trac-post-command-hook.cmd, can you help me if some path I set is wrong? @ECHO OFF SET TRAC_ENV=C:\trac :: -- set if Python is not in the system path SET PYTHON_PATH=C:\Python26 :: -- set to the folder containing trac/ if installed in a non-standard location :: I don't know what should put here, I tried C:\trac SET TRAC_PATH= IF NOT EXIST %TRAC_ENV% GOTO :EOF set PATH=%PYTHON_PATH%;%PATH% set PYTHONPATH=%TRAC_PATH%;%PYTHONPATH% SET REV=%2 Python "%~dp0\trac-post-commit-hook" -p "%TRAC_ENV%" -r "%REV%" 2>&1 1>>c:/temp/trachook.log Thank you very much! I really appriecte your kind help. Lynda On Thu, Jan 7, 2010 at 11:48 AM, Olemis Lang <[email protected]> wrote: > On Thu, Jan 7, 2010 at 2:44 PM, Olemis Lang <[email protected]> wrote: > > On Thu, Jan 7, 2010 at 2:30 PM, lynda <[email protected]> wrote: > >> I can run trac-post-commit-hook by go to hooks directory, run command > >> like: Python trac-post-commit-hook -p C:/trac -r 83 , it updates my > >> ticket. However, it does not update my tickets if I use TSVN commit. > >> I > >> am using windows server 2008, trac with mod_wsgi using apache as > >> server. My trac version is 0.11.6, the trac-post-commit-hook copy is > >> for 0.11.6 also. I have been reasearching the issue, but cannot find > >> any help on it. > >> Any help, ideas and suggestions will be greatly appreciated. > >> > > > > Whitespaces in any path ? If so I used quotes once upon a time and > > worked ... with the plugin @ Trac-hacks . It was > > > > Who unplugged the netwaork cable ????!!!! > XD > > Well , continue ... > > It was a combination of whitespaces, absolute path, and a weird issue > with the DB AFAICR that I don't remember right now ... > > PS: I couldn't follow your previous posts ... Where are the scripts and so > on ? > > -- > Regards, > > Olemis. > > Blog ES: http://simelo-es.blogspot.com/ > Blog EN: http://simelo-en.blogspot.com/ > > Featured article: > #6396: Method `ticket.getActions` in `1.0.6` does not display actions > like in ticket UI - http://trac-hacks.org/ticket/6396 > > -- > 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 at http://groups.google.com/group/trac-users?hl=en.
