Modify ↓
Opened 13 years ago
Closed 9 years ago
#9581 closed defect (wontfix)
'Popen' object has no attribute 'terminate'
Reported by: | Owned by: | Herbert Valerio Riedel | |
---|---|---|---|
Priority: | normal | Component: | GitPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
Here is the traceback after the install of Dev version and patch on Ticket #9560 :
File "build/bdist.linux-i686/egg/trac/web/main.py", line 511, in _dispatch_request dispatcher.dispatch(req) File "build/bdist.linux-i686/egg/trac/web/main.py", line 237, in dispatch resp = chosen_handler.process_request(req) File "build/bdist.linux-i686/egg/trac/versioncontrol/web_ui/browser.py", line 390, in process_request dir_data = self._render_dir(req, repos, node, rev, order, desc) File "build/bdist.linux-i686/egg/trac/versioncontrol/web_ui/browser.py", line 549, in _render_dir entries = [entry(n) for n in node.get_entries() File "build/bdist.linux-i686/egg/tracext/git/git_fs.py", line 546, in get_entries yield GitNode(self.repos, ent[-1], self.rev, self.log, ent, historian) File "/usr/lib/python2.5/contextlib.py", line 22, in __exit__ self.gen.next() File "build/bdist.linux-i686/egg/tracext/git/PyGIT.py", line 760, in get_historian p[0].terminate()
Attachments (0)
Change History (4)
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
popen.terminate have been introduced in python 2.6 and at least master branch uses this command and requires only python version 2.5 or newer. Version requirements should be changed.
comment:4 Changed 9 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
GitPlugin is deprecated. Please upgrade to Trac 1.0 and use TracGit.
Note: See
TracTickets for help on using
tickets.
I found the easiest way to make the plugin work without problems was to install a copy of Python 2.7. It solves all the problems I've had so far.
Fortunately multiple copies of Python work nicely together.