Modify

Opened 13 years ago

Closed 9 years ago

#9581 closed defect (wontfix)

'Popen' object has no attribute 'terminate'

Reported by: marc.cuculiere@… 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 anonymous

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.

comment:2 Changed 13 years ago by sjtoik

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:3 Changed 13 years ago by Nathan Lewis

See #9560. Same error.

comment:4 Changed 9 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

GitPlugin is deprecated. Please upgrade to Trac 1.0 and use TracGit.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Herbert Valerio Riedel.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.