Modify

Opened 3 years ago

Last modified 2 years ago

#9581 new defect

'Popen' object has no attribute 'terminate'

Reported by: marc.cuculiere@… Owned by: hvr
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 (3)

comment:1 Changed 3 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 3 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 3 years ago by natewlew

See #9560. Same error.

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.