Login | Register
My pages Projects Community openCollabNet

Discussions > Issues > WindowsError: [Error 6] The handle is invalid on WinXP

repoguard
Discussion topic

Back to topic list

WindowsError: [Error 6] The handle is invalid on WinXP

Author nefastus
Full name Alexander
Date 2012-04-06 00:39:15 PDT
Message Hello!

I get the following error with repoguard-0.2.0 on WinXP SP3 when trying to commit. Have only Checkstyle check configured. Here is the stacktrace:

---------------------
 Error: Commit failed (details follow):
Error: 'pre-commit' hook failed with error output:
Error: ERROR:repoguard.tool​s.checker:WindowsErr​or exception cause: ''
Error: Traceback (most recent call last):
Error: File "build\bdist.win32​egg\repoguard\too​ls\checker.py", line 122, in checker
Error: result = repoguard.run()
Error: File "build\bdist.win32​egg\repoguard\cor​e\checker.py", line 127, in run
Error: default = self._default_regex()
Error: File "build\bdist.win32​egg\repoguard\cor​e\checker.py", line 108, in _default_regex
Error: files = set(self.transaction​.get_files().keys())​
Error: File "build\bdist.win32​egg\repoguard\cor​e\transaction.py", line 106, in get_files
Error: output = self.__execute_svn("changed", split=True)
Error: File "build\bdist.win32​egg\repoguard\cor​e\transaction.py", line 62, in __execute_svn
Error: output = process.execute(command)
Error: File "build\bdist.win32​egg\repoguard\cor​e\process.py", line 72, in execute
Error: stderr=subprocess.STDOUT)
Error: File "C:\Python27\lib\​subprocess.py", line 672, in __init__
Error: errread, errwrite) = self._get_handles(stdin, stdout, stderr)
Error: File "C:\Python27\lib\​subprocess.py", line 774, in _get_handles
Error: p2cread = _subprocess.GetStdHa​ndle(_subprocess.STD​_INPUT_HANDLE)
Error: WindowsError: [Error 6] The handle is invalid
---------------------


Repoguard is configured the following way:
---------------------
vcs = svn

[profiles]
    [[default]]
        [[[precommit]]]
        default = delayonerror
        checks = Checkstyle.default,
        success = Console,
        error = Console,
        [[[postcommit]]]
        default = delayonerror
        checks = ,
        success = Console,
        error = Console,

[checks]
    [[Checkstyle]]
        [[[default]]]
        java= C:\Progra~1\Java\​jdk1.6.0\bin\java.​exe
        check_files = .*\.java,
        paths = D:\svn_repoguard\c​heckstyle\checkstyl​e-all-4.4.jar,
        config_file = D:\svn_repoguard\c​heckstyle\checkstyl​e_1.5.xml
---------------------

Any ideas on what could cause this?

Thank you and best regards,
Alex

« Previous message in topic | 1 of 3 | Next message in topic »

Messages

Show all messages in topic

WindowsError: [Error 6] The handle is invalid on WinXP nefastus Alexander 2012-04-06 00:39:15 PDT
     RE: WindowsError: [Error 6] The handle is invalid on WinXP nefastus Alexander 2012-04-13 02:05:33 PDT
         RE: WindowsError: [Error 6] The handle is invalid on WinXP jug302 Ajit 2013-04-25 00:16:39 PDT
Messages per page: