[EMAIL PROTECTED] wrote:
>> -----Original Message-----
>> From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of 
>> Robert C Corsaro
>> Sent: 2008. augusztus 21. 20:04
>> To: [email protected]
>> Subject: [Trac] Re: Using tracsvnpoliciesplugin 0.2
>>
>>
>> [EMAIL PROTECTED] wrote:
>>> Hi all,
>>>
>>>  
>>>
>>>
>>> I try to use tracsvnpoliciesplugin 0.2. Installation is done, permission > 
>>> is given. 
>>>
>>>
>>> After going to SVN policies under Admininstration/General, 
>>>
>>>
>>> I enable Policies enabled and Disable commits? 
>>>
>>>
>>> I got the message: 
>>>
>>>
>>> The changes have been saved.
>>>
>>>
>>> The pre commit file couldn't be generated
>>>
>>>
>>> And finally I can commit changes also...
>>  > 
>>> Do you have any idea how to fix this?
>>>
>>>
>>
>> For some reason, the hook symlink couldn't be generated.  Are you on a 
>> unix OS?  Also, be sure to run:
>> python setup.py install_data
>>
>> This installs the script file that gets symlinked.  Make sure that 
>> svn-hook script is in $prefix/bin.  If you just did python setup.py, 
>> that will be /usr/bin.  The apache user needs permission to make a file 
>> in the $repo/hooks directory too.  If there is already a hook there 
>> ($repo/hooks/pre-commit), then that will also cause it to fail.
>>
>>
> I am under WinXP, and there is no valid hook script in ($repo/hooks/). Do I 
> have to run 
> python setup.py install_data
> ?
> It exits with error: 
> TypeError: 'NoneType' object is not iterable
> 
> 
> I have some log message, that says the same: (unsuccesfull symlink generation)
> 
> 2008-08-22 08:16:17,615 Trac[admin] ERROR: Traceback (most recent call last):
>   File "build\bdist.win32\egg\svnpolicies\admin.py", line 597, in 
> _create_hook_links
>     os.symlink(generic_script, trac_env_path + os.path.sep + link_name)
> AttributeError: 'module' object has no attribute 'symlink'
> 
> 2008-08-22 08:16:17,615 Trac[admin] ERROR: 'module' object has no attribute 
> 'symlink'
> 

It won't work on Windows.  I don't have any windows boxes.  Patches welcome.

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