[viewvc-users] sys.stdout access restricted by mod_wsgi

Christer Solskogen <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Message-ID <[email protected]>
Hi!

I'm using viewvc with mod_wsgi, and when I use "Diff to previous ..."
I get this error:

An Exception Has Occurred

Python Traceback

Traceback (most recent call last):
  File "/usr/local/viewvc/lib/viewvc.py", line 4463, in main
    request.run_viewvc()
  File "/usr/local/viewvc/lib/viewvc.py", line 394, in run_viewvc
    self.view_func(self)
  File "/usr/local/viewvc/lib/viewvc.py", line 3240, in view_diff
    fp = request.repos.rawdiff(p1, rev1, p2, rev2, diff_type, diff_options)
  File "/usr/local/viewvc/lib/vclib/svn/svn_repos.py", line 563, in rawdiff
    return vclib._diff_fp(temp1, temp2, info1, info2, self.diff_cmd, args)
  File "/usr/local/viewvc/lib/vclib/__init__.py", line 373, in __init__
    self.fp = popen.popen(diff_cmd, args, "r")
  File "/usr/local/viewvc/lib/popen.py", line 79, in popen
    sys.stdout.flush()
IOError: sys.stdout access restricted by mod_wsgi


Is there a workaround for this except not using mod_wsgi?

(please reply to all, I'm not subscribing on the list)

-- 
chs,

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2763565

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.