Hook script doesn't work

86 views
Skip to first unread message

Tomasz Semkiw

unread,
Mar 27, 2012, 3:46:18 AM3/27/12
to ReposStyle
Hello Gentlemen

I added hook script to post-commit svn.

During a commit I received below error:

[root@ctf611 branding]# /mnt/hgfs/shared_vmware/repos-search-1.1.2/
hook/svnhook.py
Traceback (most recent call last):
File "/mnt/hgfs/shared_vmware/repos-search-1.1.2/hook/svnhook.py",
line 57, in ?
from subprocess import check_call
ImportError: cannot import name check_call
[root@ctf611 branding]#


Can you help?

Many thanks for your time,
Tomek

Staffan

unread,
Mar 27, 2012, 1:40:17 PM3/27/12
to repos...@googlegroups.com
Hi,

Could it be that you're running a python version that we have not tested the scripts on? I believe they have been tested on python 2.5 to 2.7 but I could be mistaken.

/Staffan


--
You received this message because you are subscribed to the Google Groups "ReposStyle" group.
To post to this group, send email to repos...@googlegroups.com.
To unsubscribe from this group, send email to reposstyle+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/reposstyle?hl=en.


Tomasz Semkiw

unread,
Mar 28, 2012, 3:34:16 PM3/28/12
to repos...@googlegroups.com
Hello Staffan,

Yes, you are right.
I used a wrong python version.
I installed python2.6 and it works.

Thank you

2012/3/27 Staffan <sol...@gmail.com>



--
Pozdrawiam,
   Tomek

Reply all
Reply to author
Forward
0 new messages