Modify

Opened 10 years ago

Closed 20 months ago

#1825 closed defect (wontfix)

Cannot execute on Windows

Reported by: jfeid@… Owned by: arkemp
Priority: normal Component: DiaViewPlugin
Severity: blocker Keywords: windows
Cc: Trac Release: 0.10

Description

Attempting to run DiaView macro on the following configuration:

  • Apache/2.2.4 (Win32) mod_python/3.3.1 Python/2.4.4
  • Trac 0.10.4

fails with syntax error. Trac log:

2007-07-19 13:17:12,523 Trac[loader] DEBUG: Loading file plugin DiaView from c:\library\trac\evaluations\plugins\DiaView.py
2007-07-19 13:17:12,523 Trac[loader] ERROR: Failed to load plugin from c:\library\trac\evaluations\plugins\DiaView.py
Traceback (most recent call last):
  File "C:\library\Python24\Lib\site-packages\trac\loader.py", line 52, in load_components
    module = imp.load_source(plugin_name, plugin_file)
  File "c:\library\trac\evaluations\plugins\DiaView.py", line 138
     f = popen2.Popen4(diacmd)
     ^
 SyntaxError: invalid syntax

According to Python 2.4 documentation (section 6.9 popen2):
" ... The only way to retrieve the return codes for the child processes is by using the poll() or wait() methods on the Popen3 and Popen4 classes; these are only available on Unix. ... "

Attachments (0)

Change History (1)

comment:1 Changed 20 months ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

DiaViewPlugin is deprecated. Please use DiaVisViewPlugin instead.

Modify Ticket

Action
as closed The owner will remain arkemp.
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.