Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 25841

Summary: ViewCVS outputs a traceback when attemping to highlight a .py file
Product: Websites Reporter: Jason A. Mobarak (RETIRED) <aether>
Component: [OLD] CVS repositoryAssignee: Docs Team <docs-team>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.gentoo.org/cgi-bin/viewcvs.cgi/aether/config_class.py?rev=1.8&cvsroot=gentoo-src&content-type=text/vnd.viewcvs-markup
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: highlighting and many other minor fixes

Description Jason A. Mobarak (RETIRED) gentoo-dev 2003-08-03 17:47:02 UTC
When trying to view my projects via ViewCVS the the "view" option produces a
traceback such as this one:

Python Exception Occurred

Traceback (most recent call last):
  File "/home/httpd/viewcvs/lib/viewcvs.py", line 2625, in run_cgi
    main()
  File "/home/httpd/viewcvs/lib/viewcvs.py", line 2589, in main
    view_checkout(request)
  File "/home/httpd/viewcvs/lib/viewcvs.py", line 1914, in view_checkout
    markup_stream(request, fp, revision, request.mime_type)
  File "/home/httpd/viewcvs/lib/viewcvs.py", line 662, in markup_stream
    markup_stream_enscript(lang, fp)
  File "/home/httpd/viewcvs/lib/viewcvs.py", line 501, in markup_stream_enscript
    enscript.close()
  File "/home/httpd/viewcvs/lib/popen.py", line 180, in close
    self.file.close()
IOError: [Errno 32] Broken pipe

This happens on every revision entry in cvs.

Reproducible: Always
Steps to Reproduce:
1. Go to the "aether" module in viewcvs
2. Select view for any revision

Actual Results:  
A python traceback is spit out at me.

Expected Results:  
Highlighted the revision.
Comment 1 Jason A. Mobarak (RETIRED) gentoo-dev 2003-08-03 17:48:54 UTC
A

*** This bug has been marked as a duplicate of 25837 ***
Comment 2 Axxackall 2003-08-11 11:52:28 UTC
Created attachment 15916 [details]
highlighting and many other minor fixes