Opened 8 years ago

#1825 new defect

Cannot execute on Windows

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


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\
2007-07-19 13:17:12,523 Trac[loader] ERROR: Failed to load plugin from c:\library\trac\evaluations\plugins\
Traceback (most recent call last):
  File "C:\library\Python24\Lib\site-packages\trac\", line 52, in load_components
    module = imp.load_source(plugin_name, plugin_file)
  File "c:\library\trac\evaluations\plugins\", 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 (0)

Add Comment

Modify Ticket

as new The owner will remain arkemp.

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

Note: See TracTickets for help on using tickets.