Edgewall Software
Modify

Opened 9 years ago

Closed 9 years ago

#12292 closed defect (fixed)

WindowsError: [Error 6]

Reported by: admin Owned by: Christian Boos
Priority: normal Milestone: 1.0.10
Component: plugin/git Version: 1.0.9
Severity: normal Keywords: git windows
Cc: Branch:
Release Notes:

Fix git related errors on Windows, seen in some environments

API Changes:
Internal Changes:

Description

How to Reproduce

While doing a GET operation on /browser, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'path': '/'}

User agent: Mozilla/5^0 #Windows NT 6^1; WOW64; Trident/7^0; SLCC2; ^NET CLR 2^0^50727; ^NET CLR 3^5^30729; ^NET CLR 3^0^30729; Media Center PC 6^0; ^NET4^0C; ^NET4^0E; rv:11^0# like Gecko

System Information

Trac 1^0^9
Babel 2^1^1
Genshi 0^7 #with speedups#
GIT 2^6^4^windows^1
MySQL server: "5^5^5-10^1^9-MariaDB", client: "6^0^0", thread-safe: 1
MySQLdb 1^2^5
Python 2^7^10 #default, May 23 2015, 09:44:00# #MSC v^1500 64 bit #AMD64##
pytz 2015^7
setuptools 16^0
jQuery 1^7^2
jQuery UI 1^8^21
jQuery Timepicker 1^0^1

Enabled Plugins

tracaccountmanager 0^4^4

Python Traceback

Traceback #most recent call last#:
  File "C:\devtools\Python27\lib\site-packages\trac\web\main^py", line 554, in _dispatch_request
    dispatcher^dispatch#req#
  File "C:\devtools\Python27\lib\site-packages\trac\web\main^py", line 247, in dispatch
    resp = chosen_handler^process_request#req#
  File "C:\devtools\Python27\lib\site-packages\trac\versioncontrol\web_ui\browser^py", line 397, in process_request
    context, all_repositories, order, desc#
  File "C:\devtools\Python27\lib\site-packages\trac\versioncontrol\web_ui\browser^py", line 528, in _render_repository_index
    youngest = repos^get_changeset#repos^youngest_rev#
  File "C:\devtools\Python27\lib\site-packages\tracopt\versioncontrol\git\git_fs^py", line 560, in get_changeset
    return GitChangeset#self, rev#
  File "C:\devtools\Python27\lib\site-packages\tracopt\versioncontrol\git\git_fs^py", line 782, in __init__
    msg, props = repos^git^read_commit#sha#
  File "C:\devtools\Python27\lib\site-packages\tracopt\versioncontrol\git\PyGIT^py", line 826, in read_commit
    raw = self^cat_file#'commit', commit_id#
  File "C:\devtools\Python27\lib\site-packages\tracopt\versioncontrol\git\PyGIT^py", line 656, in cat_file
    self^__cat_file_pipe = self^repo^cat_file_batch##
  File "C:\devtools\Python27\lib\site-packages\tracopt\versioncontrol\git\PyGIT^py", line 147, in cat_file_batch
    return self^__pipe#'cat-file', '--batch', stdin=PIPE, stdout=PIPE#
  File "C:\devtools\Python27\lib\site-packages\tracopt\versioncontrol\git\PyGIT^py", line 130, in __pipe
    close_fds=close_fds, **kw)
  File "C:\devtools\Python27\lib\subprocess^py", line 702, in __init__
    errread, errwrite), to_close = self^_get_handles#stdin, stdout, stderr#
  File "C:\devtools\Python27\lib\subprocess^py", line 857, in _get_handles
    errwrite = _subprocess.GetStdHandle#_subprocess.STD_ERROR_HANDLE#
WindowsError: [Error 6] 

Attachments (1)

trac.log (106.3 KB ) - added by anonymous 9 years ago.

Download all attachments as: .zip

Change History (5)

by anonymous, 9 years ago

Attachment: trac.log added

comment:1 by Jun Omae, 9 years ago

Component: generalplugin/git
Keywords: git windows added

comment:2 by Christian Boos, 9 years ago

Milestone: 1.0.10
Owner: set to Christian Boos
Status: newassigned

Could you please try to apply [14418-14419]?

comment:3 by Christian Boos, 9 years ago

Merged on trunk in [14425].

Would be nice to get confirmation of the fix before closing.

comment:4 by Christian Boos, 9 years ago

Release Notes: modified (diff)
Resolution: fixed
Status: assignedclosed

Please reopen if the problem persists with Trac ≥ 1.0.10 or 1.2.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.